← All incidents
Incident dossier · Rank #7 · magnitude 8.6

AWS US-EAST-1 DynamoDB DNS Race Condition Cascades Across the Internet

Amazon Web Services 2025-10-20 14h 32m to substantial restoration SoftwareNetwork

Summary

A latent race condition in DynamoDB's automated DNS management system left two DNS Enactor processes racing in the us-east-1 region. An unusually delayed Enactor applied an old plan that overwrote a newer one, and a second Enactor's cleanup automation then deleted the plan as stale — instantly removing every IP address for the DynamoDB regional endpoint and leaving clients unable to resolve the service. Because core AWS control planes depend on DynamoDB, the fault cascaded: EC2's DropletWorkflow Manager fell into congestive collapse (insufficient-capacity launch failures), and NLB health-checks began flapping as new instances were brought into service before their network state propagated. DynamoDB DNS was manually corrected by 2:25 AM PDT, but full recovery of dependent services did not complete until 2:20 PM PDT on October 20, 2025 — roughly 14.5 hours after onset. Downdetector logged millions of reports across more than a thousand consumer and enterprise services.

Users affected
Millions of end users across 1,000+ downstream internet services; press estimates of affected businesses range ~1,000-2,500 companies (secondary, unreconciled). AWS disclosed no official customer count.
Duration
14h 32m — DynamoDB endpoint IPs deleted 23:48 PDT 19 Oct → event concluded ~14:20 PDT 20 Oct
Financial
No official AWS figure. Analyst/press estimates: >US$1B to the global economy, with one industry CEO suggesting the true toll could reach hundreds of billions in lost productivity (Catchpoint, via CNN) — estimates, not measured.
Scope
Sev-1 / Large-scale multi-service regional disruption
Site
US-EAST-1 (Northern Virginia) · Ashburn, United States, us-east-1
Services down
Amazon DynamoDB, Amazon EC2, Amazon ECS, Amazon EKS, AWS Fargate, Amazon Connect, AWS STS, AWS IAM, Amazon Redshift, Network Load Balancer (NLB)

How the defences failed

How the defences failed — AWS7 failure modes in the order the sequence of events first shows them, 0 latent conditions with no moment in the record, ending in the outcome: DynamoDB DNS empty · EC2 14 h.ACTIVE — IN THE ORDER THE RECORD SHOWS THEMFM-01 · RPN 288Stale plan overwrites DNSS9 · O4 · D8FM-03 · RPN 243DynamoDB is base dependencyS9 · O3 · D9FM-02 · RPN 432No DNS self-repairS8 · O6 · D9FM-04 · RPN 384DWFM lease recovery collapseS8 · O6 · D8FM-07 · RPN 192Network state backlogS6 · O4 · D8FM-06 · RPN 224NLB failover removes capacityS7 · O4 · D8FM-05 · RPN 441No DWFM recovery procedureS7 · O7 · D9OUTCOMEDynamoDB DNS empty · EC2 14 hLEGENDHigh priorityHigh priority, no published actionMedium or low priority, no published actionMedium or low priorityNext failure in the record
How the defences failed — AWS7 failure modes in the order the sequence of events first shows them, 0 latent conditions with no moment in the record, ending in the outcome: DynamoDB DNS empty · EC2 14 h.ACTIVE — RECORD ORDERFM-01 · RPN 288Stale plan overwrites DNSS9 · O4 · D8FM-03 · RPN 243DynamoDB is base dependencyS9 · O3 · D9FM-02 · RPN 432No DNS self-repairS8 · O6 · D9FM-04 · RPN 384DWFM lease recovery collapseS8 · O6 · D8FM-07 · RPN 192Network state backlogS6 · O4 · D8FM-06 · RPN 224NLB failover removes capacityS7 · O4 · D8FM-05 · RPN 441No DWFM recovery procedureS7 · O7 · D9OUTCOMEDynamoDB DNS empty · EC2 14 hLEGENDHigh priorityHigh priority, no published actionMedium or low priority, no published actionMedium or low priorityNext failure in the record
Every failure mode of the FMEA below. Active modes run in the order the sequence of events first shows them — record order, not a proof of cause; latent modes were in place before the event. Red outline: high priority. Dashed: no published corrective action.
Magnitude sub-scores (0–10)Magnitude sub-scores (0–10)Users 9Users affected (0–10) — breadth of the user/customer population impacted. — scored 9/10.Financial 8Financial impact (0–10) — direct + consequential cost. — scored 8/10.Duration 6Outage duration (0–10), from the measured duration by fixed bands: <1 h 3 · 1–4 h 4 · 4–12 h 5 · 12–24 h 6 · 1–3 d 7 · 3–7 d 8 · 7–30 d 9 · >30 d 10; no customer downtime 1. — scored 6/10.Blast 10Blast radius (0–10) — how wide the fault propagated across systems/regions. — scored 10/10.
Magnitude 8.6 = blast 10×0.35 + users 9×0.25 + financial 8×0.20 + duration 6×0.20 (sub-scores 0–10 · weighted composite)

Blast radius maximal: a single region's DNS fault for one foundational service (DynamoDB) propagated through EC2 and NLB control planes into 1,000+ downstream internet services worldwide. Duration substantial (~14.5h to full recovery) though the root DNS fault was corrected within ~2.6h. User and financial scores reflect millions of Downdetector reports and >$1B press-estimated economic impact, tempered because AWS disclosed no official user or dollar figures.

All 13 impact metrics
Onset2025-10-19 23:48 PDT (06:48 UTC Oct 20)
DynamoDB DNS restored2025-10-20 02:25 PDT
Event end / full recovery2025-10-20 14:20 PDT
Total event duration~14.5 hours (872 min)
DynamoDB API error window (derived)~2h52m (11:48 PM-2:40 AM PDT)
EC2 launch-failure window (derived)~14h (11:48 PM-1:50 PM PDT)
NLB connection-error window (derived)~8h39m (5:30 AM-2:09 PM PDT)
Downstream services affected1,000+ services (Downdetector-tracked)
Internal AWS services affected (press)64 (secondary paraphrase; not an AWS-stated count)
Snapchat Downdetector peak>22,000 reports
Aggregate Downdetector volume (secondary, unreconciled)~4M within 2h; ~6.5M worldwide
Affected businesses (secondary, unreconciled)~1,000-2,500 companies (vs CyberCube ~70,000 orgs)
Estimated economic impact (analyst/press)>US$1B global; up to hundreds of billions (Catchpoint est.)

