AWS EBS Re-mirroring Storm (us-east-1)
A network change sent traffic down the wrong pipe, and thousands of storage nodes stampeded to re-copy their data at once.
- Severity
- Front-page news
- Difficulty
- intermediate
- Companies
- Amazon Web Services
- Tech
- AWS EBS, EC2, RDS, Replication, Control plane
- Root cause
- operator mistake, latent bug, dependency cascade
The story
Quick (1 min)
On 21 April 2011, a chunk of Amazon's cloud storage in its busiest region (US East) froze. Thousands of websites that ran on it slowed down or went offline, and some customers waited days for their data.
It began with a routine network upgrade. A step was done wrong, and traffic was sent onto a small backup network that couldn't carry it. Many storage servers lost contact with their partners.
Each storage server keeps copies of its data on another server. When the network came back, they all assumed their partner had died and rushed to make new copies at the same time. The free space ran out, and they got stuck retrying. AWS called it a "re-mirroring storm".
The lesson: recovery behaviour that's sensible for one machine can overwhelm a system when thousands do it at once.
Keep reading to the end to earn XP.Read. XP earned.
Engineer (2 min)
Architecture. Elastic Block Store (EBS) provides network-attached disks for EC2. Volumes are replicated across EBS nodes in a cluster inside one Availability Zone (AZ). Nodes talk over a high-bandwidth primary network and a lower-capacity secondary replication network. A regional EBS control plane coordinates API requests and decides which replica is primary.
The trigger (12:47 AM PDT). During a capacity upgrade, traffic had to be shifted off one primary router. The shift "was executed incorrectly" and went onto the low-capacity secondary network instead of the other primary router. Many nodes were cut off from both networks and lost contact with their replicas.
Re-mirroring storm. When the change was rolled back, nodes assumed their replicas were dead and all searched for free space to re-mirror at once. Free capacity was exhausted and nodes looped, retrying constantly. About 13% of volumes in the AZ became "stuck". I/O is blocked during re-mirroring to keep data consistent.
Making it worse:
- Nodes didn't back off aggressively when they couldn't find space.
- A race condition that rarely fired under normal load crashed nodes when they closed many replication requests at once. Each crash created more volumes that needed re-mirroring.
Spreading beyond one AZ. Slow "create volume" calls with a long timeout filled the control plane's regional thread pool, so EBS APIs failed in other AZs too. Later, the replica-election traffic browned out the control plane again.
Containment. AWS disabled Create Volume in the affected AZ (2:40 AM), cut the degraded cluster off from the control plane (8:20 AM), and stopped nodes from futilely searching for space (11:30 AM). By 12:04 PM the problem was contained to one AZ. Restoring capacity meant physically moving servers into the cluster.
Interview takeaway: retries without backoff, shared thread pools and long timeouts are how one zone's problem becomes a region's problem.
Keep reading to the end to earn XP.Read. XP earned.
Deep dive (3 min)
Timeline (PDT, from AWS's post-event summary)
- 21 Apr, 12:47 AM: a network change upgrades primary network capacity in one AZ. The traffic shift goes to the secondary EBS network by mistake, isolating many nodes from each other.
- After rollback: a re-mirroring storm begins and about 13% of volumes in the AZ are stuck.
- Shortly after: create-volume calls back up, causing thread starvation in the regional control plane. EBS APIs fail across the region.
- 2:40 AM: new Create Volume requests are disabled in the affected AZ. By 2:50 AM other EBS API latencies and error rates recover.
- 5:30 AM: errors rise again region-wide. The race condition crashes more nodes and replica negotiations brown out the control plane.
- 8:20 AM: all communication between the degraded cluster and the control plane is disabled. The rest of the region returns to normal.
- 11:30 AM: a change stops degraded nodes from futilely contacting peers, and the cluster stops degrading. The race condition had added another 5% of stuck volumes; net stuck volumes stand at 13%. A separate control plane fix restores new EBS-backed instance launches in other AZs by noon. Those launches had seen elevated errors for about 11 hours, partly because "our alarming was not fine-grained enough" for that API.
- 12:04 PM: outage contained to one AZ. Now the job is adding capacity.
- 22 Apr, ~2:00 AM: significant new capacity added, relocated physically from across US East. Failed nodes weren't reused until every replica was safely re-mirrored, to keep data recoverable.
- 22 Apr, 12:30 PM: all but about 2.2% of affected volumes restored.
- 24 Apr, 12:30 PM: after restoring from snapshots taken early as a precaution, all but 1.04% of affected volumes recovered. Forensics continue on the rest.
- Final: 0.07% of volumes in the affected AZ "could not be restored for customers in a consistent state."
RDS impact
A peak of 45% of single-AZ RDS instances in the affected AZ had stuck I/O. 2.5% of multi-AZ RDS instances in the region failed to fail over automatically, because a rapid network partition followed by stuck I/O hit a previously unseen bug.
What AWS changed
- "We will audit our change process and increase the automation to prevent this mistake from happening in the future."
- Carry more safety capacity for large recovery events, with capacity planning and alarming adjusted to match. "With additional excess capacity, the degraded EBS cluster would have more quickly absorbed the large number of re-mirroring requests."
- Three changes to stop a single AZ from affecting the EBS control plane across multiple AZs.
- Build the fine-grained throttling used during recovery directly into EBS nodes, and automate the recovery procedures.
- Offer multiple AZs for all services (including VPC), make multi-AZ deployments easier, and improve customer communication during events.
Compensation
Affected customers received a 10-day credit equal to 100% of their EBS, EC2 and RDS usage in the affected AZ.
"As with any complicated operational issue, this one was caused by several root causes interacting with one another." (AWS)
Keep reading to the end to earn XP.Read. XP earned.
Failure replay
Step by step, what broke and what it hit next. Showing the key steps. Switch to Engineer or Deep dive for every step.
- 12:47 AMNetwork changefailing
During a capacity upgrade, primary traffic is shifted onto the low-capacity secondary network by mistake.
Affects: EBS nodes
- 12:47 AMEBS nodesdown
With both networks unusable, many nodes are isolated and lose contact with their replicas.
- RollbackEBS nodesfailing
Connectivity returns. Every node assumes its partner died and searches for space to re-mirror, all at once.
Affects: Cluster capacity
- Minutes laterCluster capacitydown
Free space is exhausted. Nodes retry without backing off and about 13% of volumes are stuck.
Affects: EBS nodes
- Early morningEBS control planefailing
Slow create-volume calls with long timeouts fill the regional thread pool. APIs fail in other Availability Zones too.
Affects: Customers
- 5:30 AMEBS nodesfailing
A rare race condition crashes nodes under the storm's load, creating even more volumes to re-mirror.
Affects: EBS control plane
- 8:20 AMEBS control planerecovering
Engineers cut the degraded cluster off from the control plane. The rest of the region recovers.
- 12:04 PMEBS nodesdegraded
Futile peer searches are blocked and the cluster stops degrading. The problem is now contained to one zone.
- Apr 22–24Cluster capacityrecovering
Servers are physically relocated into the cluster and volumes slowly re-mirror. 0.07% can't be restored consistently.
Affects: Customers
- Apr 24Customersrecovering
Most applications recover. Multi-AZ customers saw little impact on running apps.
Impact
- Who was affected
- EC2 and RDS customers using EBS in one US East Availability Zone (about 13% of its volumes stuck), plus region-wide EBS API errors at times.
- How long
- Primary disruption about 11 hours on 21 April; full volume recovery took until 24 April and later.
- Cost
- not disclosed (AWS gave affected customers a 10-day 100% service credit).
Lessons
- Retries need exponential backoff. Thousands of nodes retrying at once becomes a self-inflicted denial of service.
- Shared resources such as a regional thread pool can carry one zone's failure into every zone.
- Long timeouts on slow dependencies cause thread starvation; fail fast and shed load.
- Rare race conditions become common under abnormal load; recovery paths need load testing.
- Alerting must be fine-grained enough to see a specific API failing inside general noise.
Quiz
What was the initial mistake on 21 April 2011?
The answer is A traffic shift sent primary network traffic onto the low-capacity secondary network. During a routine capacity upgrade, traffic was routed onto the redundant low-capacity network instead of the other primary router.
Check answer
A traffic shift sent primary network traffic onto the low-capacity secondary network. During a routine capacity upgrade, traffic was routed onto the redundant low-capacity network instead of the other primary router.
What is a "re-mirroring storm"?
The answer is Many storage nodes simultaneously searching for space to re-copy data, exhausting capacity and getting stuck. Thousands of nodes lost their replicas at once and all tried to re-mirror. Free space ran out and they kept retrying.
Check answer
Many storage nodes simultaneously searching for space to re-copy data, exhausting capacity and getting stuck. Thousands of nodes lost their replicas at once and all tried to re-mirror. Free space ran out and they kept retrying.
Why did EBS APIs fail in other Availability Zones?
The answer is Slow calls with long timeouts exhausted the regional control plane's shared thread pool. The regional EBS control plane had one thread pool. Backed-up create-volume calls from the broken zone starved requests from healthy zones.
Check answer
Slow calls with long timeouts exhausted the regional control plane's shared thread pool. The regional EBS control plane had one thread pool. Backed-up create-volume calls from the broken zone starved requests from healthy zones.
What share of volumes in the affected zone could not be restored in a consistent state?
The answer is 0.07%. About 13% of volumes got stuck, but after days of recovery only 0.07% could not be restored consistently.
Check answer
0.07%. About 13% of volumes got stuck, but after days of recovery only 0.07% could not be restored consistently.
Interview prep
Try answering out loud before you open the model answer.
- system design
Your storage nodes re-replicate data when they lose a peer. How do you stop a large network blip from causing a "re-mirroring storm" like AWS EBS in 2011?
Show model answer
Treat mass simultaneous recovery as a load spike to manage. Add exponential backoff with jitter when no capacity is found. Rate-limit re-replication cluster-wide so only a fixed amount runs at once. Wait a grace period before declaring a peer dead, so short partitions don't trigger re-copying. Keep reserved spare capacity for recovery. Monitor the re-replication backlog as a first-class signal. Finally, make sure a failing data plane can't overload a shared control plane: per-zone isolation, bounded queues and short timeouts.
A strong answer hits:
- Backoff with jitter on retries
- Global rate limit on re-replication
- Grace period before declaring failure
- Reserved spare capacity
- Isolate the control plane from data plane failures
How did your answer compare? - system design
How can a failure in one Availability Zone affect services in other zones, and how would you design to prevent it?
Show model answer
Through shared dependencies. In 2011, AWS's regional EBS control plane used one thread pool; slow calls from the broken zone filled it and starved requests for healthy zones. Prevention: partition control planes or their resources per zone (bulkheads), use short timeouts and circuit breakers on calls into an unhealthy zone, and use admission control so one zone can't take all the capacity. Then test it with game days that degrade a single zone.
A strong answer hits:
- Shared regional resources are the hidden coupling
- Bulkheads and per-zone resource pools
- Short timeouts and circuit breakers
- Game days to verify isolation
How did your answer compare? - debugging
During an incident, error rates keep rising even after you've rolled back the change that started it. What could be going on?
Show model answer
The system has likely entered a self-sustaining state, so the trigger is gone but the feedback loop remains. Examples are retry storms, cache stampedes, queue backlogs, or a latent bug that only fires at high load, which was the race condition in EBS. Look for metrics that grow on their own: retry counts, queue depth, crash loops. Stabilise by cutting the loop: throttle retries, disable non-essential paths, isolate the unhealthy part. Then recover gradually so you don't trigger it again.
A strong answer hits:
- Rollback doesn't stop a feedback loop
- Identify self-amplifying metrics
- Shed load and isolate to stabilise
- Recover gradually with throttles
How did your answer compare?
Go deeper
- Official postmortemSummary of the Amazon EC2 and Amazon RDS Service Disruption in the US East RegionAmazon Web Services, link checked 2026-11-24