Learning Objectives
By the end of this chapter, you will be able to:
- Select Multi-AZ and multi-Region AWS service patterns to meet stated resilience requirements.
- Design Amazon EC2 Auto Scaling and Application Auto Scaling configurations for load, failure, and instance lifecycle events.
- Apply Amazon ElastiCache and Amazon CloudFront caching to mask backend failures and shed origin load.
- Pick a disaster-recovery posture (backup and restore, pilot light, warm standby, multi-site active/active) for a given RTO and RPO.
- Configure AWS Backup, EBS and RDS snapshots, and cross-Region replication to meet retention and recovery objectives.
- Automate failure detection and recovery with Amazon Route 53 health checks, EC2 Auto Scaling health checks, and AWS Lambda.
- Build loosely coupled architectures using Amazon SQS, Amazon SNS, and Amazon EventBridge.
- Identify scaling-limit risks (service quotas, throttling) and design mitigations.
- Validate resilience hypotheses with AWS Fault Injection Service.
Executive Summary
- Availability is achieved by isolating failure domains, removing single points of failure, and proving recovery paths through controlled fault injection rather than by adding more redundancy after an incident.
- AWS service-level HA splits into single-Region multi-AZ (the default for the majority of workloads) and multi-Region patterns reserved for low-RTO/RPO requirements or data-sovereignty constraints.
- Scaling is the product of automation policies (target tracking, step, scheduled, predictive), service-quota headroom, and architectural decoupling.
- Disaster-recovery design is a four-point selection (backup and restore, pilot light, warm standby, multi-site active/active) driven by RTO and RPO, not by service preference.
- Loosely coupled message-driven architectures allow components to absorb backpressure and tolerate downstream failures, which is the dominant scaling pattern beyond vertical instance growth.
Assumptions
- The reader has built CI/CD pipelines, authored CloudFormation templates, and operates production AWS workloads.
- Workloads target the AWS commercial partition; the same patterns apply to GovCloud and the China Regions with quota and feature variations.
- All Region and Availability Zone identifiers in code samples are illustrative placeholders.
- Terms introduced in earlier chapters (AWS CodeDeploy, CloudFormation StackSets, Systems Manager Automation, AWS Organizations, IAM Identity Center) are used without re-definition.