Sequence of events

  1. TRIGGER Latent race condition dormant in the DynamoDB DNS management system: a point-in-time staleness check plus unsynchronised Planner/Enactor cleanup, waiting on a rare delay-timing interleaving.
  2. TRIGGER One DNS Enactor hits unusually high delays applying endpoint updates; the Planner emits many newer plan generations; a second Enactor applies the newest plan and starts cleanup, and the delayed Enactor then overwrites the regional endpoint with its stale plan (time approximate, just before the 11:48 PM error onset).
  3. IMPACT Cleanup deletes the stale plan; all IPs for the DynamoDB US-EAST-1 regional endpoint are removed. DynamoDB API errors begin; customers cannot establish new connections. EC2 DWFM state checks (DynamoDB-dependent) begin failing.
  4. CASCADE Beginning at 12:11 AM PDT customers experienced increased error rates and latencies across multiple AWS services in US-EAST-1 as the foundational dependency propagated.
  5. DETECTION Engineers identify DynamoDB's DNS state as the source of the outage, roughly 50 minutes after onset.Operations lead
  6. MITIGATION No automated self-repair activates: the empty/inconsistent record 'prevented subsequent plan updates from being applied by any DNS Enactors,' so recovery must be fully manual.
  7. MITIGATION Temporary mitigations enable internal services to reconnect and recovery tooling to run; operators begin manual reconstruction of the DNS state.Operations lead
  8. CASCADE EC2 droplet leases time out as DWFM remains unable to reach DynamoDB.
  9. RECOVERY All DNS information restored; DynamoDB endpoints begin resolving. DWFM immediately enters congestive collapse attempting mass lease re-establishment.
  10. RECOVERY All DynamoDB global-tables replicas fully caught up.
  11. RECOVERY Customer endpoint resolution completes as cached empty DNS records expire from resolver caches; DynamoDB recovery complete at 2:40 AM.
  12. MITIGATION Engineers throttle incoming EC2 work and selectively restart DWFM hosts to break congestive collapse and clear queues.Operations lead
  13. RECOVERY EC2 droplet leases re-established; Network Manager begins working through a large network-state propagation backlog.
  14. MITIGATION Engineers disable NLB automatic health-check failovers to stop capacity being repeatedly removed by flapping instances, keeping healthy capacity online.Operations lead
  15. RECOVERY New EC2 instance connectivity restored as the network-state propagation backlog drains.
  16. RECOVERY EC2 incoming-work throttles fully removed; full EC2 recovery achieved as DWFM stabilises.
  17. RESTORED NLB automatic health-check failovers re-enabled after EC2 stabilises; overall event concluded ~2:20 PM. AWS separately disables the DynamoDB DNS Planner and Enactor automation worldwide pending fixes.Change owner

Response by role

7 roles/5 recorded actions/40 playbook actions across 7 failure modes/no recorded action: First responder, Incident commander, Service recovery lead, Communications lead, Customer

What each role did

Roles the sequence of events shows acting; every entry quotes its source line. Select a time to jump to it.

Role
Detect
Contain
Recover
Operations leadAWS DynamoDB, EC2 and NLB engineers — not individually named
  • Start rebuilding the endpoint DNS by hand at 01:15 after temporary mitigations; complete at 02:25
  • Throttle incoming EC2 work and restart DWFM hosts at 04:14 to break the congestive collapse
  • Disable NLB automatic failover at 09:36 so flapping instances stop removing capacity
no record
Change ownerAWS DynamoDB DNS team owning the Planner and Enactor automation
no record
no record

Role by role

Recorded actions / playbook actions per role. A role with 0 recorded actions does not appear in the sources.

AWS on-call engineers — the record gives no individual or alarm that first paged them — Meets the first alarm: on-shift technician or security in a facility, on-call engineer in a service.

On the record

No action by this role appears in the sources.

Playbook analyst guidance by failure mode, not a record of what happened

Detect
  • FM-05Page the EC2 DWFM team on lease timeouts and tell them the runbook is untestedSRE incident mgmt
  • FM-02Alarm when the Planner's active plan is missing or Enactors report they cannot apply any planSRE incident mgmt
  • FM-04Alarm on DWFM lease queue depth and timeouts as DynamoDB access returnsSRE incident mgmt
  • FM-01Alarm on Enactor apply latency far above normal and on any regional endpoint with zero IPsSRE incident mgmt
  • FM-03Watch EC2 DWFM state-check failures as a first sign of a DynamoDB endpoint faultSRE incident mgmt
  • FM-06Alarm on NLB targets flapping between healthy and unhealthy as new instances come upSRE incident mgmt
  • FM-07Watch Network Manager propagation backlog and new-instance connectivity as DWFM leases returnSRE incident mgmt

No incident commander is named in the record — Owns every decision until formally relieved: site duty manager on scene, or the declared IC of a service incident.

On the record

No action by this role appears in the sources.

Playbook analyst guidance by failure mode, not a record of what happened

Contain
  • FM-02Declare manual recovery and assign one owner for DNS reconstruction, with a second to review itSRE incident mgmt
  • FM-04Keep launches throttled until the lease queue is below the limitSRE incident mgmt
  • FM-01Name the DNS state as the first suspect when DynamoDB clients cannot connect, and put the DNS team on the bridgeSRE incident mgmt
  • FM-03Pull EC2, NLB and other dependent service owners onto the bridge as errors spreadSRE incident mgmt
  • FM-06Decide when to re-enable failover only after EC2 is stableSRE incident mgmt
  • FM-07Keep NLB failover off while new instances have no connectivitySRE incident mgmt

AWS DynamoDB, EC2 and NLB engineers — not individually named — Technical lead who diagnoses and drives the fix; the subject-matter expert at the keyboard or the switchboard.

On the record

  1. Identify DynamoDB's DNS state as the source at 00:38, about 50 minutes after onsetEngineers identify DynamoDB's DNS state as the source of the outage
  2. Start rebuilding the endpoint DNS by hand at 01:15 after temporary mitigations; complete at 02:25operators begin manual reconstruction of the DNS state
  3. Throttle incoming EC2 work and restart DWFM hosts at 04:14 to break the congestive collapseEngineers throttle incoming EC2 work and selectively restart DWFM hosts
  4. Disable NLB automatic failover at 09:36 so flapping instances stop removing capacityEngineers disable NLB automatic health-check failovers

Playbook analyst guidance by failure mode, not a record of what happened

Contain
  • FM-05Break the collapse by throttling work and restarting hosts in small batches, checking each batchSRE incident mgmtLesson #4
  • FM-02Rebuild the DNS state by hand and use temporary mitigations so internal services reconnect firstSRE incident mgmt
  • FM-04Throttle incoming EC2 work and restart DWFM hosts selectively to clear the queueSRE incident mgmt
  • FM-01Stop the Enactors applying plans once an empty endpoint record is seen, before cleanup deletes moreChange managementCorrection of errors #2
  • FM-03Enable temporary mitigations that let internal services reconnect to DynamoDBSRE incident mgmt
  • FM-06Disable automatic health-check failover and keep the healthy capacity in serviceChange management
  • FM-07Hold incoming EC2 work until the propagation backlog drainsSRE incident mgmt

AWS DynamoDB DNS team owning the Planner and Enactor automation — Authored or approved the change, deployment or configuration push that started the event.

