Skill 2.2.2

Configure fault-tolerant systems (for example, Multi-AZ deployments)

Key Concepts

Run stateless instances in an Auto Scaling group across at least two AZs behind a load balancer; use RDS Multi-AZ (a DB instance with a synchronous standby, or a DB cluster with two readable standbys), Aurora replicas in other AZs, EFS Regional file systems, ElastiCache replication groups with Multi-AZ automatic failover, and NAT gateways per AZ (or a regional NAT gateway). Store state outside instances in DynamoDB, ElastiCache or S3, and decouple tiers with SQS so that a slow consumer does not lose work.

Amazon Application Recovery Controller (ARC) zonal shift moves load balancer traffic away from an impaired AZ for a set time; zonal autoshift lets AWS do this automatically when it detects an AZ impairment. ARC routing controls provide manual, highly available switches for Region-level failover. Elastic IP addresses can be remapped to a standby instance for single-instance designs.