AWS Certified CloudOps Engineer Associate SOA-C03 [2026]

AWS Compute Optimizer: Right-Sizing EC2, EBS, and Lambda Resources

Learn how AWS Compute Optimizer uses historical CloudWatch utilization data to recommend cost-saving and performance-improving configurations for EC2, EBS, and Lambda.

AWS Certified CloudOps Engineer Associate SOA-C03 [2026]AWS Certified CloudOps Engineer Associate SOA-C03 [2026]Updated Sep 1, 2026
Study options
WatchComing later
ListenComing later
ReadAvailable
ReviewComing later

Study guide

Technical reference and lesson notes

AWS Compute Optimizer: Right-Sizing EC2, EBS, and Lambda Resources

Purpose of This Lesson

AWS Compute Optimizer analyzes historical utilization data and recommends more appropriate AWS resource configurations. Its purpose is to reduce unnecessary spending caused by overprovisioning while helping identify resources that may not have enough capacity to support their workloads.

For the AWS Certified CloudOps Engineer Associate SOA-C03 context, the key skill is recognizing Compute Optimizer as a recommendation service for resource right-sizing and understanding how to interpret its findings before making changes.

Key Concepts

  • AWS Compute Optimizer: A service that uses machine learning to analyze historical utilization metrics and recommend resource configurations.
  • Historical utilization data: Compute Optimizer uses metrics available through Amazon CloudWatch to assess how resources have been used over time.
  • Overprovisioned resource: A resource has more CPU, memory, storage, or other capacity than its workload requires. This can create avoidable cost.
  • Underprovisioned resource: A resource may need additional capacity for a specific dimension, such as CPU, memory, or storage.
  • Optimized resource: The current configuration is considered appropriate based on the available analysis.
  • Recommendations: Results can be reviewed in the AWS Management Console or through the AWS CLI.

Compute Optimizer Findings and Recommendation Workflow

Compute Optimizer provides guidance for:

  • Amazon EC2 instances
  • Amazon EBS volumes
  • AWS Lambda functions

It can also present findings for EC2 instances associated with Auto Scaling groups. At a high level, the workflow is:

  1. Review the overall optimization dashboard.
  2. Identify resources categorized as overprovisioned, underprovisioned, or optimized.
  3. Open the recommendations for the relevant resource type.
  4. Inspect the individual resource, current configuration, recommended configuration, and estimated cost impact.
  5. Decide whether to implement the recommendation after validating workload requirements and operational constraints.

For EC2, a recommendation can include the instance ID, the current instance type, the recommended instance type, and an indication of potential cost savings. For example, a recommendation may suggest moving from a larger, more expensive instance type to a smaller or otherwise more suitable type when utilization indicates that the current configuration is excessive.

Cost and Performance Optimization Context

Overprovisioning

Overprovisioning means paying for capacity that the workload does not use. Compute Optimizer can help identify this condition by comparing historical utilization with the current resource configuration. Reducing the size or changing the type of an overprovisioned resource may lower cost, but the recommendation should still be reviewed against workload behavior and service requirements.

Underprovisioning

Underprovisioning indicates that a resource may not have enough capacity in one or more dimensions. The limiting factor might be CPU, memory, or storage. An underprovisioned finding should be treated as a potential performance or reliability concern rather than merely a cost issue.

Auto Scaling Groups

The Compute Optimizer dashboard can also summarize findings for Auto Scaling groups. This helps identify optimization opportunities across groups rather than examining only isolated EC2 instances. Detailed analysis still requires reviewing the relevant recommendations and workload context.

Accessing Results

Recommendations are available through both the AWS Management Console and the AWS CLI. The console provides dashboard and resource-level views, while CLI access supports inspecting recommendations through command-line workflows.

Exam- or Assessment-Relevant Takeaways

  • Select AWS Compute Optimizer when the requirement is to receive data-driven recommendations for right-sizing AWS resources.
  • Compute Optimizer uses machine learning and historical CloudWatch utilization metrics; it is not simply a static catalog of instance specifications.
  • Know the supported recommendation areas from this lesson: EC2 instances, EBS volumes, and Lambda functions.
  • Distinguish overprovisioned from underprovisioned findings. Overprovisioning primarily suggests wasted spend; underprovisioning may indicate a capacity or performance problem.
  • EC2 recommendations can show the current instance type, recommended instance type, and estimated cost savings.
  • Compute Optimizer provides recommendations; the operator remains responsible for validating and implementing changes safely.
  • Findings can be reviewed in the AWS Management Console or AWS CLI, including summaries involving Auto Scaling groups.