On the record

  1. Disable the DNS Planner and Enactor worldwide after the event, pending fixesAWS separately disables the DynamoDB DNS Planner and Enactor automation worldwide pending fixes.

Playbook analyst guidance by failure mode, not a record of what happened

Prevent
  • FM-05Write and test a DWFM congestive-collapse recovery runbookImprovement #4
  • FM-05Add an EC2 test suite that exercises the DWFM recovery workflowCorrection of errors #4
  • FM-02Build a guard so an empty or inconsistent endpoint record cannot persist and block every Enactor updateImprovement #3
  • FM-04Rate-limit incoming EC2 work by waiting-queue depth so lease recovery cannot collapseCorrection of errors #5
  • FM-01Re-check plan freshness at apply time with compare-and-swap against the live record, not only at the startCorrection of errors #1
  • FM-01Serialise Enactor writes and cleanup so one Enactor cannot delete a plan another is applyingLesson #2
  • FM-03List every in-region service that hard-depends on the DynamoDB endpoint and give each a degraded modeLesson #6
  • FM-06Add a velocity control that limits capacity removed in one health-check AZ failoverCorrection of errors #3
  • FM-07Size Network Manager propagation for a post-DWFM burst of new instancesContributing factor #5

AWS EC2 DWFM and Network Manager recovery engineers — not named — Restores customer service: failover, workload moves, capacity, backlog drain.

On the record

No action by this role appears in the sources.

Playbook analyst guidance by failure mode, not a record of what happened

Recover
  • FM-05Record the actions that worked as the first draft of the runbook before the bridge closesITIL 4
  • FM-02Wait for cached empty DNS answers to expire and confirm customers resolve the endpoint againITIL 4
  • FM-04Re-establish droplet leases, then lift the throttle in steps once DWFM is stableITIL 4
  • FM-01Restore the endpoint IPs by hand and confirm dynamodb.us-east-1 resolves from outside the regionITIL 4
  • FM-03Restart dependent services in dependency order once DynamoDB DNS resolves, DynamoDB firstITIL 4
  • FM-06Re-enable NLB automatic failover once EC2 stabilises, as done at 14:09ITIL 4
  • FM-07Confirm new EC2 instances have connectivity as the backlog drains, then lift the throttlesITIL 4

AWS status communications — not in this sequence of events — Status page, customer notices, regulators and press; one voice, timed updates.

On the record

No action by this role appears in the sources.

Playbook analyst guidance by failure mode, not a record of what happened

Contain
  • FM-03Post status naming DynamoDB, EC2 and NLB in US-EAST-1 as impaired and the next update timeITIL 4

Customers of DynamoDB, EC2 and NLB in US-EAST-1 — The tenant or service user: their own redundancy, backups and continuity plan.

On the record

No action by this role appears in the sources.

Playbook analyst guidance by failure mode, not a record of what happened

Recover
  • FM-02Flush or shorten resolver caches that kept the empty answer, and retry DynamoDB calls with backoffSRE incident mgmt
  • FM-03Run workloads across regions so a US-EAST-1 DynamoDB failure does not stop the applicationISO 22301
  • FM-06Retry NLB connections with backoff and check targets in the other AZs while failover is offSRE incident mgmt

Failure mode & effects analysis (FMEA)

The DynamoDB DNS management automation for the US-EAST-1 regional endpoint (DNS Planner and three DNS Enactors), its recovery path, and the dependent EC2 control plane (DropletWorkflow Manager, Network Manager) and Network Load Balancer health-check failover. Analysed retrospectively from the official AWS post-event summary held in this dossier; downstream user, business and dollar figures are press estimates and are not scored as facts. The worldwide disabling of the DNS automation is recorded as done (interim); every other corrective action is recorded as committed or planned, so those revised scores are claims about the action, not confirmed outcomes.

7 failure modes/5 high priority/4 of 7 with a published action/total RPN 2204 → 1451 (−34%)

RPN = S × O × D, worst first. Thin bar: after the published action.
FM-05441 → 196
FM-02no published action432
FM-04384 → 192
FM-01288 → 36
FM-03no published action243
FM-06224 → 160
FM-07no published action192
Severity × occurrence. Lines bound the medium and high zones.
1122334455667788991010Occurrence →Severity →FM-03 EC2's DropletWorkflow Manager and other services hard-depend on the DynamoDB regional endpoint, so its loss propagates region-wide (S9 O3 D9)03FM-01 A delayed Enactor overwrites the current plan with a much older one, and a second Enactor's clean-up then deletes that plan, leaving an empty DNS record (S9 O4 D8)01FM-02 The deleted active plan leaves the automation in an inconsistent state that blocks every subsequent plan update, so the record cannot self-heal (S8 O6 D9); FM-04 Attempts to re-establish every lease at once, times out and retries, and enters congestive collapse (S8 O6 D8)02, 04FM-06 Health checks flap on new instances whose network state has not propagated, and automatic AZ failover repeatedly removes healthy capacity (S7 O4 D8)06FM-05 No established operational recovery procedure exists, so engineers improvise cautiously (S7 O7 D9)05FM-07 A large propagation backlog after DWFM recovery leaves new instances without connectivity (S6 O4 D8)07
Caught only after impactD ≥ 8
7 of 7
Actions that cut occurrenceO lowered
2
Actions that cut detectionD lowered
2
Actions that cut severityS lowered
1
FM-05 No established operational recovery procedure exists, so engineers improvise cautiouslyDWFM congestive-collapse recovery procedure 7·7·9 441 196
Function
Give operators a tested way out of DWFM congestive collapse
Effect
Time to break the collapse adds hours to EC2 recovery; full EC2 recovery at 1:50 PM PDT
Cause
The recovery workflow had not been exercised or written down before it was needed
Prevention in place
None recorded
Detection in place
None before the incident
S 7
Lengthens a major-service degradation rather than causing it; scored below FM-04 so the EC2 outage is not counted twice at full weight.
O 7
The missing procedure was a standing condition for any DWFM collapse.
D 9
No test or rehearsal existed that would reveal the gap before an incident did.

Corrective action

  • Build an EC2 test suite that exercises the DWFM recovery workflow Correction of errors #4

After action: S7 · O7 · D4 → RPN 196. A regression test of the recovery workflow would expose a broken or slow path before an incident needs it (D 9→4). Recorded as planned, not completed, so the reduction is a claim about the action, not a confirmed outcome.

Who acts — playbook

Prevent
  • Change owner Write and test a DWFM congestive-collapse recovery runbookImprovement #4
  • Change owner Add an EC2 test suite that exercises the DWFM recovery workflowCorrection of errors #4
Detect
  • First responder Page the EC2 DWFM team on lease timeouts and tell them the runbook is untestedSRE incident mgmt
Contain
  • Operations lead Break the collapse by throttling work and restarting hosts in small batches, checking each batchSRE incident mgmtLesson #4
Recover
  • Service recovery lead Record the actions that worked as the first draft of the runbook before the bridge closesITIL 4

