How do you prove your platform survives the loss of a whole Availability Zone?
AdvancedScenarioOutages and incident response
Answer
Situation read → "We're multi-AZ" on a diagram isn't proof. You need a controlled test that actually removes an AZ and measures what happens.
What I'd do →
- Check the design first: replicas spread with topology spread constraints, enough spare capacity in the remaining AZs (N+1), one NAT gateway per AZ, Multi-AZ databases, and no single-AZ dependencies (an EBS-backed singleton, a self-managed broker).
- Plan a game day in staging, then prod at low traffic, with a clear abort plan and stakeholders informed.
- Simulate the failure with AWS Fault Injection Service (FIS has AZ power interruption scenarios) or by blocking the AZ's subnets with NACLs and cordoning its nodes.
- Measure: error rate, latency, time to recover, whether autoscaling replaced capacity, and whether alerts fired correctly.
- Write up the findings and fix them, then repeat each quarter.
Why → Failures you rehearse become routine; failures you don't usually reveal a hidden single point of failure at the worst time.
Interview tip → Mention capacity headroom: surviving an AZ loss means the remaining AZs must handle all the traffic.
More on Outages and incident response
You're on call and get paged at 3 AM: "Checkout error rate 25%". What do you do in the first 15 minutes?BeginnerA major outage involves four teams and everyone is talking at once. You're asked to be incident commander. What do you do?IntermediateOn-call gets 300 alerts a day and people have started ignoring them. How do you fix alerting?IntermediateA customer told you about an outage on social media before your monitoring did. How do you fix detection?BeginnerDuring an incident, you can roll back or push a forward fix the developer says is ready in 10 minutes. How do you decide?IntermediateDuring an outage, your Prometheus and Grafana went down too, because they ran in the same cluster. How do you design monitoring so this doesn't happen?Advanced