Tool / Feature Decision Guide

RequirementAppropriate Compute Optimizer useReason
Find EC2 instances with excess capacityReview EC2 overprovisioned findingsThe service compares historical utilization with the current configuration.
Identify possible EC2 capacity shortagesReview underprovisioned findingsThe recommendation may highlight a need for more CPU, memory, or storage capacity.
Evaluate EBS volume configurationReview EBS recommendationsEBS volumes are one of the supported resource categories.
Evaluate Lambda resource configurationReview Lambda recommendationsLambda functions are included in Compute Optimizer guidance.
Assess optimization opportunities across an Auto Scaling groupReview the Auto Scaling group findings and underlying recommendationsThe dashboard can summarize optimization status for groups.
Automate or inspect recommendations from a command-line workflowUse the AWS CLICompute Optimizer results can be accessed through the CLI as well as the console.
Make an immediate unreviewed production changeDo not treat the recommendation as an automatic changeRecommendations must be evaluated against workload and operational requirements.

Common Traps / Misconceptions

  • Confusing recommendations with automatic resizing: Compute Optimizer recommends configurations; the lesson does not indicate that it automatically changes resources.
  • Assuming every finding is a cost problem: Overprovisioning suggests wasted cost, while underprovisioning can signal inadequate capacity and performance risk.
  • Looking only at CPU: The relevant constraint may involve memory or storage instead of CPU.
  • Treating the current resource type as inherently optimal: Compute Optimizer compares the current configuration with historical utilization and may recommend a different type.
  • Assuming Compute Optimizer is limited to EC2: The lesson also identifies EBS volumes and Lambda functions as supported targets.
  • Ignoring Auto Scaling groups: Optimization findings can be summarized for Auto Scaling groups, not only for standalone instance views.
  • Applying a recommendation without validation: Historical metrics are useful evidence, but changes still need to be checked against workload behavior and operating requirements.

Real-World Engineer / Analyst Notes

  • Start with the summary dashboard to prioritize resources marked overprovisioned or underprovisioned, then drill into individual recommendations.
  • Use the estimated cost impact to prioritize likely savings, but do not evaluate a change on cost alone.
  • Investigate which resource dimension appears constrained or unused. A recommendation involving CPU may require a different operational response than one involving memory or storage.
  • For Auto Scaling groups, consider the group-level behavior rather than changing one instance without understanding how the group manages capacity.
  • Treat recommendations as evidence from historical utilization. Confirm that the observed period represents normal workload behavior before making a production change.
  • The console is useful for visual review; CLI access is useful when recommendations need to be inspected as part of command-line or operational workflows.

Quick Reference Summary

  • Service: AWS Compute Optimizer
  • Purpose: Recommend better resource configurations to reduce cost and improve performance
  • Analysis method: Machine learning applied to historical utilization metrics
  • Metric source referenced in the lesson: Amazon CloudWatch
  • Primary findings: Overprovisioned, underprovisioned, and optimized
  • Supported resources: EC2 instances, EBS volumes, and Lambda functions
  • Additional view: Auto Scaling group optimization findings
  • Access methods: AWS Management Console and AWS CLI
  • EC2 recommendation details: Instance ID, finding, current instance type, recommended instance type, and cost savings
  • Operational rule: Review and validate recommendations before implementing changes

Flashcards

Q: A workload has been running for a while, and its EC2 instance appears to use far less capacity than allocated. Which AWS service should you review?
A: Review AWS Compute Optimizer. It uses historical utilization data, including CloudWatch metrics, to identify overprovisioning and recommend a more suitable configuration.

Q: What is the main difference between an overprovisioned and an underprovisioned resource?
A: An overprovisioned resource has more capacity than the workload needs and may waste money. An underprovisioned resource may lack enough CPU, memory, storage, or another required capacity dimension.

Q: Which resource categories does Compute Optimizer cover in this lesson?
A: Amazon EC2 instances, Amazon EBS volumes, and AWS Lambda functions.

