Single-Region Dependency That Caused a Global Outage

A globally deployed service collapsed because its auth token endpoint was pinned to a single AWS region.

Overview

A service running in four AWS regions failed in all four at once because every region checked tokens against one endpoint in us-east-1.

What happened

The service advertised 99.99% uptime in its SLA, and customers paid for multi-region resilience. One night us-east-1 had elevated API error rates for about 40 minutes. Compute in all four regions kept running, yet authenticated requests began failing everywhere. The event unfolded in four stages.

  • us-east-1 showed elevated API errors, which lasted about 40 minutes.
  • Compute in all four regions kept running normally.
  • Within 8 minutes, authenticated requests were failing globally.
  • The postmortem went looking for the cause and found 23 more hidden us-east-1 dependencies.

Key concepts

  • Soft dependency
  • Data plane vs control plane
  • Token caching
  • Regional isolation

Interview questions

  • How would you redesign the auth system to eliminate the single-region dependency?
  • How do you audit an existing system for hidden single-region or single-AZ dependencies?

Sign up free to read the full topic

More War Stories topics

Start free on Cariara · Coding problems · System design studio