Why AWS Compute Optimizer?
AWS Compute Optimizer recommends optimal AWS resources for your workloads to reduce costs and improve performance by using machine learning to analyze historical utilization metrics. With the default version of Compute Optimizer, you pay only for the Amazon Elastic Compute Cloud (EC2) instances, Amazon Elastic Container Service (ECS) services on AWS Fargate, Amazon Elastic Block Store (EBS) volumes, AWS Lambda functions, and Amazon Relational Database Service (RDS) DB instances you use to run your applications and for Amazon CloudWatch monitoring fees. The default Compute Optimizer option analyzes your Amazon CloudWatch metrics for the last 14 days to provide recommendations.
To receive Amazon EC2,Auto Scaling group, or Amazon RDS recommendations that capture monthly or quarterly utilization patterns, you can activate Compute Optimizer enhanced infrastructure metrics—a paid feature. With the feature activated, Compute Optimizer ingests and analyzes up to six times more Amazon CloudWatch utilization metrics history than the default Compute Optimizer option (up to three months of history compared to 14 days). Enhanced infrastructure metrics cost $0.0003360215 per resource per hour and are charged based on the number of hours per month the resource is running. The feature would cost $0.25 per resource per month for resources running a full 31-day month.
There is no additional charge for AWS Compute Optimizer. You pay only for the AWS resources needed to run your applications and Amazon CloudWatch monitoring fees.
Pricing Table
Enhanced infrastructure metrics for EC2 | $0.0003360215 resource/hour based on the number of hours a resource is running per month |
Enhanced infrastructure metrics for RDS | $0.0003360215 resource/hour based on the number of hours a resource is running per month |
Pricing Examples
Example 1: Customer activates enhanced infrastructure metrics for five EC2 instances on July 15. EC2 instances are running throughout the entire month (744 hours).
Let’s say you’ve activated enhanced infrastructure metrics on five resources on July 15. Compute Optimizer will charge you for activating enhanced infrastructure metrics just for those five resources during the time that the resources ran. Assuming the resources ran for 31 days (744 hours), the bill at the end of the month for Compute Optimizer would be calculated as follows:
Usage type | Number of resources | Hours resources are running | Billable hours | Hourly charge |
Monthly charge |
Enhanced infrastructure metrics | 5 | 744 | 744 | $0.0003360215 | 5 * 744 * $0.0003360215 = $1.25 |
Example 2: Customer activates enhanced infrastructure metrics for a fixed-size (four) Auto Scaling group. The number of distinct EC2 instances that ran within the Auto Scaling group in July was five.
Let’s say you’ve activated enhanced infrastructure metrics for a fixed-size four-instance Auto Scaling group. Compute Optimizer will charge you for activating enhanced infrastructure metrics just for the instances that ran within that Auto Scaling group during that month. Assuming three resources ran for 31 days (744 hours) and two ran for half the month (372 hours), the bill at the end of the month for Compute Optimizer would be calculated as follows:
Usage type | Number of resources | Hours resources are running | Billable hours | Hourly charge |
Monthly charge |
Enhanced infrastructure metrics |
3 | 744 | 744 | $0.0003360215 | 3 * 744 * $0.0003360215 = $0.75 |
Enhanced infrastructure metrics | 2 | 372 | 372 | $0.0003360215 | 2 * 372 * $0.0003360215 = $0.25 |
Total = $1.00 |
Example 3: Customer activates enhanced infrastructure metrics for five EC2 instances on June 20. The five instances run for only 15 days (360 hours).
Let’s say you’ve activated enhanced infrastructure metrics on five instances on June 20. Compute Optimizer will charge you for activating enhanced infrastructure metrics just for those five instances and charge you for the number of hours those instances ran. Assuming that the resources ran for only 15 days (360 hours), the bill at the end of that month for Compute Optimizer would be calculated as follows:
Usage type | Number of resources | Hours resources are running |
Billable hours | Hourly charge | Monthly charge |
Enhanced infrastructure metrics |
5 | 360 | 360 | $0.0003360215 |
5 * 360 * $0.0003360215= $0.6048387 |
Additional pricing resources
Easily calculate your monthly costs with AWS
Contact AWS specialists to get a personalized quote