AlgoViz

The AWS outage of December 2021

medium 26 min

On 7 December 2021 an automated scaling activity in US-EAST-1 triggered a surge of connections that overwhelmed the devices between two AWS networks.

Where it shows up

The same pattern appears across everyday software.

  • Congestion collapse, 1984

    RFC 896 describes hosts that resend packets until the network delivers little that is new, and notes that the condition is stable.

  • Backoff and jitter in clients

    The AWS Architecture Blog showed in 2015 that adding randomness to the waits reduces both the work and the time to finish.

  • Static stability in EC2

    The Amazon Builders' Library describes services that overprovision so they keep working without launching instances when a zone is impaired.

  • Control and data planes

    The AWS Well-Architected reliability guidance advises relying on the data plane, not the control plane, during recovery.

  • Reconnect storms

    After a chat or game gateway restarts, all clients reconnect. Random delays and limits on new connections keep the gateway alive.

  • Separate lanes for foundations

    Teams give DNS, sign-in and monitoring their own capacity, so that ordinary traffic cannot crowd them out.