Skill 4.3.3
Determine minimum memory and compute power for an application
Key Concepts
For Lambda, compare max memory used with the configured size, and run AWS Lambda Power Tuning, which invokes the function at several memory sizes and charts cost against speed. Because CPU scales with memory, the cheapest setting is not always the smallest.
For EC2 and ECS, compare CPU and memory utilisation in CloudWatch (memory needs the CloudWatch agent or Container Insights) with the allocated size. Load testing before release confirms the chosen size handles peak traffic.