Evidence

  • Contributing factor #4Missing tested recovery procedure (process/test-coverage gap): the DWFM/EC2 congestive-collapse path had 'no established operational recovery procedure,' so engineers had to improvise cautiously; AWS's remediation adds a DWFM recovery test suite, conceding the gap (aws.amazon.com/message/101925/).
  • Technical deep-dive“this situation had no established operational recovery procedure”
  • Sequence of events #162025-10-20 1:50 PM PDT — EC2 incoming-work throttles fully removed; full EC2 recovery achieved as DWFM stabilises.
FM-02 The deleted active plan leaves the automation in an inconsistent state that blocks every subsequent plan update, so the record cannot self-healDNS automation recovery path 8·6·9 432 —
Function
Repair an incorrect endpoint record automatically once it is detected
Effect
Recovery is fully manual; DNS is rebuilt by operators at 2:25 AM PDT, about 2 h 37 min after onset, and cached empty answers keep clients failing until 2:40 AM
Cause
No automated self-repair or guard against an empty or inconsistent endpoint record persisting
Prevention in place
None recorded
Detection in place
Found during the incident, when no Enactor could apply a newer plan
S 8
This mode sets how long DynamoDB stayed down rather than whether it went down: hours of full outage of a major service is the rubric's 8.
O 6
Whenever the active plan is lost, the blocking state follows; given FM-01 has occurred, the condition is weakly guarded.
D 9
Nothing in the dossier shows the blocking state was known before the incident; it was learned while trying to recover.

Corrective action

  • Build automated self-repair or guarding so an empty or inconsistent endpoint record cannot persist and block Enactor updates Improvement #3

Who acts — playbook

Prevent
  • Change owner Build a guard so an empty or inconsistent endpoint record cannot persist and block every Enactor updateImprovement #3
Detect
  • First responder Alarm when the Planner's active plan is missing or Enactors report they cannot apply any planSRE incident mgmt
Contain
  • Operations lead Rebuild the DNS state by hand and use temporary mitigations so internal services reconnect firstSRE incident mgmt
  • Incident commander Declare manual recovery and assign one owner for DNS reconstruction, with a second to review itSRE incident mgmt
Recover
  • Service recovery lead Wait for cached empty DNS answers to expire and confirm customers resolve the endpoint againITIL 4
  • Customer Flush or shorten resolver caches that kept the empty answer, and retry DynamoDB calls with backoffSRE incident mgmt

Evidence

  • Sequence of events #62025-10-20 ~12:38-1:15 AM PDT — No automated self-repair activates: the empty/inconsistent record 'prevented subsequent plan updates from being applied by any DNS Enactors,' so recovery must be fully manual.
  • Sequence of events #92025-10-20 2:25 AM PDT — All DNS information restored; DynamoDB endpoints begin resolving. DWFM immediately enters congestive collapse attempting mass lease re-establishment.
  • Sequence of events #112025-10-20 2:25-2:40 AM PDT — Customer endpoint resolution completes as cached empty DNS records expire from resolver caches; DynamoDB recovery complete at 2:40 AM.
  • Contributing factor #3No automated self-repair — a missing recovery path: 'because the active plan was deleted, the system was left in an inconsistent state that prevented subsequent plan updates from being applied by any DNS Enactors,' and it 'ultimately required manual operator intervention to correct' (aws.amazon.com/message/101925/).
  • Root cause“manual operator intervention was required”
FM-04 Attempts to re-establish every lease at once, times out and retries, and enters congestive collapseEC2 DropletWorkflow Manager (DWFM) lease recovery 8·6·8 384 192
Function
Re-establish droplet leases after DynamoDB returns without overloading itself
Effect
EC2 new-instance launches fail with insufficient-capacity errors for about 14 hours; leases are not re-established until 5:28 AM, three hours after DynamoDB DNS was restored
Cause
No rate limiting of incoming work keyed to waiting-queue depth
Prevention in place
None recorded
Detection in place
Internal; engineers throttled work and restarted DWFM hosts at 4:14 AM
S 8
Full outage of EC2 instance launches for hours: the rubric's 8.
O 6
Any mass loss of leases sets up the same overload, and nothing throttled it: 'occasional, weakly guarded'.
D 8
The collapse was recognised by AWS engineers after DNS was restored and launches kept failing, 'detected after impact by internal monitoring'.

Corrective action

  • Rate-limit incoming EC2 work based on waiting-queue depth Correction of errors #5

After action: S8 · O3 · D8 → RPN 192. Queue-depth throttling would hold recovery work below the level that causes collapse (O 6→3). Recorded as planned, not completed, so the reduction is a claim about the action, not a confirmed outcome.

Who acts — playbook

Prevent
  • Change owner Rate-limit incoming EC2 work by waiting-queue depth so lease recovery cannot collapseCorrection of errors #5
Detect
  • First responder Alarm on DWFM lease queue depth and timeouts as DynamoDB access returnsSRE incident mgmt
Contain
  • Operations lead Throttle incoming EC2 work and restart DWFM hosts selectively to clear the queueSRE incident mgmt
  • Incident commander Keep launches throttled until the lease queue is below the limitSRE incident mgmt
Recover
  • Service recovery lead Re-establish droplet leases, then lift the throttle in steps once DWFM is stableITIL 4

On the record at this failure

  • Operations lead Throttle incoming EC2 work and restart DWFM hosts at 04:14 to break the congestive collapse

Evidence

  • Sequence of events #92025-10-20 2:25 AM PDT — All DNS information restored; DynamoDB endpoints begin resolving. DWFM immediately enters congestive collapse attempting mass lease re-establishment.
  • Sequence of events #122025-10-20 4:14 AM PDT — Engineers throttle incoming EC2 work and selectively restart DWFM hosts to break congestive collapse and clear queues.
  • Sequence of events #132025-10-20 5:28 AM PDT — EC2 droplet leases re-established; Network Manager begins working through a large network-state propagation backlog.
  • Metric #6EC2 launch-failure window (derived): ~14h (11:48 PM-1:50 PM PDT)
  • Contributing factor #5No queue-aware throttling: DWFM recovery reached 'congestive collapse' because EC2 lacked rate limiting keyed to waiting-queue depth; AWS's fix is to rate-limit incoming work based on queue depth (aws.amazon.com/message/101925/).
FM-01 A delayed Enactor overwrites the current plan with a much older one, and a second Enactor's clean-up then deletes that plan, leaving an empty DNS recordDNS Enactor plan application (staleness guard) 9·4·8 288 36
Function
Apply only the newest DNS plan to the DynamoDB regional endpoint
Effect
All IP addresses for dynamodb.us-east-1.amazonaws.com are removed; clients cannot resolve or connect and DynamoDB API errors run for about 2 h 52 min
Cause
A one-time newer-than-previous check made at the start of plan application, which went stale under unusually high delays, combined with three Enactors that share no apply-time mutual exclusion or compare-and-swap
Prevention in place
The one-time freshness check, and redundancy of three independent Enactors across three AZs (designed for host or AZ failure, not for a race between the Enactors)
Detection in place
DynamoDB API errors at onset; engineers identified DNS state as the source about 50 minutes later
S 9
Region-wide outage of a foundational database service that EC2 and other control planes depend on, with no customer workaround: the rubric's 9. Not 10: one region, no hazard to people.
O 4
The race needs an unusual interleaving — one Enactor badly delayed while another applies and cleans up — so 'infrequent'. The condition was latent, not exercised by routine work.
D 8
No control caught the stale write before it landed; it was seen through API errors and diagnosed 50 minutes after onset, 'detected after impact by internal monitoring'.

