How do you design multi-AZ resilience for a service on EKS?
AdvancedScenarioEKS and cluster operations
Answer
Situation read → The business wants to survive an AZ outage.
What I'd do →
- Run nodes in at least three AZs
- Use
topologySpreadConstraintson zone withmaxSkew: 1 - Set PDBs and enough replicas to absorb one AZ loss
- Use a regional database (Aurora Multi-AZ)
- Test with a zone drain or AWS FIS experiment
Why → Spreading plus headroom means the loss of a zone leaves capacity.
Interview tip → Mention cross-AZ data transfer cost.
More on EKS and cluster operations
How do you create a production-ready EKS cluster and what do you decide up front?BeginnerPods on EKS run out of IP addresses. What happened and how do you fix it?IntermediateHow do you give a new engineer access to an EKS cluster?IntermediateCompare managed node groups, self-managed nodes, Fargate and Karpenter.IntermediateHow do you upgrade an EKS cluster from 1.31 to 1.32 with minimal risk?AdvancedA node group upgrade is slow or stuck on EKS. What do you look at?Intermediate