compute-optimizer
compute-optimizer
User Guide
AWS Compute Optimizer User Guide
Amazon's trademarks and trade dress may not be used in connection with any product or service that is not
Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or
discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may
or may not be affiliated with, connected to, or sponsored by Amazon.
AWS Compute Optimizer User Guide
Table of Contents
What is Compute Optimizer? ............................................................................................................... 1
Supported resources and requirements ......................................................................................... 1
Opting in .................................................................................................................................. 1
Metrics analyzed ........................................................................................................................ 1
Findings and recommendations .................................................................................................... 1
Availability ................................................................................................................................ 2
Requirements .................................................................................................................................... 3
CloudWatch metric requirements ................................................................................................. 3
Amazon EC2 instance requirements .............................................................................................. 3
Auto Scaling group requirements ................................................................................................. 4
Amazon EBS volume requirements ............................................................................................... 4
Lambda function requirements .................................................................................................... 4
Getting started .................................................................................................................................. 5
Required permissions .................................................................................................................. 5
Accounts supported by Compute Optimizer ................................................................................... 5
Opting in your account ............................................................................................................... 6
Opting out your account ............................................................................................................. 7
Controlling access ...................................................................................................................... 8
Compute Optimizer and AWS Organizations trusted access ...................................................... 8
Policy to opt in to Compute Optimizer ................................................................................. 8
Policies to grant access to Compute Optimizer for standalone AWS accounts .............................. 9
Policies to grant access to Compute Optimizer for a management account of an organization ...... 10
Policy to deny access to Compute Optimizer ........................................................................ 11
Using Service-Linked Roles ........................................................................................................ 11
Service-Linked Role permissions for Compute Optimizer ....................................................... 11
Service-Linked Role permissions ......................................................................................... 12
Creating a Service-Linked Role for Compute Optimizer .......................................................... 13
Editing a Service-Linked Role for Compute Optimizer ........................................................... 13
Deleting a Service-Linked Role for Compute Optimizer .......................................................... 13
Supported Regions for Compute Optimizer Service-Linked Roles ............................................ 13
AWS managed policies .............................................................................................................. 13
ComputeOptimizerServiceRolePolicy ................................................................................... 14
ComputeOptimizerReadOnlyAccess ..................................................................................... 15
Policy updates ................................................................................................................. 16
S3 bucket policy for Compute Optimizer ..................................................................................... 16
Using encrypted S3 buckets for your recommendations export ............................................... 16
Specifying an existing bucket for your recommendations export ............................................. 17
Additional resources ......................................................................................................... 19
Metrics analyzed .............................................................................................................................. 20
EC2 instance metrics ................................................................................................................. 20
Enabling memory utilization with the CloudWatch Agent ...................................................... 21
EBS volume metrics .................................................................................................................. 21
Lambda function metrics ........................................................................................................... 22
Viewing the dashboard ..................................................................................................................... 23
Findings classifications .............................................................................................................. 23
EC2 instances ................................................................................................................... 23
Auto Scaling groups ......................................................................................................... 24
EBS volumes .................................................................................................................... 24
Lambda functions ............................................................................................................. 24
Viewing the dashboard ............................................................................................................. 25
Viewing resource recommendations .................................................................................................... 27
EC2 instance recommendations .................................................................................................. 27
Finding classifications ....................................................................................................... 28
Finding reasons ................................................................................................................ 28
iii
AWS Compute Optimizer User Guide
iv
AWS Compute Optimizer User Guide
Supported resources and 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 AWS 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.
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 (p. 3).
Opting in
You must opt in to have Compute Optimizer analyze your AWS resources. The service supports
standalone AWS accounts, member accounts of an organization, and the management account of an
organization. For more information, see Getting started with AWS Compute Optimizer (p. 5).
Metrics analyzed
After you opt in, Compute Optimizer begins analyzing the specifications and the utilization metrics
of your resources from Amazon CloudWatch. For example, for Amazon EC2 instances, it begins
analyzing the vCPUs, memory, storage, and other specifications of currently running instances. For more
information, see Metrics analyzed by AWS Compute Optimizer (p. 20).
1
AWS Compute Optimizer User Guide
Availability
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 (p. 27).
Export your optimization recommendations to record them over time, and share the data with others.
For more information, see Exporting recommendations (p. 48).
Availability
To view the currently supported AWS Regions and endpoints for Compute Optimizer, see Compute
Optimizer Endpoints and Quotas in the AWS General Reference.
2
AWS Compute Optimizer User Guide
CloudWatch metric requirements
Contents
• CloudWatch metric requirements (p. 3)
• Amazon EC2 instance requirements (p. 3)
• Auto Scaling group requirements (p. 4)
• Amazon EBS volume requirements (p. 4)
• Lambda function requirements (p. 4)
If your resources have accumulated sufficient metric data, but recommendations are not yet showing up
in the Compute Optimizer console, then the service might still be performing its analysis. It could take up
to 12 hours to complete the analysis, after which time resource recommendations will begin appearing in
the Compute Optimizer console.
If you’re running unsupported instance types, in addition to those supported by Compute Optimizer,
the service generates recommendations only for the supported instances. To determine the supported
Regions for each of these instance types, see Finding an Amazon EC2 instance type in the Amazon EC2
User Guide for Linux Instances.
3
AWS Compute Optimizer User Guide
Auto Scaling group requirements
The Auto Scaling groups must also be configured to run a single instance type (i.e., no mixed instance
types), must not have a scaling policy attached to them, and have the same values for desired, minimum,
and maximum capacity (i.e., an Auto Scaling group with a fixed number of instances). Compute
Optimizer generates recommendations for instances in Auto Scaling groups that meet all of these
configuration requirements.
Data is only reported to CloudWatch when the volume is attached to an instance. Therefore, the volume
must be attached to an instance for at least 30 consecutive hours to meet the 30 consecutive hour metric
data requirement described earlier in this guide.
Functions with a finding of Unavailable are not listed in the Compute Optimizer console, and Compute
Optimizer does not generate recommendations for them.
4
AWS Compute Optimizer User Guide
Required permissions
By opting in, you are authorizing Compute Optimizer to analyze the specifications and utilization metrics
of your AWS resources, such as EC2 instances and Auto Scaling groups.
Required permissions
You must have the appropriate permissions to opt in to Compute Optimizer, to view its
recommendations, and to opt out. For more information, see Controlling access with AWS Identity and
Access Management (p. 8).
When you opt in, Compute Optimizer automatically creates a Service-Linked Role in your account
to access its data. For more information, see Using Service-Linked Roles for AWS Compute
Optimizer (p. 11).
• Standalone AWS account - A standalone AWS account that does not have AWS Organizations enabled.
If you opt in to Compute Optimizer while signed in to a standalone account, the service analyzes
resources that are in the account, and generates optimization recommendations for those resources.
• Member account of an organization - An AWS account that is a member of an organization. If you opt
in to Compute Optimizer while signed in to a member account of an organization, the service analyzes
resources that are in the member account only, and generates optimization recommendations for
those resources.
• Management account of an organization - An AWS account that administers an organization. If you
opt in to Compute Optimizer while signed in to a management account of an organization, the service
gives you the option to opt in only the management account, or the management account and all
member accounts of the organization.
Important
To successfully opt in all member accounts of an organization, the organization must have all
features enabled. For more information, see Enabling All Features in Your Organization in the
AWS Organizations User Guide.
Trusted access for Compute Optimizer is automatically enabled in your organization account
when you opt in using your organization's management account and include all member
accounts within the organization. For more information, see Compute Optimizer and AWS
Organizations trusted access (p. 8).
5
AWS Compute Optimizer User Guide
Opting in your account
Console
If this is your first time using the Compute Optimizer console, the Compute Optimizer landing
page is displayed.
2. Choose Get started.
3. On the Account setup page, review the Getting started and Setting up your account sections.
4. The following options are displayed if the account that you're signed in to is a management
account of an organization. Choose one before continuing to the next step.
• Only this account - Choose this option to opt in only the account that you’re currently
signed in to. If you choose this option, Compute Optimizer analyzes resources that are in the
individual account, and generates optimization recommendations for those resources.
• All accounts within this organization - Choose this option to opt in the account you’re
currently signed in to, and all of its member accounts. If you choose this option, Compute
Optimizer analyzes resources that are in all accounts in the organization, and generates
optimization recommendations for those resources.
5. Choose Opt in. By opting in, you indicate that you agree to and understand the requirements to
opt in to Compute Optimizer.
After you opt in, you are redirected to the dashboard in the Compute Optimizer console, and the
service begins analyzing the configuration and utilization metrics of your AWS resources. For more
information, see Metrics analyzed by AWS Compute Optimizer (p. 20).
CLI
If you haven't already, install the AWS CLI and configure it to work with Compute Optimizer. For
more information, see Installing the AWS CLI and Quickly Configuring the AWS CLI in the AWS
Command Line Interface User Guide.
2. Enter one of the following commands depending on whether you want to opt in your individual
account or the management account of an organization and all its member accounts.
• To opt in the management account of an organization and include all member accounts
within the organization:
6
AWS Compute Optimizer User Guide
Opting out your account
After you opt in to Compute Optimizer using the previous command, the service begins analyzing
the configuration and utilization metrics of your AWS resources. For more information, see Metrics
analyzed by AWS Compute Optimizer (p. 20).
Note
To improve the recommendation quality of Compute Optimizer, AWS may use your CloudWatch
metrics and configuration data, such as memory utilization. If you want to opt out of this
experience and request that AWS does not use your CloudWatch metrics or configuration data
to improve recommendation quality of Compute Optimizer, contact AWS Support.
Findings and optimization recommendations could take up to 12 hours to be generated after you opt
in, and sufficient metric data must be accumulated. For more information, see CloudWatch metric
requirements (p. 3). Findings and recommendations are displayed in the dashboard and recommendation
pages of the Compute Optimizer console. For more information, see Viewing the AWS Compute
Optimizer dashboard (p. 23) and Viewing resource recommendations (p. 27).
If you haven't already, install the AWS CLI and configure it to work with Compute Optimizer. For
more information, see Installing the AWS CLI and Quickly Configuring the AWS CLI in the AWS
Command Line Interface User Guide.
2. Enter the following command.
Note
You cannot specify the --include-member-accounts parameter when opting out with
the update-enrollment-status command; you will receive an error message
Your account is opted out of Compute Optimizer after running the previous command, and your
account's recommendations and related metrics data will be deleted from Compute Optimizer. If you
access the Compute Optimizer console, you should see the option to opt in again.
7
AWS Compute Optimizer User Guide
Controlling access
By default, IAM users do not have access to the Compute Optimizer console and APIs. You give users
access by attaching IAM policies to a single user, a group of users, or a role. For more information, see
Identities (Users, Groups, and Roles) and Overview of IAM Policies in the IAM User Guide.
After you create IAM users, you can give those users individual passwords. Then, they can sign in to your
account and view Compute Optimizer information by using an account-specific sign-in page. For more
information, see How Users Sign In to Your Account.
Important
To view recommendations for EC2 instances, an IAM user must have ec2:DescribeInstances
permission. To view recommendations for EBS volumes, an IAM user must have
ec2:DescribeVolumes permission. To view recommendations for Auto Scaling groups, an
IAM user must have autoscaling:DescribeAutoScalingGroups permission. To view
recommendations for Lambda functions, an IAM user must have lambda:ListFunctions
and lambda:ListProvisionedConcurrencyConfigs permission. To view current
CloudWatch metrics data in the Compute Optimizer console, an IAM user must have
cloudwatch:GetMetricData permissions.
If the user or group that you want to give permissions to already has a policy, you can add one of the
Compute Optimizer-specific policy statements illustrated here to that policy.
Compute Optimizer verifies that trusted access is enabled in your organization account every time you
access recommendations for member accounts. If you disable Compute Optimizer trusted access after
you opt in, Compute Optimizer will deny access to recommendations for your organization's member
accounts, and the member accounts within the organization will not be opted in to Compute Optimizer.
To re-enable trusted access, opt in to Compute Optimizer again using your organization's management
account and include all member accounts within the organization. For more information, see Opting in
your account (p. 6). For more information about AWS Organizations trusted access, see Using AWS
Organizations with other AWS services in the AWS Organizations User Guide.
{
"Version": "2012-10-17",
8
AWS Compute Optimizer User Guide
Policies to grant access to Compute
Optimizer for standalone AWS accounts
"Statement": [
{
"Effect": "Allow",
"Action": "iam:CreateServiceLinkedRole",
"Resource": "arn:aws:iam::*:role/aws-service-role/compute-
optimizer.amazonaws.com/AWSServiceRoleForComputeOptimizer*",
"Condition": {"StringLike": {"iam:AWSServiceName": "compute-
optimizer.amazonaws.com"}}
},
{
"Effect": "Allow",
"Action": "iam:PutRolePolicy",
"Resource": "arn:aws:iam::*:role/aws-service-role/compute-
optimizer.amazonaws.com/AWSServiceRoleForComputeOptimizer"
},
{
"Effect": "Allow",
"Action": "compute-optimizer:UpdateEnrollmentStatus",
"Resource": "*"
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:*",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"lambda:ListFunctions",
"lambda:ListProvisionedConcurrencyConfigs",
"cloudwatch:GetMetricData"
],
"Resource": "*"
}
]
}
The following policy statement grants read-only access to Compute Optimizer for standalone AWS
accounts.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:GetEnrollmentStatus",
"compute-optimizer:GetRecommendationSummaries",
"compute-optimizer:GetEC2InstanceRecommendations",
"compute-optimizer:GetEC2RecommendationProjectedMetrics",
"compute-optimizer:GetAutoScalingGroupRecommendations",
9
AWS Compute Optimizer User Guide
Policies to grant access to Compute Optimizer
for a management account of an organization
"compute-optimizer:GetEBSVolumeRecommendations",
"compute-optimizer:GetLambdaFunctionRecommendations",
"compute-optimizer:DescribeRecommendationExportJobs",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"lambda:ListFunctions",
"lambda:ListProvisionedConcurrencyConfigs",
"cloudwatch:GetMetricData"
],
"Resource": "*"
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:*",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"lambda:ListFunctions",
"lambda:ListProvisionedConcurrencyConfigs",
"cloudwatch:GetMetricData",
"organizations:ListAccounts",
"organizations:DescribeOrganization",
"organizations:DescribeAccount",
"organizations:EnableAWSServiceAccess",
],
"Resource": "*"
}
]
}
The following policy statement grants read-only access to Compute Optimizer for a management
account of an organization.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:GetEnrollmentStatus",
"compute-optimizer:GetRecommendationSummaries",
"compute-optimizer:GetEC2InstanceRecommendations",
"compute-optimizer:GetEC2RecommendationProjectedMetrics",
"compute-optimizer:GetAutoScalingGroupRecommendations",
"compute-optimizer:GetEBSVolumeRecommendations",
"compute-optimizer:GetLambdaFunctionRecommendations",
10
AWS Compute Optimizer User Guide
Policy to deny access to Compute Optimizer
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"lambda:ListFunctions",
"lambda:ListProvisionedConcurrencyConfigs",
"cloudwatch:GetMetricData",
"organizations:ListAccounts",
"organizations:DescribeOrganization",
"organizations:DescribeAccount"
],
"Resource": "*"
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Action": "compute-optimizer:*",
"Resource": "*"
}
]
}
A service-linked role makes setting up Compute Optimizer easier because you don’t have to manually
add the necessary permissions. Compute Optimizer defines the permissions of its service-linked roles,
and unless defined otherwise, only Compute Optimizer can assume its roles. The defined permissions
include the trust policy and the permissions policy, and that permissions policy cannot be attached to
any other IAM entity.
For information about other services that support service-linked roles, see AWS Services That Work with
IAM and look for the services that have Yes in the Service-Linked Role column. Choose a Yes with a link
to view the service-linked role documentation for that service.
11
AWS Compute Optimizer User Guide
Service-Linked Role permissions
The AWSServiceRoleForComputeOptimizer service-linked role trusts the following services to assume the
role:
• compute-optimizer.amazonaws.com
The role permissions policy allows Compute Optimizer to complete the following actions on the
specified resources:
To allow an IAM entity to create a specific service-linked role for Compute Optimizer
Add the following policy to the IAM entity that needs to create the service-linked role.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "iam:CreateServiceLinkedRole",
"Resource": "arn:aws:iam::*:role/aws-service-role/compute-
optimizer.amazonaws.com/AWSServiceRoleForComputeOptimizer*",
"Condition": {"StringLike": {"iam:AWSServiceName": "compute-
optimizer.amazonaws.com"}}
},
{
"Effect": "Allow",
"Action": "iam:PutRolePolicy",
"Resource": "arn:aws:iam::*:role/aws-service-role/compute-
optimizer.amazonaws.com/AWSServiceRoleForComputeOptimizer"
},
{
"Effect": "Allow",
"Action": "compute-optimizer:UpdateEnrollmentStatus",
"Resource": "*"
}
]
}
Add the following statement to the permissions policy for the IAM entity that needs to create a service-
linked role, or any service role that includes the needed policies. This policy attaches a policy to the role.
{
"Effect": "Allow",
"Action": "iam:CreateServiceLinkedRole",
"Resource": "arn:aws:iam::*:role/aws-service-role/*"
}
12
AWS Compute Optimizer User Guide
Creating a Service-Linked Role for Compute Optimizer
If you delete this service-linked role, and then need to create it again, you can use the same process
to recreate the role in your account. When you opt in to the Compute Optimizer service, Compute
Optimizer creates the service-linked role for you again.
For information about opting out of Compute Optimizer, see Opting out your account (p. 7).
Use the IAM console, the AWS CLI, or the AWS API to delete the AWSServiceRoleForComputeOptimizer
service-linked role. For more information, see Deleting a Service-Linked Role in the IAM User Guide.
13
AWS Compute Optimizer User Guide
ComputeOptimizerServiceRolePolicy
team with only the permissions they need. To get started quickly, you can use our AWS managed policies.
These policies cover common use cases and are available in your AWS account. For more information
about AWS managed policies, see AWS managed policies in the IAM User Guide.
AWS services maintain and update AWS managed policies. You can't change the permissions in AWS
managed policies. Services occasionally add additional permissions to an AWS managed policy to
support new features. This type of update affects all identities (users, groups, and roles) where the policy
is attached. Services are most likely to update an AWS managed policy when a new feature is launched
or when new operations become available. Services do not remove permissions from an AWS managed
policy, so policy updates won't break your existing permissions.
Additionally, AWS supports managed policies for job functions that span multiple services. For example,
the ReadOnlyAccess AWS managed policy provides read-only access to all AWS services and resources.
When a service launches a new feature, AWS adds read-only permissions for new operations and
resources. For a list and descriptions of job function policies, see AWS managed policies for job functions
in the IAM User Guide.
Permissions details
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ComputeOptimizerFullAccess",
"Effect": "Allow",
"Action": [
"compute-optimizer:*"
],
"Resource": "*"
},
{
"Sid": "AwsOrgsAccess",
"Effect": "Allow",
"Action": [
"organizations:DescribeOrganization",
"organizations:ListAccounts",
"organizations:ListAWSServiceAccessForOrganization"
],
"Resource": [
"*"
]
},
14
AWS Compute Optimizer User Guide
ComputeOptimizerReadOnlyAccess
{
"Sid": "CloudWatchAccess",
"Effect": "Allow",
"Action": [
"cloudwatch:GetMetricData"
],
"Resource": "*"
}
]
}
This policy grants read-only permissions that allow users to view Compute Optimizer resource
recommendations.
Permissions details
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:DescribeRecommendationExportJobs",
"compute-optimizer:GetEnrollmentStatus",
"compute-optimizer:GetRecommendationSummaries",
"compute-optimizer:GetEC2InstanceRecommendations",
"compute-optimizer:GetEC2RecommendationProjectedMetrics",
"compute-optimizer:GetAutoScalingGroupRecommendations",
"compute-optimizer:GetEBSVolumeRecommendations",
"compute-optimizer:GetLambdaFunctionRecommendations",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"lambda:ListFunctions",
"lambda:ListProvisionedConcurrencyConfigs",
"cloudwatch:GetMetricData",
"organizations:ListAccounts",
"organizations:DescribeOrganization",
"organizations:DescribeAccount"
],
"Resource": "*"
}
15
AWS Compute Optimizer User Guide
Policy updates
]
}
You must create the destination S3 bucket for your recommendations export before you create the
export job. Compute Optimizer does not create the S3 bucket for you. The S3 bucket that you specify
for your recommendations export files cannot be publicly accessible, and cannot be configured as a
Requester Pays bucket.
As a best practice, create a dedicated S3 bucket for Compute Optimizer export files. For more
information, see How Do I Create an S3 Bucket? in the Amazon S3 Console User Guide. After you create
the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write
the export files to it. For more information, see Specifying an existing bucket for your recommendations
export (p. 17).
You must create a symmetric CMK to use an S3 bucket with AWS KMS encryption enabled. Symmetric
CMKs are the only CMKs supported by Amazon S3. For more information, see Creating keys in the AWS
KMS Developer Guide. After you create the CMK, you must apply it to the S3 bucket that you plan to
use for your recommendations export. For more information, see Enabling Amazon S3 default bucket
encryption in the Amazon Simple Storage Service User Guide.
Use the following procedure to grant Compute Optimizer the required permission to use your CMK to
encrypt your recommendations export file when saving it to your encrypted S3 bucket.
16
AWS Compute Optimizer User Guide
Specifying an existing bucket for
your recommendations export
The statement (for the GenerateDataKey action) allows Compute Optimizer to call the AWS KMS
API to obtain the data key for encrypting the recommendation files. In this way, the uploaded data
format can accommodate the bucket encryption setting. Otherwise, Amazon S3 will reject the
export request.
Note
If the existing CMK already has one or more policies attached, add the statements for
Compute Optimizer access to those policies. Evaluate the resulting set of permissions to be
sure that they are appropriate for the users who will access the CMK.
• Use the following policy if you have not enabled Amazon S3 Bucket Keys.
{
"Sid": "Allow use of the key to Compute Optimizer",
"Effect": "Allow",
"Principal": {
"Service": "compute-optimizer.amazonaws.com"
},
"Action": "kms:GenerateDataKey",
"Resource": "*"
}
• Use the following policy if you have enabled Amazon S3 Bucket Keys. For more information, see
Reducing the cost of SSE-KMS with Amazon S3 Bucket Keys in the Amazon Simple Storage Service
User Guide.
{
"Sid": "Allow use of the key to Compute Optimizer",
"Effect": "Allow",
"Principal": {
"Service": "compute-optimizer.amazonaws.com"
},
"Action": [
"kms:GenerateDataKey",
"kms:Decrypt"
],
"Resource": "*"
}
17
AWS Compute Optimizer User Guide
Specifying an existing bucket for
your recommendations export
3. Choose Permissions.
4. Choose Bucket Policy.
5. Copy the following policy, and paste it into the Bucket Policy Editor text box.
Replace the placeholders in italics with the name of your bucket, the optional object prefix, and
the account number of the requester of the export job. If you plan to specify an object prefix when
you create your recommendations export, include it in the policy. The object prefix is an optional
addition to the S3 object key that organizes your export files in your S3 bucket.
You must copy and paste this policy to include all three statements. The first statement (for the
GetBucketAcl action) allows Compute Optimizer to get the access control list (ACL) of your bucket.
The second statement (for the GetBucketPolicyStatus action) allows Compute Optimizer to get
the policy status of your bucket, indicating whether the bucket is public. The third statement (for
the PutObject action) gives Compute Optimizer full control to put the export file in your bucket.
Your export request will fail if any of these statements is missing, or if the bucket name and optional
object prefix in the policy don't match what you specify in your export request, or if the account
number in the policy doesn't match the account number of the requester of the export job.
Note
If the existing bucket already has one or more policies attached, add the statements
for Compute Optimizer access to that policy or policies. Evaluate the resulting set of
permissions to be sure that they are appropriate for the users who will access the bucket.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {"Service": "compute-optimizer.amazonaws.com"},
"Action": "s3:GetBucketAcl",
"Resource": "arn:aws:s3:::myBucketName"
},
{
"Effect": "Allow",
"Principal": {"Service": "compute-optimizer.amazonaws.com"},
"Action": "s3:GetBucketPolicyStatus",
"Resource": "arn:aws:s3:::myBucketName"
},
{
"Effect": "Allow",
"Principal": {"Service": "compute-optimizer.amazonaws.com"},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::myBucketName/[optional prefix]/compute-
optimizer/myAccountID/*",
"Condition": {"StringEquals": {"s3:x-amz-acl": "bucket-owner-full-
control"}}
}
]
}
If you don't want to specify an object prefix, use the following policy instead.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {"Service": "compute-optimizer.amazonaws.com"},
"Action": "s3:GetBucketAcl",
"Resource": "arn:aws:s3:::myBucketName"
},
18
AWS Compute Optimizer User Guide
Additional resources
{
"Effect": "Allow",
"Principal": {"Service": "compute-optimizer.amazonaws.com"},
"Action": "s3:GetBucketPolicyStatus",
"Resource": "arn:aws:s3:::myBucketName"
},
{
"Effect": "Allow",
"Principal": {"Service": "compute-optimizer.amazonaws.com"},
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::myBucketName/compute-optimizer/myAccountID/*",
"Condition": {"StringEquals": {"s3:x-amz-acl": "bucket-owner-full-
control"}}
}
]
}
Additional resources
For more information about S3 buckets and policies, see the Amazon Simple Storage Service Console
User Guide.
19
AWS Compute Optimizer User Guide
EC2 instance metrics
Contents
• EC2 instance metrics (p. 20)
• EBS volume metrics (p. 21)
• Lambda function metrics (p. 22)
Metric Description
CPUutilization The percentage of allocated EC2 compute units that are in use on
the instance. This metric identifies the processing power required to
run an application on an instance.
Memory utilization The amount of memory that has been used in some way during the
sample period. This metric identifies the memory required to run an
application on an instance.
NetworkOut The number of bytes sent out on all network interfaces by the
instance. This metric identifies the volume of outgoing network
traffic from an instance.
DiskReadOps The read operations per second of the instance store volume of the
instance.
20
AWS Compute Optimizer User Guide
Enabling memory utilization with the CloudWatch Agent
Metric Description
DiskWriteOps The write operations per second of the instance store volume of the
instance.
DiskReadBytes The read bytes per second of the instance store volume of the
instance.
DiskWriteBytes The write bytes per second of the instance store volume of the
instance.
VolumeReadBytes The read bytes per second (displayed as KiB/seconds in the console)
of EBS volumes attached to the instance.
VolumeReadOps The read operations per second of EBS volumes attached to the
instance.
VolumeWriteOps The write operations per second of EBS volumes attached to the
instance.
For more information about instance metrics, see List the available CloudWatch metrics for your
instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume
metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User
Guide.
On Linux instances, Compute Optimizer analyses the mem_used_percent metric in the CWAgent
namespace, or the legacy MemoryUtilization metric in the System/Linux namespace. On Windows
instances, Compute Optimizer analyses the Memory % Committed Bytes In Use metric in the
CWAgent namespace. Additionally, the namespace must contain the InstanceId dimension. Compute
Optimizer will not be able to collect memory utilization data for your instance if the InstanceId
dimension is missing, or if you overwrite it with your own custom dimension name. Namespaces and
dimensions are defined in the CloudWatch Agent configuration file. For more information, see Create the
CloudWatch Agent Configuration File in the Amazon CloudWatch User Guide.
Metric Description
21
AWS Compute Optimizer User Guide
Lambda function metrics
Metric Description
For more information about these metrics, see Amazon CloudWatch metrics for Amazon EBS in the
Amazon Elastic Compute Cloud User Guide.
Metric Description
Duration The amount of time that your function code spends processing an
event.
For more information about these metrics, see Working with AWS Lambda function metrics in the AWS
Lambda Developer Guide.
In addition to these metrics, Compute Optimizer analyzes the memory utilization of your function
during the look-back period. For more information about memory utilization for Lambda functions, see
Understanding AWS Lambda behavior using Amazon CloudWatch Logs Insights in the AWS Management
& Governance Blog and Using Lambda Insights in CloudWatch in the AWS Lambda Developer Guide.
22
AWS Compute Optimizer User Guide
Findings classifications
The findings and recommendations are refreshed daily. They're generated by analyzing your resource’s
specifications and utilization metrics over a period of the last 14 days. For more information, see
Metrics analyzed by AWS Compute Optimizer (p. 20). Keep in mind that findings and recommendations
could take up to 12 hours to be generated, and sufficient metric data must be accumulated. For more
information, see CloudWatch metric requirements (p. 3).
Findings classifications
The findings classifications in the Compute Optimizer console provide an at-a-glance view of how your
resources performed during the analyzed period. A percentage, and a count of your resources that are
in each classification, are shown on the dashboard. The classifications differ based on the resource type.
The following classifications apply to services and resources supported by Compute Optimizer.
EC2 instances
The following findings classifications apply to EC2 instances.
Classification Description
Note
For instances, Compute Optimizer generates finding reasons that provide a greater level
of detail into why an instance was found to be under-provisioned, or over-provisioned.
23
AWS Compute Optimizer User Guide
Auto Scaling groups
For more information, see Finding reasons (p. 28) in the Viewing EC2 instance
recommendations (p. 27) guide.
Classification Description
Not optimized An Auto Scaling group is considered not optimized when Compute
Optimizer has identified a recommendation that can provide better
performance or cost for your workload.
Note
For instances in Auto Scaling groups, Compute Optimizer generates finding reasons that
provide a greater level of detail into why an Auto Scaling group was found to be not
optimized. For more information, see Finding reasons (p. 28) in the Viewing EC2 instance
recommendations (p. 27) guide.
EBS volumes
The following findings classifications apply to EBS volumes.
Classification Description
Lambda functions
The following findings classifications apply to Lambda functions.
Classification Description
24
AWS Compute Optimizer User Guide
Viewing the dashboard
Classification Description
provisioned or over-provisioned. In this case, Compute Optimizer
generates a recommendation that can provide better performance
or cost for your workload.
Note
Functions with a finding of Unavailable are not listed in
the Compute Optimizer console.
By default, the dashboard displays an overview of optimization findings for AWS resources across all
AWS Regions in the account that you are currently signed in to.
3. You can perform the following actions on the dashboard:
• To view the optimization findings for resources in another account, choose Account, and then
select a different account ID.
Note
The ability to view optimization findings for resources in other accounts is available
only if you are signed in to a management account of an organization, you opted in all
member accounts of the organization, and trusted access with Compute Optimizer is
enabled. For more information, see Accounts supported by Compute Optimizer (p. 5) and
Compute Optimizer and AWS Organizations trusted access (p. 8).
25
AWS Compute Optimizer User Guide
Viewing the dashboard
• To filter findings on the dashboard to one or more AWS Regions, enter the name of the Region in
the Filter by one or more Regions text box, or choose one or more Regions in the drop-down list
that appears.
• To clear the selected filters, choose Clear filters next to the filter.
• To view optimization recommendations, choose the View recommendations link for one
of the resource types displayed, or choose the number of resources listed next to a findings
classification to view the resources for that classification. For more information, see Viewing
resource recommendations (p. 27).
26
AWS Compute Optimizer User Guide
EC2 instance recommendations
• The resources recommendations page lists each of your running resources, along with their top
recommendation generated by Compute Optimizer.
• The resource details page, which you can access from the recommendations page, lists the top three
recommendation options for a specific resource, along with utilization metric graphs for the resource.
The recommendations and resource details pages are available for each of the following AWS resources
that are supported by Compute Optimizer:
• Amazon EC2 instances - For more information, see Viewing EC2 instance recommendations (p. 27).
• Auto Scaling groups - For more information, see Viewing Auto Scaling group
recommendations (p. 37).
• Amazon EBS volumes - For more information, see Viewing Amazon EBS volume
recommendations (p. 41).
• AWS Lambda functions - For more information, see Viewing Lambda function
recommendations (p. 44).
• The EC2 instances recommendations page lists each of your current instances, their finding
classifications (p. 28), finding reasons (p. 28), platform differences (p. 31), current instance
type, and current hourly price for the selected purchasing option (p. 32). The top recommendation
from Compute Optimizer is listed next to each of your instances, and it includes the recommended
instance type, the hourly price for the selected purchasing option, and the price difference between
your current instance and the recommendation. Use the recommendations page to compare your
current instances with their top recommendation, which can help you to decide if you should up-size
or down-size your instances.
• The EC2 instance details page, which you can access from the EC2 instances recommendations page,
lists up to three optimization recommendations for a specific instance. It lists the specifications for
each recommendation, their performance risk (p. 34), and their hourly prices for the selected
purchasing option. The details page also displays utilization metric graphs for the current instance,
overlaid with the projected utilization metrics for the recommendation options.
The recommendations are refreshed daily. They're generated by analyzing the specifications and
utilization metrics of the current instance over a period of the last 14 days. For more information, see
Metrics analyzed by AWS Compute Optimizer (p. 20).
Keep in mind that Compute Optimizer generates recommendations for EC2 instances that meet
a specific set of requirements, recommendations could take up to 12 hours to be generated, and
sufficient metric data must be accumulated. For more information, see Supported resources and
requirements (p. 3).
Contents
27
AWS Compute Optimizer User Guide
Finding classifications
Finding classifications
The Finding column on the EC2 instances recommendations page provides a summary of how each of
your instances performed during the analyzed period.
Classification Description
Finding reasons
The Finding reasons column on the EC2 instances recommendations and EC2 instance details pages
shows which specification of an instance is under-provisioned or over-provisioned.
CPU over-provisioned The instance’s CPU configuration can be sized down while still
meeting the performance requirements of your workload. This is
identified by analyzing the CPUUtilization metric of the current
instance during the look-back period.
28
AWS Compute Optimizer User Guide
Finding reasons
CPU under-provisioned The instance’s CPU configuration doesn't meet the performance
requirements of your workload and there is an alternative instance
type that provides better CPU performance. This is identified by
analyzing the CPUUtilization metric of the current instance
during the look-back period.
Memory over-provisioned The instance’s memory configuration can be sized down while still
meeting the performance requirements of your workload. This is
identified by analyzing the memory utilization metric of the current
instance during the look-back period.
Note
Memory utilization is analyzed only for resources that have
the unified CloudWatch agent installed on them. For more
information, see Enabling memory utilization with the
Amazon CloudWatch Agent in the AWS Compute Optimizer
User Guide. On Linux instances, Compute Optimizer
analyses the mem_used_percent metric in the CWAgent
namespace, or the legacy MemoryUtilization metric in
the System/Linux namespace. On Windows instances,
Compute Optimizer analyses the Memory % Committed
Bytes In Use metric in the CWAgent namespace.
Memory under-provisioned The instance’s memory configuration doesn't meet the performance
requirements of your workload and there is an alternative instance
type that provides better memory performance. This is identified
by analyzing the memory utilization metric of the current instance
during the look-back period.
Note
Memory utilization is analyzed only for resources that have
the unified CloudWatch agent installed on them. For more
information, see Enabling memory utilization with the
Amazon CloudWatch Agent in the AWS Compute Optimizer
User Guide. On Linux instances, Compute Optimizer
analyses the mem_used_percent metric in the CWAgent
namespace, or the legacy MemoryUtilization metric in
the System/Linux namespace. On Windows instances,
Compute Optimizer analyses the Memory % Committed
Bytes In Use metric in the CWAgent namespace.
EBS throughput over- The instance’s EBS throughput configuration can be sized down
provisioned while still meeting the performance requirements of your
workload. This is identified by analyzing the VolumeReadOps and
VolumeWriteOps metrics of EBS volumes attached to the current
instance during the look-back period.
EBS throughput under- The instance’s EBS throughput configuration doesn't meet the
provisioned performance requirements of your workload and there is an
alternative instance type that provides better EBS throughput
performance. This is identified by analyzing the VolumeReadOps
and VolumeWriteOps metrics of EBS volumes attached to the
current instance during the look-back period.
29
AWS Compute Optimizer User Guide
Finding reasons
EBS IOPS over-provisioned The instance’s EBS IOPS configuration can be sized down while
still meeting the performance requirements of your workload.
This is identified by analyzing the VolumeReadBytes and
VolumeWriteBytes metric of EBS volumes attached to the current
instance during the look-back period.
EBS IOPS under-provisioned The instance’s EBS IOPS configuration doesn't meet the
performance requirements of your workload and there is
an alternative instance type that provides better EBS IOPS
performance. This is identified by analyzing the VolumeReadBytes
and VolumeWriteBytes metric of EBS volumes attached to the
current instance during the look-back period.
Network bandwidth over- The instance’s network bandwidth configuration can be sized down
provisioned while still meeting the performance requirements of your workload.
This is identified by analyzing the NetworkIn and NetworkOut
metrics of the current instance during the look-back period.
Network bandwidth under- The instance’s network bandwidth configuration doesn't meet
provisioned the performance requirements of your workload and there is an
alternative instance type that provides better network bandwidth
performance. This is identified by analyzing the NetworkIn and
NetworkOut metrics of the current instance during the look-
back period. This finding reason happens when the NetworkIn or
NetworkOut performance of an instance is impacted.
Network PPS over-provisioned The instance’s network PPS (packets per second) configuration
can be sized down while still meeting the performance
requirements of your workload. This is identified by analyzing the
NetworkPacketsIn and NetworkPacketsOut metrics of the
current instance during the look-back period.
Network PPS under-provisioned The instance’s network PPS (packets per second) configuration
doesn't meet the performance requirements of your workload
and there is an alternative instance type that provides better
network PPS performance. This is identified by analyzing the
NetworkPacketsIn and NetworkPacketsOut metrics of the
current instance during the look-back period.
Disk IOPS over-provisioned The instance’s disk IOPS configuration can be sized down while
still meeting the performance requirements of your workload. This
is identified by analyzing the DiskReadOps and DiskWriteOps
metrics of the current instance during the look-back period.
Disk IOPS under-provisioned The instance’s disk IOPS configuration doesn't meet the
performance requirements of your workload and there is
an alternative instance type that provides better disk IOPS
performance. This is identified by analyzing the DiskReadOps and
DiskWriteOps metrics of the current instance during the look-
back period.
Disk throughput over- The instance’s disk throughput configuration can be sized down
provisioned while still meeting the performance requirements of your
workload. This is identified by analyzing the DiskReadBytes and
DiskWriteBytes metrics of the current instance during the look-
back period.
30
AWS Compute Optimizer User Guide
Platform differences
Disk throughput under- The instance’s disk throughput configuration doesn't meet the
provisioned performance requirements of your workload and there is an
alternative instance type that provides better disk throughput
performance. This is identified by analyzing the DiskReadBytes
and DiskWriteBytes metrics of the current instance during the
look-back period.
Note
For more information about instance metrics, see List the available CloudWatch metrics for
your instances in the Amazon Elastic Compute Cloud User Guide. For more information about
EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic
Compute Cloud User Guide.
You can change an instance's CPU, local disk, memory, or network specifications by changing the type
of the instance. For example, by changing the instance type from C5 to a C5n for improved network
performance. For more information, see the Change the instance type guide for Linux and Change the
instance type guide for Windows in the EC2 User Guides.
You can change an EBS volume's IOPS or throughput specifications by using Amazon EBS Elastic
Volumes. For more information, see Amazon EBS Elastic Volumes in the Amazon Elastic Compute Cloud
User Guide.
Platform differences
The Platform differences column on the EC2 instance details page describes the differences between
the current instance and the recommended instance type. You should consider the configuration
differences before migrating your workloads from the current instance to the recommended instance
type.
Instance store availability The recommended instance type does not support instance store
volumes and the current instance does. Before migrating, you
might need to back up the data on your instance store volumes
if you want to preserve them. For more information, see How do
I back up an instance store volume on my Amazon EC2 instance
to Amazon EBS? in the AWS Premium Support Knowledge Base.
For more information, see Networking and storage features and
Amazon EC2 instance store in the Amazon EC2 User Guide for Linux,
or see Networking and storage features and Amazon EC2 instance
store in the Amazon EC2 User Guide for Windows.
31
AWS Compute Optimizer User Guide
Prices and purchasing options
Virtualization type The recommended instance type uses the hardware virtual machine
(HVM) virtualization type and the current instance uses the
paravirtual (PV) virtualization type. For more information about
the differences between these virtualization types, see Linux AMI
virtualization types in the Amazon EC2 User Guide for Linux, or
Windows AMI virtualization types in the Amazon EC2 User Guide for
Windows.
32
AWS Compute Optimizer User Guide
Estimated monthly savings
Important
The prices listed on the recommendations page might not reflect the actual prices you pay for
your instances. For more information about finding the actual price of your current instances,
see Amazon EC2 Usage Reports in the Amazon Elastic Compute Cloud User Guide.
• On-Demand Instances - An On-Demand Instance is an instance that you use on demand. You have
full control over its lifecycle—you decide when to launch, stop, hibernate, start, reboot, and terminate
it. No longer-term commitments or upfront payments are needed. For more information about On-
Demand Instances, see On-Demand Instances in the Amazon Elastic Compute Cloud User Guide. For
more information about pricing, see Amazon EC2 On-Demand Instance Pricing.
• Reserved Instances (standard one-year or three-year commitment, no upfront) - Reserved Instances
provide you with significant savings on your Amazon EC2 costs compared to On-Demand Instance
pricing. Reserved Instances are not physical instances, but rather a billing discount applied to the
use of On-Demand Instances in your account. For more information about Reserved Instances, see
Reserved Instances in the Amazon Elastic Compute Cloud User Guide. For more information about
pricing, see Amazon EC2 Reserved Instance Pricing.
For more information about purchasing options, see Instance Purchasing Options in the Amazon Elastic
Compute Cloud User Guide.
To calculate the estimated monthly savings, we first examine the instance running in the look-back
period to identify if it was partially or fully covered by an RI or running On-Demand. Another factor is
whether the RI is size-flexible. The cost to run the instance is calculated based on the On-Demand hours
and the rate of the instance type.
For each recommendation, we calculate the cost to operate a new instance. We assume that a size-
flexible RI will cover the new instance in the same way as the previous instance. Savings are calculated
based on the number of On-Demand running hours and the difference in On-Demand rates. If the RI isn't
size-flexible, the savings calculation is based on if the instance hours during the look-back period are
operated as On-Demand.
33
AWS Compute Optimizer User Guide
Performance risk
Recommendations are provided regardless of estimated monthly savings. Even if the estimated savings
is less than zero, you might be able to convert your existing Convertible RIs to cover the recommended
instance types.
Note
Recommendations don't capture second-order effects of rightsizing, such as the resulting
RI hour’s availability and how they will apply to other instances. Potential savings based on
reallocation of the RI hours aren't included in the calculation.
Performance risk
The Performance risk column on the EC2 instance details page defines the likelihood that each
recommended instance type will not meet the resource needs of your workload. Compute Optimizer
calculates an individual performance risk score for each specification of the recommended instance,
including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput,
and network PPS. The performance risk of the recommended instance is calculated as the maximum
performance risk score across the analyzed resource specifications.
The values range from very low, low, medium, high, and very high. A performance risk of very low means
that the instance type recommendation is predicted to always provide enough capability. The higher
the performance risk is, the more likely you should validate whether the recommendation will meet
the performance requirements of your workload before migrating your resource. Decide whether to
optimize for performance improvement, for cost reduction, or for a combination of these two. For more
information, see Changing the Instance Type in the Amazon Elastic Compute Cloud User Guide.
Note
In the Compute Optimizer API, the AWS Command Line Interface (AWS CLI), and SDKs,
performance risk is measured on a scale of 1 (low) to 5 (very high).
Utilization graphs
The EC2 instance details page displays utilization metric graphs for your current instance. The graphs
display data for the analyzed period (up to 14 days). You can change the graphs to display data for
the last 24 hours, three days, one week, or two weeks. You can also change the statistic of the graphs
between average and maximum.
34
AWS Compute Optimizer User Guide
Utilization graphs
Network out (MiB/second) The number of mebibytes (MiB) per second sent
out on all network interfaces by the instance.
Network packets in (per second) The number of packets received by the instance
on all network interfaces.
Network packets out (per second) The number of packets sent out by the instance
on all network interfaces.
Disk read operations (per second) The completed read operations per second from
the instance store volumes of the instance.
Disk write operations (per second) The completed write operations per second from
the instance store volumes of the instance.
Disk read bandwidth (MiB/second) The read mebibytes (MiB) per second from the
instance store volumes of the instance.
Disk write bandwidth (MiB/second) The write mebibytes (MiB) per second from the
instance store volumes of the instance.
35
AWS Compute Optimizer User Guide
Viewing EC2 instances recommendations
EBS read operations (per second) The completed read operations per second from
all EBS volumes attached to the instance.
EBS write operations (per second) The completed write operations per second to all
EBS volumes attached to the instance.
EBS read bandwidth (MiB/second) The read mebibytes (MiB) per second from all EBS
volumes attached to the instance.
EBS write bandwidth (MiB/second) The written mebibytes (MiB) per second to all EBS
volumes attached to the instance.
The recommendations page lists the specifications and finding classifications of your current
instances, along with the specifications of the recommended instances. The current instances listed
are from the AWS Region that is currently selected, in the selected account.
3. You can perform the following actions on the recommendations page:
• To filter recommendations to one or more AWS Regions, enter the name of the Region in the
Filter by one or more Regions text box, or choose one or more Regions in the drop-down list that
appears.
• To view recommendations for instances in another account, choose Account, and then select a
different account ID.
Note
The ability to view recommendations for resources in other accounts is available only
if you are signed in to a management account of an organization, and trusted access
with Compute Optimizer is enabled. For more information, see Accounts supported
by Compute Optimizer (p. 5) and Compute Optimizer and AWS Organizations trusted
access (p. 8).
• To clear the selected filters, choose Clear filters next to the filter.
• To change the purchasing option that is displayed, choose Settings (the gear icon), then choose
On-Demand Instances, Reserved Instances, standard 1-year no upfront, or Reserved Instances,
standard 3-year no upfront.
• To access the EC2 instance details page for a specific instance, choose the finding classification
listed next to the desired instance.
36
AWS Compute Optimizer User Guide
Viewing EC2 instance details
The details page lists up to three optimization recommendations for the instance that you chose.
It lists the specifications of your current instance, the specifications and performance risks of the
recommended instances, and utilization metric graphs.
4. You can perform the following actions on the details page:
• Choose a recommendation option to view the utilization comparison between your current
instance and a recommended instance.
The utilization metric graphs for your current instance are displayed at the bottom of the page.
The solid blue line is the utilization of your current instance. The dotted orange line, displayed
in the CPU utilization and memory utilization graphs, is the projected utilization of the selected
recommended instance if you had used that instance during the analyzed period.
• To change the time range of the graphs, choose Time Range, and then choose Last 24 hours, Last
3 days, Last week, or Last 2 weeks.
Choosing a shorter time range displays the data points at a higher granularity, which provides a
higher level of detail.
• To change the statistic value of the graphs, choose Statistics, and then choose Average or
Maximum.
You can use this option to determine the typical instance utilization of your workload over time.
To view the highest value observed during the specified period, change the selection to Maximum.
This allows you to determine the peak instance usage of your workload over time.
• To change the purchasing option that is displayed, choose Settings (the gear icon), then choose
On-Demand Instances, Reserved Instances, standard 1-year no upfront, or Reserved Instances,
standard 3-year no upfront.
• The Auto Scaling groups recommendations page lists each of your current Auto Scaling groups, their
finding classifications (p. 38), current instance type, current hourly price for the selected purchasing
option (p. 38), and current configuration. The top recommendation from Compute Optimizer is
listed next to each of your Auto Scaling groups, and it includes the recommended instance type, the
hourly price for the selected purchasing option, and the price difference between your current instance
and the recommendation. Use the recommendations page to compare the current instances of your
Auto Scaling groups with their top recommendation, which can help you to decide if you should up-
size or down-size your instances.
• The Auto Scaling group details page, which you can access from the Auto Scaling groups
recommendations page, lists up to three optimization recommendations for a specific Auto Scaling
37
AWS Compute Optimizer User Guide
Finding classifications
group. It lists the specifications for each recommendation, their performance risk (p. 39), and their
hourly prices for the selected purchasing option. The details page also displays utilization metric
graphs for the current Auto Scaling group.
The recommendations are refreshed daily. They're generated by analyzing the specifications and
utilization metrics of the current Auto Scaling group over a period of the last 14 days. For more
information, see Metrics analyzed by AWS Compute Optimizer (p. 20).
Keep in mind that Compute Optimizer generates recommendations for Auto Scaling groups that
meet a specific set of requirements, recommendations could take up to 12 hours to be generated,
and sufficient metric data must be accumulated. For more information, see Supported resources and
requirements (p. 3).
Contents
• Finding classifications (p. 38)
• Prices and purchasing options (p. 38)
• Performance risk (p. 39)
• Utilization graphs (p. 40)
• Viewing Auto Scaling groups recommendations (p. 40)
• Viewing Auto Scaling group details (p. 41)
Finding classifications
The Finding column on the Auto Scaling groups recommendations page provides a summary of how
each of your Auto Scaling groups performed during the analyzed period.
Classification Description
Not optimized An Auto Scaling group is considered not optimized when Compute
Optimizer has identified a recommendation that can provide better
performance or cost for your workload.
38
AWS Compute Optimizer User Guide
Performance risk
Important
The prices listed on the recommendations page might not reflect the actual prices you pay for
your instances. For more information about finding the actual price of your current instances,
see Amazon EC2 Usage Reports in the Amazon Elastic Compute Cloud User Guide.
• On-Demand Instances - An On-Demand Instance is an instance that you use on demand. You have
full control over its lifecycle—you decide when to launch, stop, hibernate, start, reboot, and terminate
it. No longer-term commitments or upfront payments are needed. For more information about On-
Demand Instances, see On-Demand Instances in the Amazon Elastic Compute Cloud User Guide. For
more information about pricing, see Amazon EC2 On-Demand Instance Pricing.
• Reserved Instances (standard one-year or three-year commitment, no upfront) - Reserved Instances
provide you with significant savings on your Amazon EC2 costs compared to On-Demand Instance
pricing. Reserved Instances are not physical instances, but rather a billing discount applied to the
use of On-Demand Instances in your account. For more information about Reserved Instances, see
Reserved Instances in the Amazon Elastic Compute Cloud User Guide. For more information about
pricing, see Amazon EC2 Reserved Instance Pricing.
For more information about purchasing options, see Instance Purchasing Options in the Amazon Elastic
Compute Cloud User Guide.
Performance risk
The Performance risk column on the Auto Scaling group details page defines the likelihood that each
recommended instance type will not meet the resource needs of your workload. Compute Optimizer
calculates an individual performance risk score for each specification of the recommended instance,
including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput,
and network PPS. The performance risk of the recommended instance is calculated as the maximum
performance risk score across the analyzed resource specifications.
The values range from very low, low, medium, high, and very high. A performance risk of very low means
that the instance type recommendation is predicted to always provide enough capability. The higher
the performance risk is, the more likely you should validate whether the recommendation will meet
the performance requirements of your workload before migrating your resource. Decide whether to
optimize for performance improvement, for cost reduction, or for a combination of these two. For more
information, see Changing the Instance Type in the Amazon Elastic Compute Cloud User Guide.
Note
In the Compute Optimizer API, the AWS Command Line Interface (AWS CLI), and SDKs,
performance risk is measured on a scale of 1 (low) to 5 (very high).
39
AWS Compute Optimizer User Guide
Utilization graphs
Utilization graphs
The Auto Scaling group details page displays utilization metric graphs for current instances in the
group. The graphs display data for the analyzed period (up to 14 days). You can change the graphs to
display data for the last 24 hours, three days, one week, or two weeks.
Average CPU utilization (percent) The average percentage of allocated EC2 compute
units used by instances in the Auto Scaling group.
Average Network out (MiB/second) The number of mebibytes (MiB) per second sent
out on all network interfaces by instances in the
Auto Scaling group.
The recommendations page lists the specifications and finding classifications of your Auto Scaling
groups, along with the specifications of the recommended groups. The current Auto Scaling groups
listed are from the AWS Region that is currently selected, in the selected account.
3. You can perform the following actions on the recommendations page:
• To filter recommendations to one or more AWS Regions, enter the name of the Region in the
Filter by one or more Regions text box, or choose one or more Regions in the drop-down list that
appears.
• To view recommendations for instances in another account, choose Account, and then select a
different account ID.
40
AWS Compute Optimizer User Guide
Viewing Auto Scaling group details
Note
The ability to view recommendations for resources in other accounts is available only
if you are signed in to a management account of an organization, and trusted access
with Compute Optimizer is enabled. For more information, see Accounts supported
by Compute Optimizer (p. 5) and Compute Optimizer and AWS Organizations trusted
access (p. 8).
• To clear the selected filters, choose Clear filters next to the filter.
• To change the purchasing option that is displayed, choose Settings (the gear icon), then choose
On-Demand Instances, Reserved Instances, standard 1-year no upfront, or Reserved Instances,
standard 3-year no upfront.
• To access the Auto Scaling group details page for a specific Auto Scaling group, choose the
finding classification listed next to the desired group.
The details page lists up to three optimization recommendations for the Auto Scaling group that you
chose. It lists the specifications of current instances in the Auto Scaling group, the specifications and
performance risks of the recommended instances, and utilization metric graphs.
4. You can perform the following actions on the details page:
• The utilization metric graphs for your current instance are displayed at the bottom of the page.
The solid blue line is the utilization of current instances in the Auto Scaling group.
• To change the time range of the graphs, choose Time Range, and then choose Last 24 hours, Last
3 days, Last week, or Last 2 weeks.
Choosing a shorter time range displays the data points at a higher granularity, which provides a
higher level of detail.
• To change the purchasing option that is displayed, choose Settings (the gear icon), then choose
On-Demand Instances, Reserved Instances, standard 1-year no upfront, or Reserved Instances,
standard 3-year no upfront.
• The EBS volumes recommendations page lists each of your current volumes, their finding
classifications (p. 42), their current volume type, and their current hourly price. The top
recommendation from Compute Optimizer is listed next to each of your volumes, and it includes the
recommended volume type, recommended volume size, recommended IOPS, the monthly price of the
recommendation, and the price difference between your current volume and the recommendation. Use
the recommendations page to compare your current volumes with their top recommendation, which
can help you to decide if you should up-size or down-size your volume.
41
AWS Compute Optimizer User Guide
Finding classifications
• The EBS volume details page, which you can access from the EBS volume recommendations page,
lists up to three optimization recommendations for a specific volume. It lists the specifications for each
recommendation, their performance risk (p. 42), and their monthly prices. The details page also
displays utilization metric graphs for the current volume.
The recommendations are refreshed daily. They're generated by analyzing the specifications and
utilization metrics of the current volume over a period of the last 14 days. For more information, see
Metrics analyzed by AWS Compute Optimizer (p. 20).
Keep in mind that Compute Optimizer generates recommendations for EBS volumes that meet a specific
set of requirements, recommendations could take up to 12 hours to be generated, and sufficient metric
data must be accumulated. For more information, see Supported resources and requirements (p. 3).
Finding classifications
The Finding column on the EBS volumes recommendations page provides a summary of how each of
your volumes performed during the analyzed period.
Classification Description
Performance risk
The Performance risk column on the EBS volume details page defines the likelihood of each
EBS volume recommendation not meeting the resource needs of your workload. Compute
Optimizer calculates an individual performance risk score for each specification of the EBS volume
recommendation, including volume type, volume size, baseline IOPS, burst IOPS, baseline throughput,
and burst throughput. The performance risk of the EBS volume recommendation is calculated as the
maximum performance risk score across the analyzed resource specifications.
The values range from very low, low, medium, high, and very high. A performance risk of very low means
that the EBS volume recommendation is predicted to always provide enough capability. The higher
the performance risk is, the more likely you should validate whether the recommendation will meet
the performance requirements of your workload before migrating your resource. Decide whether to
optimize for performance improvement, for cost reduction, or for a combination of these two. For more
information, see Requesting modifications to your EBS Volumes in the Amazon Elastic Compute Cloud
User Guide.
Utilization graphs
The EBS volume details page displays utilization metric graphs for your current volume. The graphs
display data for the analyzed period (up to 14 days). You can change the graphs to display data for
42
AWS Compute Optimizer User Guide
Viewing EBS volumes recommendations
the last 24 hours, three days, one week, or two weeks. You can also change the statistic of the graphs
between average and maximum.
Read operations (per second) The completed read operations per second for the
current EBS volume.
Write operations (per second) The completed write operations per second to the
current EBS volume.
Read bandwidth (KiB/second) The read kibibytes (KiB) per second from the
current EBS volume.
Write bandwidth (KiB/second) The written kibibytes (KiB) per second to the
current EBS volume.
The recommendations page lists the specifications and finding classifications of your volumes, along
with the specifications of the recommended volumes. The current volumes listed are from the AWS
Region that is currently selected, in the selected account.
3. You can perform the following actions on the recommendations page:
• To filter recommendations to one or more AWS Regions, enter the name of the Region in the
Filter by one or more Regions text box, or choose one or more Regions in the drop-down list that
appears.
• To view recommendations for volumes in another account, choose Account, and then select a
different account ID.
Note
The ability to view recommendations for resources in other accounts is available only
if you are signed in to a management account of an organization, and trusted access
with Compute Optimizer is enabled. For more information, see Accounts supported
by Compute Optimizer (p. 5) and Compute Optimizer and AWS Organizations trusted
access (p. 8).
43
AWS Compute Optimizer User Guide
Viewing EBS volume details
• To clear the selected filters, choose Clear filters next to the filter.
• To access the EBS volume details page for a specific volume, choose the finding classification
listed next to the desired volume.
When you're ready, use Amazon EBS Elastic Volumes to modify the configuration of your volumes.
For more information, see Amazon EBS Elastic Volumes in the Amazon Elastic Compute Cloud User
Guide.
The details page lists up to three optimization recommendations for the volume that you chose.
It lists the specifications of your current volume, the specifications and performance risks of the
recommended volumes, and utilization metric graphs.
4. You can perform the following actions on the details page:
• Choose a recommendation option to view the utilization comparison between your current
volume and a recommended volume.
The utilization metric graphs for your current volume are displayed at the bottom of the page.
• To change the time range of the graphs, choose Time Range, and then choose Last 24 hours, Last
3 days, Last week, or Last 2 weeks.
Choosing a shorter time range displays the data points at a higher granularity, which provides a
higher level of detail.
• To change the statistic value of the graphs, choose Statistics, and then choose Average or
Maximum.
You can use this option to determine the typical volume utilization of your workload over time. To
view the highest value observed during the specified period, change the selection to Maximum.
This allows you to determine the peak volume usage of your workload over time.
When you're ready, use Amazon EBS Elastic Volumes to modify the configuration of your volumes.
For more information, see Amazon EBS Elastic Volumes in the Amazon Elastic Compute Cloud User
Guide.
• The Lambda functions recommendations page lists each of your current functions, their finding
classifications (p. 45), finding reasons, current configured memory, current usage, and current cost.
The top recommendation from Compute Optimizer is listed next to each of your functions, and it
44
AWS Compute Optimizer User Guide
Finding classifications
includes the recommended configured memory, recommended cost, and the price difference between
your current function and the recommendation. Note that the recommended cost is a range that is
displayed under the Recommended cost (high) and Recommended cost (low) columns in the console.
Use the recommendations page to compare your current functions with their top recommendation,
which can help you to decide if you should up-size or down-size the configured memory of your
function.
• The Lambda function details page, which you can access from the Lambda function recommendations
page, lists the top optimization recommendation for a function. It lists the configuration for your
current function and the recommendation option. The details page also displays utilization metric
graphs for the current function.
The recommendations are refreshed daily. They're generated by analyzing the specifications and
utilization metrics of the current function over a period of the last 14 days. For more information, see
Metrics analyzed by AWS Compute Optimizer (p. 20).
Keep in mind that Compute Optimizer generates recommendations for Lambda functions that meet
a specific set of requirements, recommendations could take up to 12 hours to be generated, and
sufficient metric data must be accumulated. For more information, see Supported resources and
requirements (p. 3).
Finding classifications
The Finding column on the Lambda functions recommendations page provides a summary of how each
of your functions performed during the analyzed period.
Classification Description
45
AWS Compute Optimizer User Guide
Utilization graphs
Classification Description
• Inconclusive when the function does not qualify for a
recommendation because the function has configured memory
greater than 1,792 MB, or Compute Optimizer cannot generate a
recommendation with a high degree of confidence.
Note
Functions with a finding of Unavailable are not listed in
the Compute Optimizer console.
Utilization graphs
The Lambda function details page displays utilization metric graphs for your current function. The
graphs display data for the analyzed period (up to 14 days). You can change the graphs to display data
for the last 24 hours, three days, one week, or two weeks.
The recommendations page lists the specifications and finding classifications of your functions,
along with the specifications of the recommended functions. The current functions listed are from
the AWS Region that is currently selected, in the selected account.
3. You can perform the following actions on the recommendations page:
• To filter recommendations to one or more AWS Regions, enter the name of the Region in the
Filter by one or more Regions text box, or choose one or more Regions in the drop-down list that
appears.
• To view recommendations for functions in another account, choose Account, and then select a
different account ID.
46
AWS Compute Optimizer User Guide
Viewing Lambda function details
Note
The ability to view recommendations for resources in other accounts is available only
if you are signed in to a management account of an organization, and trusted access
with Compute Optimizer is enabled. For more information, see Accounts supported
by Compute Optimizer (p. 5) and Compute Optimizer and AWS Organizations trusted
access (p. 8).
• To clear the selected filters, choose Clear filters next to the filter.
• To access the Lambda function details page for a specific function, choose the finding
classification listed next to the desired function.
Modify the configured memory of your Lambda function when you're ready. For more information,
see Configuring Lambda function memory in the AWS Lambda Developer Guide.
The details page lists the top optimization recommendation for the function that you chose. It lists
the specifications of your current function, the recommended function configuration, and utilization
metric graphs.
4. You can perform the following actions on the details page:
• Choose a recommendation option to view the utilization comparison between your current
function and a recommended function.
The utilization metric graphs for your current function are displayed at the bottom of the page.
• To change the time range of the graphs, choose Time Range, and then choose Last 24 hours, Last
3 days, Last week, or Last 2 weeks.
Choosing a shorter time range displays the data points at a higher granularity, which provides a
higher level of detail.
Modify the configured memory of your Lambda function when you're ready. For more information,
see Configuring Lambda function memory in the AWS Lambda Developer Guide.
47
AWS Compute Optimizer User Guide
Restrictions
Exporting recommendations
You can export your recommendations to record them over time, and share the data with others.
Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript
Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you
specify.
Contents
• Restrictions (p. 48)
• Amazon S3 bucket permission requirements (p. 48)
• Exporting your recommendations (p. 48)
• Viewing your export jobs (p. 50)
• Exported files (p. 50)
• Troubleshooting failed export jobs (p. 86)
Restrictions
The following restrictions apply when exporting recommendations:
• You can have only one recommendations export job in progress for each resource type, and for each
AWS Region. Confirm that all previous export jobs are completed before creating a new export job. For
more information about viewing your export jobs, including those that are in progress, see Viewing
your export jobs (p. 50).
• Recommendations for each resource type, and in each AWS Region are exported in separate .csv files.
You cannot export recommendations from multiple resource types and Regions into a single file.
• Large export jobs can take a while to complete. Consider limiting the recommendation columns
that you include in your export job. Additionally, if your account is the management account of an
organization, consider limiting the number of member accounts to include in your export job.
48
AWS Compute Optimizer User Guide
Exporting your recommendations
2. Choose a resource type in the navigation pane. For example, choose EC2 instances, Auto Scaling
groups, EBS volume, or Lambda function.
3. On the Recommendations page, choose the Action dropdown menu, and choose Export
Recommendations.
4. On the Export Recommendations page, under Export destination settings, specify the following:
a. For Resource type, choose the resource type to include in your recommendations export.
b. For Accounts, choose if you want to include recommendations for all member accounts of the
organization. This option is available only if your account is the management account of an
organization.
6. Under Columns to include, choose the recommendations data to include in your recommendations
export. For more information about the columns to include, see Exported files (p. 50).
7. Choose Export after you confirm that the export job is configured correctly, or choose Cancel to
return to the Recommendations page without creating the export job. The export job configuration
is deleted if you cancel it.
Note
If you export recommendations for multiple AWS Regions at one time, they are treated
as separate export jobs and Compute Optimizer will try to start all of them at once. The
Export Recommendations page will display an error if an export job fails to start. Export
jobs that successfully start will continue to process, but you must resolve the errors for the
failed jobs before trying to start them again.
Your recommendations export job will take a while to complete. Check the status of your export jobs
by viewing the Exports page. For more information, see Viewing your export jobs (p. 50). Your
recommendations export file, and its associated metadata file, are saved to the specified S3 bucket when
the export job is completed. The following are examples of the full Amazon S3 object key for the export
file and its associated metadata file. The account ID in the object keys is the account of the requester of
the export job. For more information, see Exported files (p. 50).
s3://<BucketName>/<OptionalPrefix>/compute-
optimizer/<AccountId>/<AWSRegion>-<CreatedTimestamp>-<UniqueJobID>.csv
s3://<BucketName>/<OptionalPrefix>/compute-
optimizer/<AccountId>/<AWSRegion>-<CreatedTimestamp>-<UniqueJobID>-metadata.json
Example:
s3://compute-optimizer-exports/ec2-instance-recommendations/compute-
optimizer/111122223333/us-west-2-2020-03-03T133027-3e496c549301c8a4dfcsdX.csv
49
AWS Compute Optimizer User Guide
Viewing your export jobs
s3://compute-optimizer-exports/ec2-instance-recommendations/compute-
optimizer/111122223333/us-west-2-2020-03-03T133027-3e496c549301c8a4dfcsdX-metadata.json
The Exports page displays the recommendation export jobs that were created in the last seven days.
• Queued - The export job has not yet started. You can have only one recommendations export job
in progress for each resource type, and for each AWS Region.
• In progress - The export job has started but has not yet completed. Export jobs can take from a
few minutes to a few hours to complete depending on the number of recommendations and fields
included in the export job.
• Complete - The export job was completed successfully. A link to the export .csv file in the
destination Amazon S3 bucket is displayed for each successfully completed export job under the
export destination column.
• Failed - The export job failed to start or complete. The message displayed under the failure reason
column for the export job provides additional information about why the export job was not
completed. For example, the export might have failed because the destination Amazon S3 bucket
didn't have the required permissions. Try to export your recommendations again after resolving
the issue. For more information, see Troubleshooting failed export jobs (p. 86).
3. You can perform the following actions on the page:
• Choose the export destination link for a completed job to access the destination S3 bucket. The
export destination displays only for successful export jobs. Export jobs that are in progress, or that
have failed display a dash.
• Scroll right to view the failure reason for failed export jobs. Use the failure reason to determine
why your export job was not completed.
Exported files
Recommendations are exported in a.csv file, and its metadata in a .json file, to the Amazon S3 bucket
that you specified when you created the export job.
Recommendations file
The recommendations file includes the recommendation data for the recommendation columns that you
choose to include when you create the export job. The following tables lists all of the recommendation
columns that can be included in the export file for each resource type.
In the following tables, API field name column represents the fields that you can specify when
requesting a recommendations export using the API, and the Description column describes the
50
AWS Compute Optimizer User Guide
Recommendations file
data of each field, the name of the column as displayed in the Compute Optimizer console, and
the name of the column as listed in the export .csv file. The recommendation data columns in
the .csv file are numbered when multiple recommendations are generated for each resource. Ranked
recommendation columns, in which <rank> is replaced with a ranking, correspond to each other.
For example, recommendationOptions_1_memory, recommendationOptions_1_network, and
recommendationOptions_1_vcpus correspond to each other, and are for the same recommendation.
Note
All export files include the following columns by default:
51
AWS Compute Optimizer User Guide
Recommendations file
52
AWS Compute Optimizer User Guide
Recommendations file
53
AWS Compute Optimizer User Guide
Recommendations file
54
AWS Compute Optimizer User Guide
Recommendations file
55
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsProjectedUtilizationMetricsCpuMaximum
The projected maximum CPU utilization metric
of the instance recommendation. This value
defines the maximum CPU utilization of the
recommended instance type if you had used the
recommended instance type during the look-back
period.
RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum
The projected maximum memory utilization
metric of the instance recommendation. This
value defines the maximum memory utilization of
the recommended instance type if you had used
the recommended instance type during the look-
back period.
RecommendationOptionsStandardOneYearNoUpfrontReservedPrice
The Reserved Instances, standard 1-year no
upfront price for the instance recommendation.
56
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice
The Reserved Instances, standard 3-year no
upfront price for the instance recommendation.
RecommendationsSourcesRecommendationSourceArn
The Amazon Resource Name (ARN) of the current
resource.
57
AWS Compute Optimizer User Guide
Recommendations file
RecommendationsSourcesRecommendationSourceType
The resource type of the current resource (i.e.,
instance).
58
AWS Compute Optimizer User Guide
Recommendations file
59
AWS Compute Optimizer User Guide
Recommendations file
UtilizationMetricsNetworkInBytesPerSecondMaximum
The maximum network in bytes per second of the
current instance observed during the lookback
period (up to 14 days).
60
AWS Compute Optimizer User Guide
Recommendations file
UtilizationMetricsNetworkOutBytesPerSecondMaximum
The maximum network out bytes per second of
the current instance observed during the lookback
period (up to 14 days).
UtilizationMetricsNetworkPacketsInPerSecondMaximum
The maximum network packets in per second of
the current instance observed during the lookback
period (up to 14 days).
UtilizationMetricsNetworkPacketsOutPerSecondMaximum
The maximum network packets out per second of
the current instance observed during the lookback
period (up to 14 days).
61
AWS Compute Optimizer User Guide
Recommendations file
62
AWS Compute Optimizer User Guide
Recommendations file
63
AWS Compute Optimizer User Guide
Recommendations file
64
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsConfigurationDesiredCapacity
The desired capacity of the Auto Scaling group
recommendation.
65
AWS Compute Optimizer User Guide
Recommendations file
66
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsProjectedUtilizationMetricsCpuMaximum
The projected maximum CPU utilization metric
of the Auto Scaling group recommendation. This
value defines the maximum CPU utilization of the
recommended instance type if you had used the
recommended instance type during the look-back
period.
67
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum
The projected maximum memory
utilization metric of the Auto Scaling
group recommendation. This value defines
the maximum memory utilization of the
recommended instance type if you had used the
recommended instance type during the look-back
period.
RecommendationOptionsStandardOneYearNoUpfrontReservedPrice
The Reserved Instances, standard 1-year
no upfront price for the Auto Scaling group
recommendation.
RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice
The Reserved Instances, standard 3-year
no upfront price for the Auto Scaling group
recommendation.
68
AWS Compute Optimizer User Guide
Recommendations file
69
AWS Compute Optimizer User Guide
Recommendations file
70
AWS Compute Optimizer User Guide
Recommendations file
71
AWS Compute Optimizer User Guide
Recommendations file
UtilizationMetricsNetworkInBytesPerSecondMaximum
The maximum network in bytes per second of the
current instance observed during the lookback
period (up to 14 days).
UtilizationMetricsNetworkOutBytesPerSecondMaximum
The maximum network out bytes per second of
the current instance observed during the lookback
period (up to 14 days).
UtilizationMetricsNetworkPacketsInPerSecondMaximum
The maximum network packets in per second of
the current instance observed during the lookback
period (up to 14 days).
72
AWS Compute Optimizer User Guide
Recommendations file
UtilizationMetricsNetworkPacketsOutPerSecondMaximum
The maximum network packets out per second of
the current instance observed during the lookback
period (up to 14 days).
73
AWS Compute Optimizer User Guide
Recommendations file
CurrentConfigurationVolumeSize The current size (in GB) of the current EBS volume.
74
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsConfigurationVolumeBaselineIOPS
The baseline input/output operations per second
(IOPS) of the EBS volume recommendation.
75
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsConfigurationVolumeBaselineThroughput
The baseline throughput of the EBS volume
recommendation.
RecommendationOptionsConfigurationVolumeBurstIOPS
The burst input/output operations per second
(IOPS) of the EBS volume recommendation.
RecommendationOptionsConfigurationVolumeBurstThroughput
The volume burst throughput of the EBS volume
recommendation.
76
AWS Compute Optimizer User Guide
Recommendations file
UtilizationMetricsVolumeReadBytesPerSecondMaximum
The maximum read bytes per second metric of the
current EBS volume observed during the lookback
period (up to 14 days).
77
AWS Compute Optimizer User Guide
Recommendations file
UtilizationMetricsVolumeReadOpsPerSecondMaximum
The maximum read operations per second metric
of the current EBS volume observed during the
lookback period (up to 14 days).
UtilizationMetricsVolumeWriteBytesPerSecondMaximum
The maximum write bytes per second metric
of the current EBS volume observed during the
lookback period (up to 14 days).
UtilizationMetricsVolumeWriteOpsPerSecondMaximum
The maximum write operations per second metric
of the current EBS volume observed during the
lookback period (up to 14 days).
78
AWS Compute Optimizer User Guide
Recommendations file
79
AWS Compute Optimizer User Guide
Recommendations file
80
AWS Compute Optimizer User Guide
Recommendations file
81
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsProjectedUtilizationMetricsDurationExpected
The projected duration of the Lambda function
recommendation.
RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound
The projected minimum amount of time that the
recommended Lambda function would have spent
processing events if the recommended Lambda
function had been used during the look-back
period. The lower bound together with the upper
bound form a range of time that the Lambda
function recommendation option is projected to
spend processing an event.
82
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound
The projected maximum amount of time that the
recommended Lambda function would have spent
processing events if the recommended Lambda
function had been used during the look-back
period. The lower bound together with the upper
bound form a range of time that the Lambda
function recommendation option is projected to
spend processing an event.
83
AWS Compute Optimizer User Guide
Metadata file
Metadata file
A metadata .json file is output with every export job. It includes the schema information for the
associated recommendations file, such as the dialect of the data, column definitions, column
descriptions, and more. The file is meant to help parse the export file, and describe its contents. The
metadata file is saved in the same S3 bucket and prefix that you specified for the export file.
The metadata file includes the following properties for each exported column, or field:
{
"@context": [
"http://www.w3.org/ns/csvw"
],
"url": "us-east-1-2020-05-18T001229Z-f264881a-bfb3-4676-9b14-8d1243599ebb.csv",
"dc:title": "EC2 Instance Recommendations",
"dialect": {
"encoding": "utf-8",
84
AWS Compute Optimizer User Guide
Metadata file
"lineTerminators": [
"\n"
],
"doubleQuote": true,
"skipRows": 0,
"header": true,
"headerRowCount": 1,
"delimiter": ",",
"skipColumns": 0,
"skipBlankRows": false,
"trim": false
},
"dc:modified": {
"@value": "2020-05-20",
"@type": "xsd:date"
},
"tableSchema": {
"columns": [
{
"name": "accountId",
"titles": "Account ID",
"datatype": "string",
"null": "",
"required": false
},
{
"name": "instanceArn",
"titles": "Instance Arn",
"datatype": "string",
"null": "",
"required": false
},
{
"name": "utilizationMetrics_CPU_MAXIMUM",
"titles": "Cpu Maximum Utilization Metrics",
"datatype": "double",
"null": "",
"required": false
},
{
"name": "recommendations_count",
"titles": "Number of recommendations",
"datatype": "integer",
"required": true
},
{
"name": "recommendationOptions_1_instanceType",
"titles": "Recommendation 1 Instance Type",
"datatype": "integer",
"null": "",
"required": false
},
{
"name": "lastRefreshTimestamp_UTC",
"titles": "Last Resfreshed Timestamp UTC",
"datatype": "datetime",
"format": "yyyy-MM-dd HH:mm:ss",
"null": "",
"required": false
},
{
"name": "errorCode",
"titles": "Error Code",
"datatype": "string",
"required": true
},
85
AWS Compute Optimizer User Guide
Troubleshooting failed export jobs
{
"name": "errorMessage",
"titles": "Error Message",
"datatype": "string",
"required": true
}
]
}
}
You don't have permissions to the Amazon S3 bucket specified. Confirm the permissions of your S3
bucket and try again.
Confirm that you have configured the required permissions on your Amazon S3 bucket. For more
information, see Amazon S3 bucket policy for AWS Compute Optimizer (p. 16).
The Amazon S3 bucket specified is public. Only private S3 buckets are supported.
Your Amazon S3 bucket must be set to block public access. For more information, see Blocking public
access to your Amazon S3 storage in the Amazon Simple Storage Service User Guide.
86
AWS Compute Optimizer User Guide
The following table describes the documentation for this release of Compute Optimizer.
Adding documentation for AWS Compute Optimizer now tracks May 18, 2021
managed policies (p. 87) changes for its AWS managed
policies. For more information,
see AWS managed policies for
AWS Compute Optimizer.
87
AWS Compute Optimizer User Guide
Self-service opt out (p. 87) Self-service opt out is now April 6, 2020
supported by using the AWS
Command Line Interface. For
more information, see Opting
out your account.
88