0zerodowntime.in

Note

AWS us-east-1, December 2021: clients that did not back off

· Source dated 2021-12-10 · 1 min read

A scaling activity made internal clients flood AWS's network devices, and missing back-off in those clients delayed the recovery.

Summary of the AWS Service Event in the Northern Virginia (US-EAST-1) Region (Amazon Web Services) ↗

On 7 December 2021 an automated scaling activity in AWS’s main network triggered the event. AWS wrote that a surge of connections from internal clients overwhelmed the devices linking the internal and main networks. It adds that “a latent issue prevented these clients from adequately backing off”.

Our opinion. Test your retry code under load, not only on paper. Use exponential back-off with jitter and a retry budget in every client. Also check that your monitoring and status page do not sit behind the system that failed, because AWS said its own monitoring was affected.

Discussion on Hacker News: https://news.ycombinator.com/item?id=29516482 (638 points)

awsus-east-1postmortemretriesnetworking