Skill 2.1.2
Determining scaling strategies for components used in an architecture design
Key Concepts
Horizontal scaling (scale out) adds more instances and is preferred: EC2 Auto Scaling groups behind a load balancer, ECS service auto scaling, Lambda concurrency, DynamoDB partitions, Aurora and RDS read replicas. Vertical scaling (scale up) means a larger instance; it is simple but has limits and usually requires a restart.
Service-specific options: EC2 Auto Scaling with target tracking, step, scheduled and predictive policies; Application Auto Scaling for ECS, DynamoDB provisioned capacity, Aurora replicas, Lambda provisioned concurrency and more; Aurora Serverless v2 and DynamoDB on-demand scale automatically; S3, SQS, SNS and Lambda scale without configuration (within quotas).
Scaling requires statelessness (sessions in ElastiCache or DynamoDB), caching (CloudFront, ElastiCache) to reduce load, and buffering (SQS) to absorb spikes so back ends can scale gradually.