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

Test yourself

Practice question

A team suspects many EC2 instances are over-provisioned and wants machine-learning-based right-sizing recommendations. Which service?

  1. AWS Cost Explorer
  2. AWS Compute Optimizer
  3. AWS Config
  4. 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

CloudExamPro Premium

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

See the Practice Exam Packs →