Interview Prep/AWS/High Availability, Backup and DR

What are the HA gaps in an EC2 instance with an attached EBS volume?

BeginnerProductionHigh Availability, Backup and DR
Answer

An EBS volume lives in one AZ and attaches to instances in that AZ only (io2 multi-attach is also AZ-scoped). If the AZ fails, the instance and its data are unavailable until recovery. Mitigations: keep the instance stateless with data in RDS/EFS/S3, take frequent snapshots (snapshots are regional and can restore in any AZ), use EC2 auto recovery for hardware failures, or run an application-level replica in another AZ.

aws All AWS questions Roadmap: Cloud cost & architecture

More on High Availability, Backup and DR