Core Concepts
- High Availability (HA): Minimizing downtime by deploying resources across multiple Availability Zones (AZs). AZs are physically separate data centers within a Region.
- Fault Tolerance: The ability of a system to continue operating even when one or more components fail, often requiring redundancy.
- Disaster Recovery (DR): Strategies to restore operations after a major failure. Key metrics are RTO (Recovery Time Objective) and RPO (Recovery Point Objective).
Key Services and Patterns
- Elastic Load Balancing (ELB): Distributes traffic across multiple targets (EC2, containers, Lambda) in one or more AZs. Application Load Balancer (ALB) operates at Layer 7; Network Load Balancer (NLB) at Layer 4.
- Auto Scaling: Automatically adjusts the number of EC2 instances based on demand or schedules, maintaining availability and controlling cost.
- Amazon RDS Multi-AZ: Synchronously replicates data to a standby instance in a different AZ; failover is automatic. Read Replicas provide read scalability but are not a HA failover mechanism by default.
- Amazon S3: Automatically stores data across a minimum of three AZs (for standard storage classes), providing 99.999999999% (11 nines) durability.
- Amazon Route 53: DNS service supporting routing policies (failover, weighted, latency-based, geolocation) used to route traffic away from unhealthy endpoints.
- AWS Global Accelerator: Routes traffic through the AWS global network to healthy endpoints, improving availability and reducing latency.
- Decoupling with SQS: Amazon SQS queues decouple producers and consumers, so a failure in one component does not immediately cascade to others.
DR Strategy Tiers (lowest to highest cost/complexity)
- Backup and Restore: Store backups in S3; restore when needed. Highest RTO/RPO.
- Pilot Light: Minimal core infrastructure running in AWS; scale up during a disaster.
- Warm Standby: A scaled-down but fully functional environment runs continuously.
- Multi-Site Active/Active: Full capacity running in multiple locations simultaneously. Lowest RTO/RPO, highest cost.
Exam Tips
- Questions often ask you to eliminate single points of failure—look for multi-AZ and multi-region options.
- Prefer managed services (RDS, ELB, SQS) over self-managed ones for built-in resilience.
- Understand when to use S3 versioning and Cross-Region Replication (CRR) to protect against data loss.