Corrective action

  • Fix the race condition and add protections against applying stale DNS plans (apply-time re-validation / compare-and-swap) Correction of errors #1
  • Disable the DynamoDB DNS Planner and Enactor automation worldwide as an interim safety hold Correction of errors #2

After action: S9 · O2 · D2 → RPN 36. With the automation disabled (done, interim) the race cannot run, and the committed apply-time re-validation would refuse a stale write when it returns (O 4→2, D 8→2). The fix is recorded as committed before re-enabling the automation, not as shipped, so the D reduction is a claim about the action, not a confirmed outcome. Severity is unchanged: an empty endpoint record from any other cause would be just as wide.

Who acts — playbook

Prevent
  • Change owner Re-check plan freshness at apply time with compare-and-swap against the live record, not only at the startCorrection of errors #1
  • Change owner Serialise Enactor writes and cleanup so one Enactor cannot delete a plan another is applyingLesson #2
Detect
  • First responder Alarm on Enactor apply latency far above normal and on any regional endpoint with zero IPsSRE incident mgmt
Contain
  • Operations lead Stop the Enactors applying plans once an empty endpoint record is seen, before cleanup deletes moreChange managementCorrection of errors #2
  • Incident commander Name the DNS state as the first suspect when DynamoDB clients cannot connect, and put the DNS team on the bridgeSRE incident mgmt
Recover
  • Service recovery lead Restore the endpoint IPs by hand and confirm dynamodb.us-east-1 resolves from outside the regionITIL 4

On the record at this failure

  • Operations lead Identify DynamoDB's DNS state as the source at 00:38, about 50 minutes after onset

Evidence

  • Sequence of events #22025-10-19 ~11:47 PM PDT — One DNS Enactor hits unusually high delays applying endpoint updates; the Planner emits many newer plan generations; a second Enactor applies the newest plan and starts cleanup, and the delayed Enactor then overwrites the regional endpoint with its stale plan (time approximate, just before the 11:48 PM error onset).
  • Sequence of events #32025-10-19 11:48 PM PDT — Cleanup deletes the stale plan; all IPs for the DynamoDB US-EAST-1 regional endpoint are removed. DynamoDB API errors begin; customers cannot establish new connections. EC2 DWFM state checks (DynamoDB-dependent) begin failing.
  • Sequence of events #52025-10-20 12:38 AM PDT — Engineers identify DynamoDB's DNS state as the source of the outage, roughly 50 minutes after onset.
  • Contributing factor #1Point-in-time staleness guard (design/test lapse): the Enactor's newer-than-previously-applied check ran only 'at the start of the plan application process' and 'was stale by this time due to the unusually high delays in Enactor processing,' so a superseded plan could overwrite the current record with no apply-time re-validation (aws.amazon.com/message/101925/).
  • Contributing factor #2Unsynchronised redundancy: three DNS Enactors across three Availability Zones applied plans and ran cleanup with no apply-time mutual exclusion or compare-and-swap, so one Enactor's cleanup could delete a plan another was concurrently writing, turning availability redundancy into a race (aws.amazon.com/message/101925/).
  • Reference #1 · official-postmortem“a latent race condition in the DynamoDB DNS management system”
  • Metric #5DynamoDB API error window (derived): ~2h52m (11:48 PM-2:40 AM PDT)
FM-03 EC2's DropletWorkflow Manager and other services hard-depend on the DynamoDB regional endpoint, so its loss propagates region-wideDynamoDB as a base dependency of in-region control planes 9·3·9 243 —
Function
Keep EC2 lease management, load balancing and other AWS services running when DynamoDB's endpoint is unreachable
Effect
DWFM state checks fail from 11:48 PM and droplet leases time out at 2:24 AM; error rates rise across multiple AWS services from 12:11 AM; Downdetector tracks 1,000+ affected downstream services
Cause
Foundational single-service dependency with no recorded degraded mode
Prevention in place
None recorded
Detection in place
Customer-visible error rates and latencies across services
S 9
Turns a DynamoDB DNS fault into a multi-service regional outage with knock-on effects on internet services worldwide: the rubric's 9. Not 10 because the dossier records one region's services as impaired, not loss of several regions.
O 3
Needs DynamoDB's endpoint to fail first, which is infrequent; held low so the event is not counted twice at full weight with FM-01.
D 9
Seen through customer-visible errors across services.

Corrective action

  • None published — residual risk.

Who acts — playbook

Prevent
  • Change owner List every in-region service that hard-depends on the DynamoDB endpoint and give each a degraded modeLesson #6
Detect
  • First responder Watch EC2 DWFM state-check failures as a first sign of a DynamoDB endpoint faultSRE incident mgmt
Contain
  • Incident commander Pull EC2, NLB and other dependent service owners onto the bridge as errors spreadSRE incident mgmt
  • Operations lead Enable temporary mitigations that let internal services reconnect to DynamoDBSRE incident mgmt
  • Communications lead Post status naming DynamoDB, EC2 and NLB in US-EAST-1 as impaired and the next update timeITIL 4
Recover
  • Service recovery lead Restart dependent services in dependency order once DynamoDB DNS resolves, DynamoDB firstITIL 4
  • Customer Run workloads across regions so a US-EAST-1 DynamoDB failure does not stop the applicationISO 22301

Evidence

  • Sequence of events #42025-10-20 12:11 AM PDT — Beginning at 12:11 AM PDT customers experienced increased error rates and latencies across multiple AWS services in US-EAST-1 as the foundational dependency propagated.
  • Sequence of events #82025-10-20 2:24 AM PDT — EC2 droplet leases time out as DWFM remains unable to reach DynamoDB.
  • Contributing factor #6Foundational single-service blast radius: DynamoDB is a base dependency for EC2/DWFM, NLB and other services, so one endpoint's empty DNS record cascaded region-wide across US-EAST-1 and to global services dependent on the region (aws.amazon.com/message/101925/).
  • Metric #8Downstream services affected: 1,000+ services (Downdetector-tracked)
  • Reference #2 · press“customers experienced increased error rates and latencies for multiple AWS services”