Q: An administrator wants to see the current EC2 instance type, suggested instance type, and estimated savings for one instance. Where should they look?
A: They should open the EC2 recommendations in Compute Optimizer and inspect the individual instance-level recommendation.

Q: Why might Compute Optimizer recommend changing an EC2 instance type?
A: Historical utilization may show that the current type is too large, too small, or otherwise not a good match for the workload. The recommendation may improve cost efficiency or capacity suitability.

Q: What data does Compute Optimizer analyze to produce recommendations?
A: It analyzes historical utilization metrics, including metrics available through Amazon CloudWatch, using machine learning.

Q: When would the AWS CLI be useful for Compute Optimizer?
A: Use the CLI when recommendations need to be accessed or inspected through a command-line operational workflow rather than only through the console.

Q: How is an Auto Scaling group represented in the Compute Optimizer workflow?
A: Compute Optimizer can provide optimization findings and summaries for Auto Scaling groups, allowing opportunities to be reviewed at the group level as well as for individual instances.

Q: Why should an underprovisioned finding not be treated solely as a cost-optimization opportunity?
A: Underprovisioning may indicate insufficient CPU, memory, or storage and therefore may create performance or capacity risk.

Q: What is the operational difference between a Compute Optimizer recommendation and a completed resource change?
A: A recommendation is analysis and guidance; it does not by itself mean the resource has been resized or modified. An operator must validate and implement the change.

Q: An EBS volume appears in the optimization results. Which Compute Optimizer capability applies?
A: EBS volume optimization guidance applies because EBS volumes are one of the supported resource categories.

Q: What is the trap in evaluating an optimization recommendation using only CPU utilization?
A: CPU may not be the limiting or wasteful dimension. The relevant issue could instead involve memory or storage, so the recommendation must be evaluated across the applicable resource characteristics.

Practice Questions

1. An operations team wants to identify EC2 instances that are wasting money because they have substantially more allocated capacity than their workloads use. Which approach best fits the requirement?

A. Review AWS Compute Optimizer EC2 overprovisioned findings
B. Review only the list of optimized instances
C. Replace every instance with the smallest available instance type
D. Inspect Lambda recommendations instead

Correct answer: A

Explanation: Compute Optimizer uses historical utilization data to identify overprovisioned EC2 instances and recommend more suitable configurations. Arbitrarily selecting the smallest instance type is not a data-driven or safe approach.

2. A Compute Optimizer recommendation identifies an EC2 instance as underprovisioned. The team wants to determine what kind of capacity may be insufficient. What should they do next?

A. Assume the issue is always CPU
B. Review the detailed recommendation and assess CPU, memory, and storage requirements
C. Delete the instance and recreate it as a Lambda function
D. Ignore the finding because underprovisioning only affects cost

Correct answer: B

Explanation: The lesson identifies CPU, memory, and storage as possible capacity dimensions. An underprovisioned finding may indicate a performance or capacity problem, not merely a billing issue.

3. An engineer needs to inspect optimization recommendations as part of a command-line workflow. Which access method should be selected?

A. AWS Management Console only
B. Amazon CloudWatch dashboards only
C. AWS CLI access to Compute Optimizer results
D. An EC2 instance metadata request

Correct answer: C

Explanation: Compute Optimizer results can be viewed through the console or accessed through the AWS CLI, making the CLI appropriate for command-line workflows.

4. A team sees a recommendation to move an EC2 instance to a less expensive instance type. What is the most appropriate operational response?

A. Apply the change immediately because all recommendations are automatic
B. Validate the recommendation against workload requirements and then plan the change
C. Disregard it because Compute Optimizer only evaluates EBS volumes
D. Increase the instance size first and recheck later

Correct answer: B

Explanation: Compute Optimizer provides recommendations based on historical utilization, but the operator must validate workload behavior and operational requirements before implementation.

WordPress Metadata

Suggested Slug:
aws-compute-optimizer-right-sizing

Meta Description:
Learn how AWS Compute Optimizer uses historical CloudWatch utilization data to recommend cost-saving and performance-improving configurations for EC2, EBS, and Lambda.

Tags:
AWS Compute Optimizer, AWS Certified CloudOps Engineer, SOA-C03, EC2 right-sizing, EBS optimization, Lambda optimization, cost optimization, performance optimization, CloudWatch metrics, Auto Scaling groups