Compute Optimizer analyzes your resource usage and recommends optimal configurations — right-sizing EC2 instances, EBS volumes, Lambda memory, and Auto Scaling groups — to cut cost and improve performance.
The tell
When a scenario needs data-driven right-sizing recommendations (is this instance over-provisioned? what memory should this Lambda have?), that’s Compute Optimizer. It uses machine learning on your utilization metrics. Cost Explorer analyzes spend; Compute Optimizer recommends the right resource size.
What Compute Optimizer does—and does not do
Compute Optimizer uses historical utilization and configuration data to recommend resource options; it does not automatically resize every resource simply because it makes a recommendation. Recommendations depend on supported resource types, available metrics, and the observation period. Use Cost Explorer when the primary question is where spending comes from, and Compute Optimizer when it is how to right-size a supported resource.
Exam traps and decision checks
- Recommendation vs action: recommendations inform a decision; review impact and compatibility before changing production resources.
- Metrics matter: insufficient or unrepresentative utilization data can limit recommendation quality.
- Different goal: cost allocation and billing analysis point toward billing tools; resource configuration compliance points toward AWS Config.
- Right-sizing is not always downsizing: a resource can be under-provisioned, so performance needs matter as much as cost.
Test yourself
A team suspects many EC2 instances are over-provisioned and wants machine-learning-based right-sizing recommendations. Which service?
- AWS Cost Explorer
- AWS Compute Optimizer
- AWS Config
- Amazon CloudWatch alarms
👉 Click to reveal the answer & explanation
Correct answer: B. Compute Optimizer analyzes utilization and recommends right-sized configurations for EC2, EBS, Lambda, and ASGs. Cost Explorer (A) analyzes spend but not resource right-sizing; Config (C) tracks configuration; CloudWatch alarms (D) react to thresholds, they don’t recommend sizing.
Related topics
AWS Cost Explorer · Amazon EC2 · AWS Trusted Advisor
Ready to pass your AWS exam?
Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.
- ✓ 6 full-length practice exams
- ✓ A detailed explanation for every single question
- ✓ Realistic, scenario-based questions — not memory dumps
- ✓ 6 months of access to your selected certification pack