FM-06 Health checks flap on new instances whose network state has not propagated, and automatic AZ failover repeatedly removes healthy capacityNetwork Load Balancer health-check AZ failover 7·4·8 224 160
Function
Remove unhealthy NLB nodes and targets from DNS while keeping healthy capacity in service
Effect
NLB connection errors for about 8 h 39 min until automatic failover is disabled by hand at 9:36 AM and re-enabled at 2:09 PM
Cause
No velocity control on how much capacity health-check failover may remove
Prevention in place
None recorded
Detection in place
Internal; engineers disabled automatic failover at 9:36 AM
S 7
Major degradation of a major service: load balancers kept serving, but with capacity removed and restored in cycles.
O 4
Needs a network-state propagation backlog to coincide with health checks, an unusual combination.
D 8
The churn was found and stopped by engineers after customer errors had begun: 'detected after impact by internal monitoring'.

Corrective action

  • Add an NLB velocity control limiting capacity removed during health-check AZ failover Correction of errors #3

After action: S5 · O4 · D8 → RPN 160. A cap on removed capacity limits what flapping can take out of service, so the effect falls to customer-visible degradation (S 7→5). Recorded as planned, not completed, so the reduction is a claim about the action, not a confirmed outcome.

Who acts — playbook

Prevent
  • Change owner Add a velocity control that limits capacity removed in one health-check AZ failoverCorrection of errors #3
Detect
  • First responder Alarm on NLB targets flapping between healthy and unhealthy as new instances come upSRE incident mgmt
Contain
  • Operations lead Disable automatic health-check failover and keep the healthy capacity in serviceChange management
  • Incident commander Decide when to re-enable failover only after EC2 is stableSRE incident mgmt
Recover
  • Service recovery lead Re-enable NLB automatic failover once EC2 stabilises, as done at 14:09ITIL 4
  • Customer Retry NLB connections with backoff and check targets in the other AZs while failover is offSRE incident mgmt

On the record at this failure

  • Operations lead Disable NLB automatic failover at 09:36 so flapping instances stop removing capacity
  • Change owner Disable the DNS Planner and Enactor worldwide after the event, pending fixes

Evidence

  • Sequence of events #142025-10-20 9:36 AM PDT — Engineers disable NLB automatic health-check failovers to stop capacity being repeatedly removed by flapping instances, keeping healthy capacity online.
  • Sequence of events #172025-10-20 2:09 PM PDT — NLB automatic health-check failovers re-enabled after EC2 stabilises; overall event concluded ~2:20 PM. AWS separately disables the DynamoDB DNS Planner and Enactor automation worldwide pending fixes.
  • Metric #7NLB connection-error window (derived): ~8h39m (5:30 AM-2:09 PM PDT)
  • Contributing factor #7Uncontrolled NLB failover velocity: the health-check subsystem could remove large amounts of capacity via automatic AZ failover when flapping instances appeared unhealthy, worsening the outage until failover was manually disabled at 9:36 AM (aws.amazon.com/message/101925/).
  • Root cause“health checks would fail even though the underlying NLB node and backend targets were healthy”
FM-07 A large propagation backlog after DWFM recovery leaves new instances without connectivityEC2 Network Manager state propagation 6·4·8 192 —
Function
Propagate network state to newly launched instances promptly
Effect
New EC2 instance connectivity delayed from 5:28 AM until 10:36 AM PDT, and the lag feeds the NLB health-check flapping in FM-06
Cause
Backlog of network-state propagations built up during DWFM recovery
Prevention in place
None recorded
Detection in place
Internal; engineers worked through the backlog
S 6
Confined to connectivity for newly launched instances in one service: the rubric's 6.
O 4
Needs the preceding mass lease recovery, an unusual combination.
D 8
Seen after impact as the backlog was being drained.

Corrective action

  • None published — residual risk.

Who acts — playbook

Prevent
  • Change owner Size Network Manager propagation for a post-DWFM burst of new instancesContributing factor #5
Detect
  • First responder Watch Network Manager propagation backlog and new-instance connectivity as DWFM leases returnSRE incident mgmt
Contain
  • Operations lead Hold incoming EC2 work until the propagation backlog drainsSRE incident mgmt
  • Incident commander Keep NLB failover off while new instances have no connectivitySRE incident mgmt
Recover
  • Service recovery lead Confirm new EC2 instances have connectivity as the backlog drains, then lift the throttlesITIL 4

Evidence

  • Sequence of events #132025-10-20 5:28 AM PDT — EC2 droplet leases re-established; Network Manager begins working through a large network-state propagation backlog.
  • Sequence of events #152025-10-20 10:36 AM PDT — New EC2 instance connectivity restored as the network-state propagation backlog drains.
  • Root cause“a significant backlog of network state propagations”
Scoring rubric and method

Scales adapted from IEC 60812:2018 and AIAG-VDA. RPN = S × O × D. High: S ≥ 9 with O ≥ 4 or D ≥ 7, or RPN ≥ 300. Medium: RPN ≥ 120 or S ≥ 7. Severity overrides the product: 9 × 2 × 9 = 162 would otherwise hide a region-wide outage nothing could catch. Quotes are checked verbatim against this dossier; a revised score needs a published action. RZ analyst assessment, not an operator document.

Severity

10Hazard to people, or loss of the facility / several regions
9Region-wide or provider-wide outage of a foundational service, no workaround
8Full outage of a major service for hours
7Major degradation of a major service
6Partial outage confined to one zone or one service
5Customer-visible degradation
4Limited customer impact
3Internal impact only
2Negligible
1No effect

Occurrence

10Near certain: the cause is present in normal operation
8Frequent: routine work exercises the cause
6Occasional: a foreseeable slip or condition, weakly guarded
4Infrequent: needs an unusual combination
2Remote: guarded by design
1Eliminated by design

Detection

10No control could detect it
9Detected only through customer impact
8Detected after impact by internal monitoring
6Detected at onset, not prevented
4Detected before impact with time to act
2Automated interlock almost certainly stops it
1Certain to be stopped

Root cause and contributing factors

