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
- Malicious npm Package Exfiltrated Environment Variables at Build Time
- N+1 Query Pattern That Collapsed Under Load
- NAT Gateway Port Exhaustion Under Bursty Lambda Traffic
- Node.js Memory Leak That Required Daily Restarts
- Public S3 Bucket Exposed Customer PII for 8 Months
- Silent Data Corruption from an Off-By-One Migration
- The Cascade That Took Down Three Services
- Third-Party API Outage That Was Mistaken for Own Code
- Thundering Herd After a Cache Cluster Restart
- TLS Certificate Expiry That Took Down an Internal API
Start free on Cariara · Coding problems · System design studio