Level 200: Rightsizing with Compute Optimizer

Last Updated

October 2021


  • Jeff Kassel, AWS Technical Account Manager
  • Arthur Basbaum, AWS Cloud Economics
  • Travis Ketcherside, AWS Technical Account Manager


If you wish to provide feedback on this lab, there is an error, or you want to make a suggestion, please email: costoptimization@amazon.com


This hands-on lab will guide you through the steps to install the CloudWatch agent to collect memory utilization (% GB consumption) and analyze how that new datapoint can help during rightsizing exercises with the AWS Compute Optimizer.


  • Install and collect memory statistics through a custom metric using Amazon CloudWatch
  • Use AWS Compute Optimizer to gain insights into rightsizing recommendations on AWS



Use of AWS Compute Optimizer is free, but costs associated with CloudWatch and EC2 will be accrued once free tier usage is consumed. Please visit the CloudWatch and EC2 pricing pages for additional details.

Permissions required

  • IAM permissions for read-only access for AWS Compute Optimizer
  • NOTE: There may be permission error messages during the lab, as the console may require additional privileges. These errors will not impact the lab, and we follow security best practices by implementing the minimum set of privileges required.