The immediate trigger of the October 20, 2025 disruption was a latent race condition in Amazon DynamoDB's automated DNS management system in the US-EAST-1 (Northern Virginia) Region. Per the AWS post-event summary, this race condition resulted in "an incorrect empty DNS record for the service's regional endpoint (dynamodb.us-east-1.amazonaws.com)," and the automation was then unable to repair that state.
Full root-cause narrative
DynamoDB's endpoint DNS is managed by two cooperating automation components: a DNS Planner, which "monitors the health and capacity of the load balancers and periodically creates a new DNS plan," and a DNS Enactor, which applies those plans into Amazon Route53 and which is "designed to have minimal dependencies to allow for system recovery," operating "redundantly and fully independently in three different Availability Zones (AZs)." The mechanism of failure was a timing collision between two independently operating Enactors. Per AWS, "Before it begins to apply a new plan, the DNS Enactor makes a one-time check that its plan is newer than the previously applied plan." On this occasion one Enactor experienced "unusually high delays" while retrying endpoint updates as the Planner produced newer plan generations. Meanwhile a second Enactor rapidly applied the newest plan across all endpoints and then "invoked the plan clean-up process, which identifies plans that are significantly older than the one it just applied and deletes them." The delayed first Enactor then applied "its much older plan to the regional DDB endpoint, overwriting the newer plan" — its one-time freshness check "was stale by this time due to the unusually high delays." When the clean-up process deleted that just-applied older plan, "all IP addresses for the regional endpoint were immediately removed," leaving an empty DNS record. The safeguards did not prevent the outcome. The redundancy design — three fully independent Enactors across three AZs — was intended to survive AZ or host failures, but this was not an infrastructure failure; it was a logical race between the redundant actors themselves, independently mutating shared Route53 state with coordination resting only on a one-time staleness check that could go stale under processing delay, paired with an aggressive clean-up step that deleted the very plan the delayed Enactor had just written. Worse, once the record was emptied, "the system was left in an inconsistent state that prevented subsequent plan updates from being applied by any DNS Enactors," so the automation could not self-heal and manual operator intervention was required. Escalation was immediate and broad. Systems connecting to DynamoDB in us-east-1 via the public endpoint failed DNS resolution and could not connect. The failure cascaded into dependent services. EC2's DropletWorkflow Manager (DWFM), which maintains a lease for each managed droplet, began failing state checks: "Starting at 11:48 PM PDT on October 19, these DWFM state checks began to fail as the process depends on DynamoDB and was unable to complete." Even after DynamoDB DNS was restored, "DWFM had entered a state of congestive collapse and was unable to make forward progress in recovering droplet leases," requiring engineers to throttle incoming work (at 4:14 AM PDT) and perform selective host restarts (leases re-established by 5:28 AM). DWFM recovery then produced "a significant backlog of network state propagations" in Network Manager, delaying connectivity for newly launched EC2 instances. During that window, propagation lag caused NLB health checks to fail against otherwise healthy nodes: per AWS, "health checks would fail even though the underlying NLB node and backend targets were healthy," which "resulted in health checks alternating between failing and healthy" and "caused NLB nodes and backend targets to be removed from DNS, only to be returned to service when the next health check succeeded" — producing further customer-visible errors. Detection was fast: DynamoDB DNS was identified as the source at 12:38 AM PDT (roughly 50 minutes after the 11:48 PM onset); all DNS information was manually restored by 2:25 AM and primary DynamoDB disruption ended by 2:40 AM. The downstream EC2/Network Manager/NLB cascade extended recovery, with all EC2 APIs and new instance launches operating normally by 1:50 PM PDT (13:50).

Contributing factors by category

Contributing factors by category — AWSDesign: Check stale at apply time; No apply-time exclusion; DynamoDB is base dependency. Process: No tested DWFM recovery; No queue-depth throttle. Equipment: No DNS self-repair; NLB failover too fast. Environment: Enactor delay exposed race. External: Network state backlog. Effect: DynamoDB DNS empty, EC2 out ~14 h.DynamoDB DNS empty, EC2 out ~14 hDesignCheck stale at apply timeNo apply-time exclusionDynamoDB is base dependencyEquipmentNo DNS self-repairNLB failover too fastExternalNetwork state backlogProcessNo tested DWFM recoveryNo queue-depth throttleEnvironmentEnactor delay exposed race
Each short label stands for a contributing factor or failure mode recorded in this dossier; the full sentences are listed below.
  • Point-in-time staleness guard (design/test lapse): the Enactor's newer-than-previously-applied check ran only 'at the start of the plan application process' and 'was stale by this time due to the unusually high delays in Enactor processing,' so a superseded plan could overwrite the current record with no apply-time re-validation (aws.amazon.com/message/101925/).
  • Unsynchronised redundancy: three DNS Enactors across three Availability Zones applied plans and ran cleanup with no apply-time mutual exclusion or compare-and-swap, so one Enactor's cleanup could delete a plan another was concurrently writing, turning availability redundancy into a race (aws.amazon.com/message/101925/).
  • No automated self-repair — a missing recovery path: 'because the active plan was deleted, the system was left in an inconsistent state that prevented subsequent plan updates from being applied by any DNS Enactors,' and it 'ultimately required manual operator intervention to correct' (aws.amazon.com/message/101925/).
  • Missing tested recovery procedure (process/test-coverage gap): the DWFM/EC2 congestive-collapse path had 'no established operational recovery procedure,' so engineers had to improvise cautiously; AWS's remediation adds a DWFM recovery test suite, conceding the gap (aws.amazon.com/message/101925/).
  • No queue-aware throttling: DWFM recovery reached 'congestive collapse' because EC2 lacked rate limiting keyed to waiting-queue depth; AWS's fix is to rate-limit incoming work based on queue depth (aws.amazon.com/message/101925/).
  • Foundational single-service blast radius: DynamoDB is a base dependency for EC2/DWFM, NLB and other services, so one endpoint's empty DNS record cascaded region-wide across US-EAST-1 and to global services dependent on the region (aws.amazon.com/message/101925/).
  • Uncontrolled NLB failover velocity: the health-check subsystem could remove large amounts of capacity via automatic AZ failover when flapping instances appeared unhealthy, worsening the outage until failover was manually disabled at 9:36 AM (aws.amazon.com/message/101925/).

Analysis

What happened

A latent race condition in DynamoDB's automated DNS management for US-EAST-1 produced an empty DNS record for the service's regional endpoint. A delayed DNS Enactor overwrote a current plan with a stale one, and the parallel cleanup then deleted that plan, removing all IP addresses. AWS: 'The root cause of this issue was a latent race condition in the DynamoDB DNS management system that resulted in an incorrect empty DNS record for the service's regional endpoint' (aws.amazon.com/message/101925/).

Why the guard failed

The Enactor's staleness check ran only at the start of plan application and 'was stale by this time due to the unusually high delays,' so it could not stop a superseded plan from overwriting the live record. Three Enactors across three AZs shared no apply-time mutual exclusion, so cleanup could delete a plan another Enactor was concurrently writing. The result was a self-inflicted empty record the automation could not self-heal (aws.amazon.com/message/101925/).

How it cascaded

DynamoDB is a foundational dependency. EC2's DWFM lost DynamoDB access, droplet leases timed out, and on DNS restoration DWFM entered 'congestive collapse' attempting mass lease re-establishment. The NLB health-check subsystem flapped on newly launched instances and triggered automatic AZ failover that stripped capacity. Downstream, Roblox, Fortnite, Snapchat and Duolingo among others degraded (aws.amazon.com/message/101925/; en.wikipedia.org).

Detection and response

Onset at 11:48 PM PDT; correct diagnosis by 12:38 AM (~50 min). Because no automated self-repair existed, recovery was manual: DNS rebuilt by 2:25 AM, congestive collapse broken at 4:14 AM by throttling and host restarts, new-EC2 connectivity by 10:36 AM, NLB failover re-enabled 2:09 PM, event concluded ~2:20 PM. The DWFM scenario had 'no established operational recovery procedure' (aws.amazon.com/message/101925/).

