What does this AWS Solution do?

Amazon Web Services (AWS) customers can access information in the AWS Management Console, Amazon CloudWatch, and AWS Trusted Advisor to gain insight into their service usage and estimated costs. This information can help organizations better understand how to leverage the elasticity and flexibility of the AWS Cloud to optimize their costs yet still meet their performance and capacity requirements.

Amazon Elastic Compute Cloud (Amazon EC2) provides a wide selection of instance types and sizes, giving customers the flexibility to right size compute resources to meet their capacity needs at the lowest cost. Amazon EC2 also generates detailed usage data to help determine how to better right size instances to meet the technical requirements of a given workload.

AWS offers the Cost Optimization: EC2 Right Sizing (EC2 Right Sizing) solution, which uses managed services to perform a right-sizing analysis and offer detailed recommendations for more cost-effective instances.

AWS Solution overview

The EC2 Right Sizing solution analyzes two weeks of utilization data to provide detailed recommendations for right sizing your Amazon EC2 instances. The diagram below presents the architecture you can automatically deploy using the solution's implementation guide and accompanying AWS CloudFormation template.

 Click to enlarge

Cost Optimization: EC2 Right Sizing architecture

The template launches an Amazon Redshift cluster, an Amazon Simple Storage Service (Amazon S3) bucket, and an Amazon EC2 instance in an Amazon Virtual Private Cloud (Amazon VPC) network. The instance hosts a series of Python scripts that upload utilization data from Amazon CloudWatch to Amazon Redshift for right-sizing analysis.

The results are delivered in CSV format to the Amazon S3 bucket, and include instance-by-instance recommendations and related cost savings.

This solution is intended for temporary deployment. After you save the results, you can automatically terminate the Amazon EC2 instance and Amazon Redshift cluster, and then manually delete the entire solution stack.

Cost Optimization: EC2 Right Sizing

Version 2.4.1
Last updated: 10/2019
Author: AWS

Estimated deployment time: 25 min

Use the button below to subscribe to solution updates.

Note: To subscribe to RSS updates, you must have an RSS plug-in enabled for the browser you are using.  


Cost Optimization: EC2 Right Sizing reference implementation

The CloudFormation template will automatically launch and configure the components necessary to run a custom query and return detailed right-sizing recommendations.

Right-Sizing recommendations

The solution provides detailed right-sizing recommendations to meet the current demand while reducing the overall cost to run the workload. The analysis shows line items for the estimated monthly savings you will gain with each instance change.
Explore all AWS Solutions

Browse our portfolio of AWS-built solutions to common architectural problems.

Learn more 
Find a Partner

Find AWS certified consulting and technology partners to help you get started.

Learn more 
Start building in the console

Sign-up and start exploring our services.

Get started