Skill 4.2.6
Selecting the appropriate instance size for a workload
Key Concepts
Use AWS Compute Optimizer (EC2, Auto Scaling groups, EBS, Lambda, ECS on Fargate) and Cost Explorer right-sizing recommendations based on CloudWatch utilisation. Install the CloudWatch agent so memory utilisation is included.
Downsize within the family, or prefer more smaller instances in an Auto Scaling group over a few large ones for finer-grained scaling. Right-size before buying Savings Plans or Reserved Instances so you do not commit to waste.
Review regularly: workloads change, and new instance generations may offer the same performance at a smaller size.