Skill 1.3.3
Developing the optimal architecture by considering scale-up and scale-out options
Key Concepts
Scale out (more instances, shards, partitions) improves resilience and elasticity and suits stateless tiers, DynamoDB, Kinesis shards and read replicas. Scale up (bigger instances) is simpler for components that cannot be distributed, such as a single writer database, but has limits and usually requires a restart or failover.
Delay scale-up with caching (ElastiCache, DAX), read replicas, connection pooling (RDS Proxy) and query optimisation; move to Aurora Serverless v2 or DynamoDB when scaling must be automatic.