Learning Objectives
By the end of this chapter, you will be able to:
- Configure EC2 Auto Scaling groups with target tracking, step, scheduled, predictive policies, lifecycle hooks, and warm pools, attached to Application or Network Load Balancers.
- Implement caching for dynamic scalability with Amazon CloudFront and Amazon ElastiCache.
- Manage scaling and read capacity in Amazon RDS and Amazon DynamoDB.
- Design Multi-AZ and multi-Region topologies and configure Route 53 health checks and failover routing.
- Use Amazon Application Recovery Controller for routing controls and readiness checks.
- Automate backups and snapshots across EC2, EBS, RDS, S3, and DynamoDB with AWS Backup, including cross-Region and cross-account copy.
- Configure versioning for Amazon S3 and Amazon FSx.
- Apply the four standard disaster-recovery patterns: backup and restore, pilot light, warm standby, and active/active.
- Restore relational and NoSQL databases with point-in-time recovery to meet RTO, RPO, and cost requirements.
Executive Summary
- Reliability on AWS is built from four primitives that compose: horizontally scalable compute behind a load balancer, replicated state in managed databases, health-aware DNS, and automated recovery from snapshots.
- The four disaster-recovery patterns (backup and restore, pilot light, warm standby, active/active) trade RTO and RPO for cost. Pick the cheapest pattern that meets the recovery objectives, then audit it with Application Recovery Controller readiness checks.
- Auto Scaling, ElastiCache, RDS read replicas, and DynamoDB on-demand capacity each handle a different scaling axis. Mixing them correctly is how a workload absorbs load spikes without overprovisioning at baseline.
- AWS Backup is the central automation surface for cross-service, cross-Region, cross-account snapshot policies. Native snapshot APIs still work, but a single backup plan with vault lock is the operator-friendly path.
Assumptions
- The reader has working knowledge of CloudWatch metrics and alarms, IAM roles, and CloudFormation from Chapter 1.
- Regional terminology (Region, Availability Zone, edge location) is used per AWS documentation. Examples assume a multi-AZ VPC with public and private subnets in three Availability Zones.
- Code samples use the AWS CLI v2 syntax and CloudFormation YAML unless noted.
