On October 19 and 20, 2025, a large part of AWS us-east-1 stopped working for about 14 and a half hours. It was not an attack or a hardware failure. The cause was a race condition in the automation that manages DNS records for Amazon DynamoDB.
What a race condition is
A race condition happens when two processes work on the same thing at the same time, and the result depends on which one gets there first. It usually works fine until the timing goes wrong.
How DynamoDB's DNS automation works
DynamoDB's regional endpoint relies on DNS, and that DNS is managed by two kinds of components:
- A DNS Planner, which creates new plans for the DNS records
- DNS Enactors, which apply those plans independently
Having several Enactors is a deliberate design choice for fault tolerance.
What went wrong
Right before the event, one Enactor ran into unusually high delays while retrying its updates. While it was stuck, newer plans were created and applied by another Enactor. When the delayed Enactor finally finished, it applied its old plan over the newer one, because the check that the plan was current had happened earlier and was no longer true. A cleanup process then deleted that old plan.
The result was an empty DNS record for dynamodb.us-east-1.amazonaws.com, and the automation could not repair it on its own.
The chain reaction
- DynamoDB API errors ran from 11:48 PM PDT on October 19 to 2:40 AM PDT on October 20. During that time, customers and AWS services that depend on DynamoDB could not open new connections to it.
- EC2 instance launches and Network Load Balancers were affected afterward.
- Full recovery came at 2:20 PM PDT on October 20.
Engineers identified DynamoDB's DNS state as the source by 12:38 AM, and the DynamoDB part itself was fixed in under three hours. The recovery of the other services took the rest of the day.
What AWS changed
AWS disabled the DynamoDB DNS Planner and Enactor automation worldwide until it fixed the race condition and added protections. Customers using DynamoDB global tables could still reach replicas in other regions, though replication to and from us-east-1 lagged.
Compared with the 2017 S3 outage
Both outages happened in us-east-1. In 2017 a person entered an incorrect input. In 2025 the automation made the mistake by itself. The causes were different, but the pattern was the same: a small trigger with a very large reach.
What stuck with me
A check that is true when a job starts can be false by the time the job finishes. That applies to any code that checks something and then acts on it. The outage also showed how many services quietly depend on one another, and that something as plain as a DNS record can sit underneath all of them.
When you design something, do you think about the dependencies you cannot see?
Loading article