Systemic lessons and fixes

The remediation set is an implicit admission of latent design and test gaps: fix the race and add stale-plan protection, add NLB velocity control, build a DWFM recovery test suite, add queue-depth-based EC2 throttling, and disable the DNS automation worldwide until fixes ship. The transferable lessons: validate invariants at write time, coordinate redundant writers, test recovery paths, and add backpressure so recovery cannot overload the system it is recovering (aws.amazon.com/message/101925/).

Technical deep-dive
DynamoDB's regional endpoint in US-EAST-1 is resolved via DNS records maintained by an internal control loop split across two roles for availability. The DNS Planner watches load-balancer health and capacity and emits monotonically increasing "plans" (generations) describing the correct set of endpoints, load balancers and weights. The DNS Enactor is the applier — running independently in each of three Availability Zones, each pushing the latest plan to DNS and then running a cleanup pass that garbage-collects plans many generations old. Redundancy here was for availability, but the three Enactors shared no apply-time mutual exclusion or compare-and-swap against the live record, so redundancy became a hazard multiplier rather than a safety net. The bug is a classic time-of-check-to-time-of-use (TOCTOU) window. Enactor A reads plan generation N, passes the "newer-than-previously-applied" check, then stalls under unusually high delays. Meanwhile the Planner emits N+1, N+2, ... and Enactor B applies the newest generation and triggers cleanup, deleting older generations. Enactor A, resuming with its now-stale in-hand plan, writes it over the current record — the guard cannot catch this because it was evaluated before the stall, not re-evaluated at write time. Cleanup then deletes the plan Enactor A just re-applied because it is generations behind, and the endpoint record collapses to empty. An empty DNS record is worse than a stale one: clients cannot resolve the endpoint at all, region-wide, and because the active plan was deleted the automation refuses to apply any further plan, seeing an inconsistent state — the self-heal path is bricked, forcing manual operator repair. Because DynamoDB is a foundational dependency, the empty record cascaded into control planes. EC2's DropletWorkflow Manager (DWFM) maintains droplet leases tracking physical-server state and depends on DynamoDB; lease health checks began failing during the outage. When DNS was restored at 2:25 AM PDT, DWFM tried to re-establish every lease at once but could not complete reconnections before timeouts triggered retries, and "DWFM had entered a state of congestive collapse and was unable to make forward progress in recovering droplet leases" — a positive-feedback overload where recovery work itself prevents recovery. Because "this situation had no established operational recovery procedure," engineers proceeded cautiously; at 4:14 AM they throttled incoming work and selectively restarted DWFM hosts, with leases re-established by 5:28 AM. New-instance connectivity lagged until 10:36 AM because Network Manager had to drain a large network-state propagation backlog. In parallel, the Network Load Balancer health-check subsystem saw newly launched instances (arriving before network state fully propagated) flap between healthy and failing, driving automatic AZ DNS failover that repeatedly removed and restored capacity; engineers disabled automatic health-check failover at 9:36 AM (re-enabled 2:09 PM) to arrest the churn. Caching shaped the tail: even after the record was rebuilt at 2:25 AM, customer resolution only fully cleared by 2:40 AM as cached empty answers expired. Downstream, consumer-facing services including Roblox, Fortnite, Snapchat and Duolingo saw elevated errors and latency. All times per aws.amazon.com/message/101925/ except downstream service names (en.wikipedia.org).

Corrective actions and lessons

Correction of errors

ActionOwnerStatus
Fix the DynamoDB DNS race condition and add protections against applying incorrect/stale DNS plans (apply-time re-validation / compare-and-swap)AWS DynamoDB teamCommitted before re-enabling automation (planned)
Disable the DynamoDB DNS Planner and DNS Enactor automation worldwide as an interim safety holdAWS DynamoDB teamDone (interim)
Add an NLB velocity-control to limit capacity removed during health-check AZ failoverAWS NLB teamPlanned
Build an EC2 test suite exercising the DWFM recovery workflow to catch future regressionsAWS EC2 teamPlanned
Improve EC2 throttling to rate-limit incoming work based on waiting-queue depthAWS EC2 teamPlanned

Lessons learnt

  • Point-in-time invariant checks are unsafe under variable latency: a freshness guard validated only at the start of an operation can go stale before the write lands ('the check ... was stale by this time due to the unusually high delays'), so critical writes need apply-time re-validation or atomic compare-and-swap (aws.amazon.com/message/101925/).
  • Redundancy without coordination amplifies failure: three independent Enactors with no apply-time mutual exclusion turned availability redundancy into a race that deleted the live record (aws.amazon.com/message/101925/).
  • An empty answer is worse than a stale one: removing all IPs left clients unable to resolve the endpoint at all and left the automation in an inconsistent state that blocked every subsequent update, requiring manual repair (aws.amazon.com/message/101925/).
  • Recovery paths must be tested, not improvised: the DWFM congestive-collapse scenario had 'no established operational recovery procedure,' so recovery was slow and cautious; recovery workflows for foundational services need rehearsed runbooks and regression tests (aws.amazon.com/message/101925/).
  • Mass simultaneous recovery can prevent recovery: without queue-depth-aware throttling, DWFM's attempt to re-establish all leases at once caused congestive collapse — recovery work needs backpressure and rate limiting (aws.amazon.com/message/101925/).
  • Foundational dependencies concentrate blast radius: a single DynamoDB endpoint's empty DNS record cascaded across EC2, NLB and other services region-wide, underscoring the need to bound and test the failure modes of base services (aws.amazon.com/message/101925/).

Improvements

  • Designfix the DNS race condition and add protections to prevent applying incorrect/stale DNS plans — re-validate plan freshness at apply time (compare-and-swap against the live record), not only at the start of plan application (aws.amazon.com/message/101925/).
  • Designadd an NLB velocity-control to limit the capacity a single NLB can remove when health-check failures cause AZ failover, preventing flapping instances from stripping capacity region-wide (aws.amazon.com/message/101925/).
  • Safetybuild automated self-repair/guarding so an empty or inconsistent endpoint record cannot persist and block all subsequent Enactor updates — the incident required manual operator intervention because no such safeguard existed (aws.amazon.com/message/101925/).
  • Maintenancebuild an EC2 test suite that exercises the DWFM recovery workflow so the previously untested 'no established operational recovery procedure' path is validated before it is needed in production (aws.amazon.com/message/101925/).
  • Processimprove EC2 throttling to rate-limit incoming work based on waiting-queue depth, preventing recovery-driven congestive collapse of DWFM (aws.amazon.com/message/101925/).
  • Processdisable the DynamoDB DNS Planner and DNS Enactor automation worldwide until the race condition and stale-plan protections ship, as an interim safety hold (aws.amazon.com/message/101925/).

References and provenance

Quotes are short, attributed, and for provenance only; the analysis is original. Last verified 2026-07-31.

Root access required

The DC Incidents dossier is a root-only module. Sign in with an authorized account to continue.

Back to Home