What is Amazon Compute Optimizer? - Amazon Compute Optimizer
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

What is Amazon Compute Optimizer?

Amazon Compute Optimizer is a service that analyzes your Amazon resources' configuration and utilization metrics to provide you with rightsizing recommendations. It reports whether your resources are optimal, and generates optimization recommendations to reduce the cost and improve the performance of your workloads. Compute Optimizer also provides graphs showing recent utilization metric history data, as well as projected utilization for recommendations, which you can use to evaluate which recommendation provides the best price-performance trade-off. The analysis and visualization of your usage patterns can help you decide when to move or resize your running resources, and still meet your performance and capacity requirements.

Compute Optimizer provides a console experience, and a set of APIs that allows you to view the findings of the analysis and recommendations for your resources across multiple Amazon Regions. You can also view findings and recommendations across multiple accounts, if you opt in the management account of an organization. The findings from the service are also reported in the consoles of the supported services, such as the Amazon EC2 console.

Supported resources and requirements

Compute Optimizer generates recommendations for the following resources:

  • Amazon Elastic Compute Cloud (Amazon EC2) instances

  • Amazon EC2 Auto Scaling groups

  • Amazon Elastic Block Store (Amazon EBS) volumes

  • Amazon Lambda functions

  • Amazon Elastic Container Service (Amazon ECS) services on Amazon Fargate

  • Commercial software licenses

For Compute Optimizer to generate recommendations for these resources, they must meet a specific set of requirements, and must have accumulated sufficient metric data. For more information, see Supported resources and requirements.

Opting in

You must opt in to have Compute Optimizer analyze your Amazon resources. The service supports standalone Amazon accounts, member accounts of an organization, and the management account of an organization. For more information, see Getting started with Amazon Compute Optimizer.

Analyzing metrics

After you opt in, Compute Optimizer begins analyzing the specifications and the utilization metrics of your resources from Amazon CloudWatch for the last 14 days. For example, for Amazon EC2 instances, Compute Optimizer analyzes the vCPUs, memory, storage, and other specifications. It also analyzes the CPU utilization, network in and out, disk read and write, and other utilization metrics of currently running instances. For more information, see Metrics analyzed by Amazon Compute Optimizer.

Enhancing recommendations

After you opt in, you can enhance your recommendations by activating recommendation preferences, such as the enhanced infrastructure metrics paid feature. It extends the metrics analysis look-back period for EC2 instances, including instances in Auto Scaling groups, to three months (compared to the 14-day default). For more information, see Recommendation preferences.

Viewing findings and recommendations

Optimization findings for your resources are displayed on the Compute Optimizer dashboard. For more information, see Viewing the Amazon Compute Optimizer dashboard.

The top optimization recommendations for each of your resources are listed on the recommendations page. The top 3 optimization recommendations and utilization graphs for a specific resource are listed on the resource details page. For more information, see Viewing resource recommendations.

Export your optimization recommendations to record them over time, and share the data with others. For more information, see Exporting recommendations.


To view the currently supported Amazon Regions and endpoints for Compute Optimizer, see Compute Optimizer Endpoints and Quotas in the Amazon General Reference.