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.
More on High Availability, Backup and DR
What is the difference between high availability and disaster recovery?BeginnerExplain the four AWS DR strategies and their trade-offs.IntermediateHow do you turn business requirements into RTO and RPO numbers?BeginnerWhat does "static stability" mean and why does AWS keep talking about it?AdvancedHow do you survive an AZ failure for a web tier?BeginnerWhat is zonal autoshift and when would you enable it?Advanced