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
Analyzing metrics ....................................................................................................................... 1
Enhancing recommendations ....................................................................................................... 2
Viewing findings and recommendations ........................................................................................ 2
Availability ................................................................................................................................ 2
Requirements .................................................................................................................................... 3
CloudWatch metric requirements ................................................................................................. 3
Amazon EC2 instance requirements .............................................................................................. 3
Auto Scaling group requirements ................................................................................................. 6
Amazon EBS volume requirements ............................................................................................... 7
Lambda function requirements .................................................................................................... 7
Getting started .................................................................................................................................. 8
Accounts supported by Compute Optimizer ................................................................................... 8
Required permissions .................................................................................................................. 8
Opting in your account ............................................................................................................... 9
Opting out your account ........................................................................................................... 10
Controlling access ..................................................................................................................... 11
Compute Optimizer and AWS Organizations trusted access .................................................... 11
Policy to opt in to Compute Optimizer ............................................................................... 11
Policies to grant access to Compute Optimizer for standalone AWS accounts ............................ 12
Policies to grant access to Compute Optimizer for a management account of an organization ...... 13
Policies to grant access to manage Compute Optimizer recommendation preferences ................ 14
Policy to deny access to Compute Optimizer ........................................................................ 15
Using Service-Linked Roles ........................................................................................................ 15
Service-Linked Role permissions for Compute Optimizer ....................................................... 16
Service-Linked Role permissions ......................................................................................... 16
Creating a Service-Linked Role for Compute Optimizer .......................................................... 17
Editing a Service-Linked Role for Compute Optimizer ........................................................... 17
Deleting a Service-Linked Role for Compute Optimizer .......................................................... 17
Supported Regions for Compute Optimizer Service-Linked Roles ............................................ 17
AWS managed policies .............................................................................................................. 18
AWS managed policy: ComputeOptimizerServiceRolePolicy .................................................... 18
AWS managed policy: ComputeOptimizerReadOnlyAccess ..................................................... 19
Policy updates ................................................................................................................. 20
S3 bucket policy for Compute Optimizer ..................................................................................... 21
Using encrypted S3 buckets for your recommendations export ............................................... 21
Specifying an existing bucket for your recommendations export ............................................. 22
Additional resources ......................................................................................................... 24
Metrics analyzed .............................................................................................................................. 25
EC2 instance metrics ................................................................................................................. 25
Enabling memory utilization with the CloudWatch Agent ...................................................... 26
EBS volume metrics .................................................................................................................. 26
Lambda function metrics ........................................................................................................... 27
Activating recommendation preferences .............................................................................................. 28
Enhanced infrastructure metrics ................................................................................................. 28
Required permissions ........................................................................................................ 28
Activating enhanced infrastructure metrics .......................................................................... 28
Confirming the status of enhanced infrastructure metrics ...................................................... 36
Troubleshooting enhanced infrastructure metrics ................................................................. 36
Inferred workload type ............................................................................................................. 37
Required permissions ........................................................................................................ 37
Managing the status of the inferred workload type feature .................................................... 37
iii
AWS Compute Optimizer User Guide
iv
AWS Compute Optimizer User Guide
v
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. 8).
Analyzing metrics
After you opt in, Compute Optimizer begins analyzing the specifications and the utilization metrics of
your resources from Amazon CloudWatch for the last 14 days. For example, for Amazon EC2 instances,
Compute Optimizer analyzes the vCPUs, memory, storage, and other specifications. It also analyzes
the CPU utilization, network in and out, disk read and write, and other utilization metrics of currently
running instances. For more information, see Metrics analyzed by AWS Compute Optimizer (p. 25).
1
AWS Compute Optimizer User Guide
Enhancing recommendations
Enhancing recommendations
After you opt in, you can enhance your recommendations by activating recommendation preferences,
such as the enhanced infrastructure metrics paid feature. It extends the metrics analysis look-back period
for EC2 instances, including instances in Auto Scaling groups, to three months (compared to the 14-day
default). For more information, see Activating recommendation preferences (p. 28).
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. 50).
Export your optimization recommendations to record them over time, and share the data with others.
For more information, see Exporting recommendations (p. 76).
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
To receive recommendations, the resources must meet the following Amazon CloudWatch (CloudWatch)
metric and resource-specific requirements.
Contents
• CloudWatch metric requirements (p. 3)
• Amazon EC2 instance requirements (p. 3)
• Auto Scaling group requirements (p. 6)
• Amazon EBS volume requirements (p. 7)
• Lambda function requirements (p. 7)
If your resources don't have enough metric data yet, allow more time for the recommendations to start
appearing in the Compute Optimizer console. For more information about the metrics that CloudWatch
analyzes, see Metrics analyzed by AWS Compute Optimizer (p. 25).
Note
Lambda functions don't require 30 consecutive hours of metric data. For more information, see
Lambda function requirements (p. 7).
If your resources have enough metric data, but the recommendations aren't showing up, Compute
Optimizer might still be analyzing your resources. It can take up to 12 hours to complete the analysis.
After that, resource recommendations will appear in the Compute Optimizer console.
3
AWS Compute Optimizer User Guide
Amazon EC2 instance requirements
The following table shows which instance types are supported by Compute Optimizer.
A1 No
C1 Yes
C3 Yes
C4 Yes
C5 Yes
C5a Yes
C5ad Yes
C5d Yes
C5n Yes
C6a Yes
C6g Yes
C6gd Yes
C6gn Yes
C6i Yes
D2 Yes
D3 Yes
D3en Yes
DL1 No
F1 No
G2 No
G3 No
G4ad No
G4dn No
G5 No
G5g No
H1 Yes
Hpc6a No
I2 Yes
I3 Yes
4
AWS Compute Optimizer User Guide
Amazon EC2 instance requirements
I3en Yes
Im4gn Yes
Inf1 No
Is4gen Yes
M1 Yes
M2 Yes
M3 Yes
M4 Yes
M5 Yes
M5a Yes
M5ad Yes
M5d Yes
M5dn Yes
M5n Yes
M5zn Yes
M6a Yes
M6g Yes
M6gd Yes
M6i Yes
Mac1 No
P2 No
P3 No
P3dn No
P4d No
R3 Yes
R4 Yes
R5 Yes
R5a Yes
R5ad Yes
R5b Yes
R5d Yes
5
AWS Compute Optimizer User Guide
Auto Scaling group requirements
R5dn Yes
R5n Yes
R6g Yes
R6gd Yes
R6i Yes
T1 Yes
T2 Yes
T3 Yes
T3a Yes
T4g Yes
VT1 No
X1 Yes
X1e Yes
X2gd Yes
X2idn No
X2iedn No
X2iezn No
z1d Yes
Additionally, the Auto Scaling groups must meet the following requirements:
Compute Optimizer generates recommendations for instances in Auto Scaling groups that meet all of
these configuration requirements.
6
AWS Compute Optimizer User Guide
Amazon EBS volume 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 metric data requirement
described earlier in this guide.
Functions that don't meet these requirements are given a finding of Unavailable. The reason code of
Inconclusive applies to functions that have configured memory greater than 1,792 MB. Insufficient data
applies to functions that have been invoked less than 50 times in the last 14 days.
Functions with a finding of Unavailable don't appear in the Compute Optimizer console and don't
receive recommendations.
7
AWS Compute Optimizer User Guide
Accounts supported by Compute Optimizer
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.
• 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. 11).
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. 11).
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. 15).
8
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. 25).
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:
9
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. 25).
Note
To improve the recommendation quality of Compute Optimizer, AWS may use your CloudWatch
metrics and configuration data. This includes up to three months (93 days) of metrics analysis
when you activate the enhanced infrastructure metrics feature. Contact AWS Support to
request that AWS stop using your CloudWatch metrics and configuration data to improve the
recommendation quality of Compute Optimizer.
• After you opt in, findings and optimization recommendations can take up to 12 hours to be generated.
Sufficient metric data must also 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. 44) and Viewing resource recommendations (p. 50).
• Activate recommendation preferences, such as the enhanced infrastructure metrics paid feature. It
extends the metrics analysis look-back period for EC2 instances, including instances in Auto Scaling
groups, up to three months (compared to the 14-day default). For more information, see Activating
recommendation preferences (p. 28).
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
10
AWS Compute Optimizer User Guide
Controlling access
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.
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
and autoscaling:DescribeAutoScalingInstances 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. 9). For more information about AWS Organizations trusted access, see Using AWS
Organizations with other AWS services in the AWS Organizations User Guide.
11
AWS Compute Optimizer User Guide
Policies to grant access to Compute
Optimizer for standalone AWS accounts
{
"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": "*"
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:*",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeAutoScalingInstances",
"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",
12
AWS Compute Optimizer User Guide
Policies to grant access to Compute Optimizer
for a management account of an organization
"Action": [
"compute-optimizer:GetEnrollmentStatus",
"compute-optimizer:GetEffectiveRecommendationPreferences",
"compute-optimizer:GetRecommendationPreferences",
"compute-optimizer:GetRecommendationSummaries",
"compute-optimizer:GetEC2InstanceRecommendations",
"compute-optimizer:GetEC2RecommendationProjectedMetrics",
"compute-optimizer:GetAutoScalingGroupRecommendations",
"compute-optimizer:GetEBSVolumeRecommendations",
"compute-optimizer:GetLambdaFunctionRecommendations",
"compute-optimizer:DescribeRecommendationExportJobs",
"compute-optimizer:GetEffectiveRecommendationPreferences",
"compute-optimizer:GetRecommendationPreferences",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeAutoScalingInstances",
"lambda:ListFunctions",
"lambda:ListProvisionedConcurrencyConfigs",
"cloudwatch:GetMetricData"
],
"Resource": "*"
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:*",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeAutoScalingInstances",
"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.
13
AWS Compute Optimizer User Guide
Policies to grant access to manage Compute
Optimizer recommendation preferences
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:GetEnrollmentStatus",
"compute-optimizer:GetEnrollmentStatusesForOrganization",
"compute-optimizer:GetRecommendationSummaries",
"compute-optimizer:GetEC2InstanceRecommendations",
"compute-optimizer:GetEC2RecommendationProjectedMetrics",
"compute-optimizer:GetAutoScalingGroupRecommendations",
"compute-optimizer:GetEBSVolumeRecommendations",
"compute-optimizer:GetLambdaFunctionRecommendations",
"compute-optimizer:GetEffectiveRecommendationPreferences",
"compute-optimizer:GetRecommendationPreferences",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeAutoScalingInstances",
"lambda:ListFunctions",
"lambda:ListProvisionedConcurrencyConfigs",
"cloudwatch:GetMetricData",
"organizations:ListAccounts",
"organizations:DescribeOrganization",
"organizations:DescribeAccount"
],
"Resource": "*"
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:DeleteRecommendationPreferences",
"compute-optimizer:GetEffectiveRecommendationPreferences",
"compute-optimizer:GetRecommendationPreferences",
"compute-optimizer:PutRecommendationPreferences"
],
"Resource": "*",
"Condition" : {
"StringEquals" : {
"compute-optimizer:ResourceType" : "Ec2Instance"
}
}
}
]
}
14
AWS Compute Optimizer User Guide
Policy to deny access to Compute Optimizer
Grant access to manage recommendation preferences for Auto Scaling groups only
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"compute-optimizer:DeleteRecommendationPreferences",
"compute-optimizer:GetEffectiveRecommendationPreferences",
"compute-optimizer:GetRecommendationPreferences",
"compute-optimizer:PutRecommendationPreferences"
],
"Resource": "*",
"Condition" : {
"StringEquals" : {
"compute-optimizer:ResourceType" : "AutoScalingGroup"
}
}
}
]
}
{
"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.
15
AWS Compute Optimizer User Guide
Service-Linked Role permissions for Compute Optimizer
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": "*"
}
]
}
16
AWS Compute Optimizer User Guide
Creating a Service-Linked Role for Compute Optimizer
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/*"
}
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. 10).
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.
17
AWS Compute Optimizer User Guide
AWS managed policies
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": "*"
},
{
18
AWS Compute Optimizer User Guide
AWS managed policy: ComputeOptimizerReadOnlyAccess
"Sid": "AwsOrgsAccess",
"Effect": "Allow",
"Action": [
"organizations:DescribeOrganization",
"organizations:ListAccounts",
"organizations:ListAWSServiceAccessForOrganization"
],
"Resource": [
"*"
]
},
{
"Sid": "CloudWatchAccess",
"Effect": "Allow",
"Action": [
"cloudwatch:GetMetricData"
],
"Resource": "*"
},
{
"Sid": "AutoScalingAccess",
"Effect": "Allow",
"Action": [
"autoscaling:DescribeAutoScalingInstances",
"autoscaling:DescribeAutoScalingGroups"
],
"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",
19
AWS Compute Optimizer User Guide
Policy updates
"compute-optimizer:GetEnrollmentStatus",
"compute-optimizer:GetEnrollmentStatusesForOrganization",
"compute-optimizer:GetRecommendationSummaries",
"compute-optimizer:GetEC2InstanceRecommendations",
"compute-optimizer:GetEC2RecommendationProjectedMetrics",
"compute-optimizer:GetAutoScalingGroupRecommendations",
"compute-optimizer:GetEBSVolumeRecommendations",
"compute-optimizer:GetLambdaFunctionRecommendations",
"compute-optimizer:GetRecommendationPreferences",
"compute-optimizer:GetEffectiveRecommendationPreferences",
"ec2:DescribeInstances",
"ec2:DescribeVolumes",
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeAutoScalingInstances",
"lambda:ListFunctions",
"lambda:ListProvisionedConcurrencyConfigs",
"cloudwatch:GetMetricData",
"organizations:ListAccounts",
"organizations:DescribeOrganization",
"organizations:DescribeAccount"
],
"Resource": "*"
}
]
}
20
AWS Compute Optimizer User Guide
S3 bucket policy for Compute Optimizer
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, confirm that it has the required permissions 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. 22).
You must create a symmetric KMS key to use an S3 bucket with AWS KMS encryption enabled.
Symmetric KMS keys are the only KMS keys supported by Amazon S3. For more information, see Creating
keys in the AWS KMS Developer Guide. After you create the KMS key, 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 KMS key to
encrypt your recommendations export file when saving it to your encrypted S3 bucket.
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
21
AWS Compute Optimizer User Guide
Specifying an existing bucket for
your recommendations export
format can accommodate the bucket encryption setting. Otherwise, Amazon S3 will reject the
export request.
Note
If the existing KMS key 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 KMS key.
• 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": "*",
"Condition": {
"StringEquals": {
"aws:SourceAccount": "myAccountID",
"aws:SourceArn": "arn:aws:compute-
optimizer:myRegion:myAccountID:*"
}
}
}
• 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": "*",
"Condition": {
"StringEquals": {
"aws:SourceAccount": "myAccountID",
"aws:SourceArn": "arn:aws:compute-
optimizer:myRegion:myAccountID:*"
}
}
}
22
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 myBucketName with the name of your bucket, optionalPrefix with the optional
object prefix, myRegion with the source AWS Region, and myAccountID with 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. It will also fail 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/optionalPrefix/compute-
optimizer/myAccountID/*",
"Condition": {"StringEquals": {
"s3:x-amz-acl": "bucket-owner-full-control",
"aws:SourceAccount": "myAccountID",
"aws:SourceArn": "arn:aws:compute-optimizer:myRegion:myAccountID:*"
}
}
}
]
}
If you don't want to specify an object prefix, use the following policy instead.
{
"Version": "2012-10-17",
"Statement": [
{
23
AWS Compute Optimizer User Guide
Additional resources
"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/compute-optimizer/myAccountID/*",
"Condition": {"StringEquals": {
"s3:x-amz-acl": "bucket-owner-full-control",
"aws:SourceAccount": "myAccountID",
"aws:SourceArn": "arn:aws:compute-optimizer:myRegion:myAccountID:*"
}
}
}
]
}
Additional resources
For more information about S3 buckets and policies, see the Amazon Simple Storage Service User Guide.
24
AWS Compute Optimizer User Guide
EC2 instance metrics
Contents
• EC2 instance metrics (p. 25)
• EBS volume metrics (p. 26)
• Lambda function metrics (p. 27)
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.
25
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 of EBS volumes attached to the instance.
Displayed as KiB/seconds in the console.
VolumeWriteBytes The write bytes per second of EBS volumes attached to the
instance. Displayed as KiB/seconds in the console.
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
26
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.
27
AWS Compute Optimizer User Guide
Enhanced infrastructure metrics
Activating recommendation
preferences
Recommendation preferences are features that you can activate to enhance or augment the
recommendations that Compute Optimizer generates for your resources. Following are the features that
are currently available as recommendation preferences in Compute Optimizer.
• Enhanced infrastructure metrics - Extends the utilization metrics analysis look-back period up to
three months (93 days) for Amazon EC2 instances, including instances that are part of Auto Scaling
groups. Enhanced infrastructure metrics is a paid feature. For more information, see Enhanced
infrastructure metrics (p. 28).
• Inferred workload type - Infers the applications that might be running on your AWS resources, such
as EC2 instances and Auto Scaling groups. This helps with identifying the effort to migrate your
workloads from x86-based instance types to Arm-based AWS Graviton instance types. For more
information, see Inferred workload type (p. 37).
• AWS Graviton-based instance recommendations - Gives you the price and performance impact of
running your workload on AWS Graviton-based instances. For more information, see AWS Graviton-
based instance recommendations (p. 39).
Contents
• Required permissions (p. 28)
• Activating enhanced infrastructure metrics (p. 28)
• Confirming the status of enhanced infrastructure metrics (p. 36)
• Troubleshooting enhanced infrastructure metrics (p. 36)
Required permissions
You must have the appropriate permissions to activate and deactivate enhanced infrastructure metrics.
For more information, see Policies to grant access to manage Compute Optimizer recommendation
preferences (p. 14).
• Resource-level recommendation preferences - In the Resource details page, you can activate
enhanced infrastructure metrics for the individual resource that you're viewing. For example, the
28
AWS Compute Optimizer User Guide
Activating enhanced infrastructure metrics
Instance details page for an individual EC2 instance provides the option to activate the enhanced
infrastructure metrics feature only for that EC2 instance. For more information, see Activating
enhanced infrastructure metrics at the resource level (p. 29) later in this guide.
Note
Resource-level preferences override account-level preferences, and account-level preferences
override organization-level preferences. For an EC2 instance that is part of an Auto Scaling
group, the Auto Scaling group recommendation preference overrides that of the individual
instance.
• Account-level recommendation preferences - In the Account page for an individual account, you can
activate the enhanced infrastructure metrics feature for all EC2 instances in the account that meet
your resource type and AWS Region criteria. EC2 instance preferences at the account level apply to
standalone instances and instances that are part of Auto Scaling groups. For more information, see
Activating enhanced infrastructure metrics at the account level (p. 31) later in this guide.
• Organization-level recommendation preferences - In the Account page for the management account
of an organization, you can activate the enhanced infrastructure metrics feature for all resources in
all member accounts of the organization that meet your resource type and AWS Region criteria. EC2
instance preferences at the organization level apply to standalone instances and instances that are
part of Auto Scaling groups in all member accounts. For more information, see Activating enhanced
infrastructure metrics at the organization level (p. 33) later in this guide.
After you activate the enhanced infrastructure metrics feature, Compute Optimizer will apply the
preference the next time recommendations are refreshed, which can take up to 24 hours. To confirm
if your resource recommendations are taking enhanced infrastructure metrics into consideration, see
Confirming the status of enhanced infrastructure metrics (p. 36).
Note
To improve the recommendation quality of Compute Optimizer, AWS may use your CloudWatch
metrics and configuration data. This includes up to three months (93 days) of metrics analysis
when you activate the enhanced infrastructure metrics feature. Contact AWS Support to
request that AWS stop using your CloudWatch metrics and configuration data to improve the
recommendation quality of Compute Optimizer.
• Choose View recommendations for EC2 instances if you want to activate the feature for an
individual Amazon EC2 instance.
• Choose View recommendations for Auto Scaling groups if you want to activate the feature for an
individual Auto Scaling group.
Note
For an EC2 instance that is part of an Auto Scaling group, the Auto Scaling group
recommendation preference overrides that of the individual instance.
3. In the Resource recommendations page that appears, either for Amazon EC2 instances or for
Auto Scaling groups, choose the resource for which you want to activate or deactivate enhanced
infrastructure metrics.
4. In the Resource details page that appears, choose Edit in the Recommendation preferences section
of the page.
29
AWS Compute Optimizer User Guide
Activating enhanced infrastructure metrics
Enhanced infrastructure metrics is checked if the feature is currently activated for the resource that
you're viewing. The option is unchecked if it is not currently activated.
5. Select the enhanced infrastructure metrics feature to activate it, or clear it to deactivate it.
6. Choose Save to save the updated recommendation preference for the individual resource.
Note
Saving the preference initiates metering for enhanced infrastructure metrics for the
individual resource. For more information about pricing for this feature, see Compute
Optimizer pricing.
Compute Optimizer will consider updated preferences the next time it generates recommendations. Until
then, a pending status is affixed to your updated preference (for example, Active-pending or Inactive-
pending). To confirm if your resource recommendations are taking enhanced infrastructure metrics into
consideration, see Confirming the status of enhanced infrastructure metrics (p. 36).
30
AWS Compute Optimizer User Guide
Activating enhanced infrastructure metrics
If you're signed in to the management account of the organization, the Accounts page lists all
member accounts of the organization and recommendation preferences as shown in the following
example. If you're signed in to a standalone account, the page lists only the recommendation
preferences for your account.
3. If you're signed in to the management account of an organization, choose the account for which you
want to activate enhanced infrastructure metrics. Then choose View preferences. If you're signed in
to a standalone account, skip to the next step (step 4) of this procedure.
31
AWS Compute Optimizer User Guide
Activating enhanced infrastructure metrics
4. The Recommendation preferences section of the page lists the current preferences for the
individual account, if any. Choose Edit in the Recommendation preferences section of the page.
• To activate enhanced infrastructure metrics for a resource type in a specific AWS Region, choose
the resource type in the Resource type dropdown menu, choose the AWS Region in the Region
dropdown menu, and select the Activate option.
Note
The EC2 instance option encompasses all EC2 resources, inclusive of standalone instances
and instances that are part of Auto Scaling groups. The Auto Scaling group option
encompasses only instances that are part of Auto Scaling groups, and not standalone
instances.
32
AWS Compute Optimizer User Guide
Activating enhanced infrastructure metrics
• To deactivate enhanced infrastructure metrics for a resource type in a specific AWS Region, clear
the Activate option for the preference you want to deactivate.
6. Choose Save to save the updated recommendation preference for the account.
Note
Saving the preference initiates metering for enhanced infrastructure metrics for all
resources of the selected resource type in the selected Region and in the selected account.
For more information about pricing for this feature, see Compute Optimizer pricing.
Compute Optimizer will consider updated preferences the next time it generates recommendations. Until
then, a pending status is affixed to your update preference (for example, Active-pending or Inactive-
pending). To confirm if your resource recommendations are taking enhanced infrastructure metrics into
consideration, see Confirming the status of enhanced infrastructure metrics (p. 36).
33
AWS Compute Optimizer User Guide
Activating enhanced infrastructure metrics
Note
This option is available only to management accounts of an organization who opted member
accounts in to Compute Optimizer.
The Accounts page lists all member accounts of the organization if you're signed in to the
management account of the organization. The Recommendation preferences section of the page
lists the preferences that are activated for all accounts in the organization, if any.
34
AWS Compute Optimizer User Guide
Activating enhanced infrastructure metrics
• To activate enhanced infrastructure metrics for a specific resource type in an AWS Region, choose
the resource type in the Resource type dropdown menu, choose the Region in the AWS Region
dropdown menu, and select the Active option.
• To deactivate the feature for a specific resource type in an AWS Region, clear the Active option for
the preference you want to deactivate.
5. Choose Save to save the updated recommendation preference for all accounts in the organization.
35
AWS Compute Optimizer User Guide
Confirming the status of enhanced infrastructure metrics
Note
Saving the preference initiates metering for enhanced infrastructure metrics for all
resources of the selected resource type in the selected Region and in all member accounts
of the organization. For more information about pricing for this feature, see Compute
Optimizer pricing.
Compute Optimizer will consider updated preferences the next time it generates recommendations. Until
then, a pending status is affixed to your update preference (for example, Active-pending or Inactive-
pending). To confirm if your resource recommendations are taking enhanced infrastructure metrics into
consideration, see Confirming the status of enhanced infrastructure metrics (p. 36).
A banner is displayed that indicates that the Compute Optimizer console could not get or update
enhanced infrastructure metrics recommendation preferences.
Cause
You might not have the permissions required to view or update recommendation preferences.
Solution
36
AWS Compute Optimizer User Guide
Inferred workload type
Add the required permissions to the user who will view or edit recommendation preferences. For
more information, see Policies to grant access to manage Compute Optimizer recommendation
preferences (p. 14).
The inferred workload types and migration effort are listed in the Inferred workload types and
Migration effort columns of the EC2 instances and Auto Scaling groups recommendations pages. For
more information, see Viewing EC2 instance recommendations (p. 50) and Viewing Auto Scaling
group recommendations (p. 62).
Contents
• Required permissions (p. 37)
• Managing the status of the inferred workload type feature (p. 37)
Required permissions
You must have the appropriate permissions to manage the status of the inferred workload type feature.
For more information, see Policies to grant access to manage Compute Optimizer recommendation
preferences (p. 14).
• Account-level recommendation preferences - In the Account page for an individual account, you can
deactivate the inferred workload type feature for all AWS resources in the account that meet your AWS
Region criteria. For more information, see Managing the status of the inferred workload type feature
at the account level (p. 38) later in this guide.
• Organization-level recommendation preferences - In the Account page for the management account
of an organization, you can deactivate the inferred workload type feature for all resources in all
member accounts of the organization that meet your AWS Region criteria. For more information, see
Managing the status of the inferred workload type feature at the organization level (p. 38) later in
this guide.
After you deactivate the inferred workload type feature, Compute Optimizer will stop inferring workload
types the next time recommendations are refreshed. This can take up to 24 hours.
37
AWS Compute Optimizer User Guide
Managing the status of the inferred workload type feature
If you're signed in to the management account of the organization, the Accounts page lists all
member accounts of the organization and recommendation preferences. If you're signed in to a
standalone account, the page lists only the recommendation preferences for your account.
3. If you're signed in to the management account of an organization, choose the account for which you
want to manage the status of the inferred workload type feature. Then, choose View preferences. If
you're signed in to a standalone account, skip to the step 4 of this procedure.
4. The Recommendation preferences section of the page lists the current preferences for the
individual account, if any. Choose Edit in the Recommendation preferences section of the page.
5. Complete one of the following steps:
• To deactivate inferred workload type in a specific AWS Region, choose the AWS Region in the
Region dropdown menu, and then clear the Activate option.
• To activate inferred workload type in a specific AWS Region that you had previously deactivated,
select the Activate option.
6. Choose Save to save the updated recommendation preference for the account.
If you're signed in to the management account of the organization, the Accounts page lists all
member accounts of the organization. The Recommendation preferences section of the page lists
the preferences that are activated for all accounts in the organization, if any.
3. Choose Edit in the Recommendation preferences section of the page.
4. Complete one of the following steps:
• To deactivate inferred workload type in a specific AWS Region, choose the Region in the AWS
Region dropdown menu, and then clear the Active option.
• To activate inferred workload type in a specific AWS Region that you had previously deactivated,
select the Activate option.
5. Choose Save to save the updated recommendation preference for all accounts in the organization.
38
AWS Compute Optimizer User Guide
AWS Graviton-based instance recommendations
Note
The Current price, Recommended price, Price difference, Price difference (%), and Estimated
monthly savings columns are updated to provide a price comparison between the current
instance type and the instance type of the selected CPU architecture preference. For example, if
you choose Graviton (aws-arm64), prices are compared between the current instance type and
the recommended Graviton-based instance type.
39
AWS Compute Optimizer User Guide
Viewing recommendation
preferences for a standalone account
If your account is the management account of an organization, then the Accounts page also lists the
member accounts of the organization and their opt-in status to Compute Optimizer. Management
accounts of organizations can enroll (opt in) (p. 8) member accounts of the organization to AWS
Compute Optimizer. When member accounts are opted in, Compute Optimizer analyzes all supported
resources within those member accounts for optimization opportunities.
The Organization-level preferences for enhanced infrastructure metrics section of the page lists
the preferences that are activated for the individual account, such as the enhanced infrastructure
metrics. For more information about activating or deactivating the enhanced infrastructure metrics
recommendation preference, see Enhanced infrastructure metrics (p. 28).
40
AWS Compute Optimizer User Guide
Viewing the opt-in status of member accounts of an
organization and their recommendation preferences
The Accounts page lists the member accounts of the organization and their current Compute
Optimizer opt-in status. The Opt-in status and Status description columns describe the
status of each account ID listed. To troubleshoot account opt-in failures, see the section called
“Troubleshooting account opt-in and recommendation preferences” (p. 42).
3. To view the recommendation preferences for a member account, select the member account and
choose View preferences.
41
AWS Compute Optimizer User Guide
Troubleshooting account opt-
in and recommendation preferences
The Enhanced infrastructure metrics section of the page lists the enhanced infrastructure metrics
preferences that are activated for the individual account. For more information about activating
or deactivating the enhanced infrastructure metrics recommendation preference, see Enhanced
infrastructure metrics (p. 28).
Accounts show a Failed opt-in status, and a description of Failed to create service-linked role.
Cause
Compute Optimizer uses AWS Identity and Access Management (IAM) service-linked roles, which include
all of the permissions that the service requires to call other AWS services on your behalf. You must
configure permissions to allow an IAM entity (such as a user, group, or role) to create a service-linked
role for Compute Optimizer. The user who tried to opt in to Compute Optimizer might not have the
permissions required to have the service-linked role created.
Solution
Add the required permissions to the user who will perform the Compute Optimizer opt in. For more
information, see the section called “Service-Linked Role permissions” (p. 16).
Accounts show a Failed opt-in status, and a description of Failed to enable trusted access.
Cause
42
AWS Compute Optimizer User Guide
Failed to get or update enhanced infrastructure
metrics recommendation preferences
You can use trusted access to enable Compute Optimizer to perform tasks in your organization and
its accounts on your behalf. For more information about AWS Organizations trusted access, see Using
AWS Organizations with other AWS services 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. The user
who tried to opt in to Compute Optimizer might not have the permissions required to have trusted
access enabled.
Solution
Add the required permissions to the user who will perform the Compute Optimizer opt in. For more
information, see Permissions required to enable trusted access in the AWS Organizations User Guide.
After you add the required permissions, opt in to Compute Optimizer again using your organization's
management account and include all member accounts within the organization. For more information,
see the section called “Opting in your account” (p. 9).
A banner is displayed that indicates that the Compute Optimizer console could not get or update
enhanced infrastructure metrics recommendation preferences.
Cause
You might not have the permissions required to view or update recommendation preferences.
Solution
Add the required permissions to the user who will view or edit recommendation preferences. For
more information, see Policies to grant access to manage Compute Optimizer recommendation
preferences (p. 14).
43
AWS Compute Optimizer User Guide
Savings opportunity
Savings opportunity
The savings opportunity section displays the total estimated monthly USD amount and percentage
that you could save (based on On-Demand Instance pricing) if you implement the Compute Optimizer
recommendations for resources in your account. It also displays the estimated monthly savings per
resource type. If you prefer to evaluate your resources for cost savings, then prioritize the resource type
that has the greatest savings opportunity.
Important
Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive
Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates
a connection between Cost Explorer and Compute Optimizer. With this connection, Cost
Explorer generates savings estimates considering the price of existing resources, the price
of recommended resources, and historical usage data. Estimated monthly savings reflects
the projected dollar savings associated with each of the recommendations generated. For
more information, see Enabling Cost Explorer and Optimizing your cost with Rightsizing
Recommendations in the Cost Management User Guide.
The estimated monthly savings and savings opportunity for individual EC2 instances are listed in the EC2
instances recommendations page under the Estimated monthly savings (On-Demand), and Savings
44
AWS Compute Optimizer User Guide
Performance improvement opportunity
opportunity (%) columns. For more information, including how estimated monthly savings is calculated,
see Estimated monthly savings and savings opportunity (p. 57).
The current performance risk for individual EC2 instances and Auto Scaling groups is listed in the EC2
instance details page under the Current performance risk column. For more information, see Current
performance risk for EC2 instances (p. 58).
Findings
The findings section displays the findings classifications count and percentage for resources types in
your account. Compute Optimizer classifies EC2 instances, Auto Scaling groups, and Lambda functions as
under-provisioned, over-provisioned, or optimized. Amazon EBS volumes are classified as not optimized
or optimized. For more information, see Findings classifications (p. 46) later in this guide.
45
AWS Compute Optimizer User Guide
Findings classifications
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. The findings classifications differ based on the resource
type. The following classifications apply to services and resources supported by Compute Optimizer.
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.
46
AWS Compute Optimizer User Guide
Auto Scaling group finding classifications
For more information, see Finding reasons (p. 51) in the Viewing EC2 instance
recommendations (p. 50) topic.
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. 51) in the Viewing EC2 instance
recommendations (p. 50) topic.
47
AWS Compute Optimizer User Guide
Viewing the dashboard
Classification Description
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. 8) and
Compute Optimizer and AWS Organizations trusted access (p. 11).
• To show or hide the savings opportunity and performance improvement opportunity sections
of the dashboard, choose the gear icon, choose the sections that you want to show or hide, and
choose Apply.
• 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.
48
AWS Compute Optimizer User Guide
Viewing the dashboard
• 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. 50).
49
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. 50).
• Auto Scaling groups - For more information, see Viewing Auto Scaling group
recommendations (p. 62).
• Amazon EBS volumes - For more information, see Viewing Amazon EBS volume
recommendations (p. 68).
• AWS Lambda functions - For more information, see Viewing Lambda function
recommendations (p. 71).
• The EC2 instances recommendations page lists each of your current instances, their finding
classifications (p. 51), finding reasons (p. 51), platform differences (p. 55), current instance
type, and current hourly price for the selected purchasing option (p. 56). 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. 58), 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, or longer if you activate the
enhanced infrastructure metrics paid feature (p. 28). For more information, see Metrics analyzed by AWS
Compute Optimizer (p. 25).
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).
50
AWS Compute Optimizer User Guide
Finding classifications
Contents
• Finding classifications (p. 51)
• Finding reasons (p. 51)
• AWS Graviton-based instance recommendations (p. 54)
• Inferred workload types (p. 55)
• Migration effort (p. 55)
• Platform differences (p. 55)
• Prices and purchasing options (p. 56)
• Estimated monthly savings and savings opportunity (p. 57)
• Performance risk (p. 58)
• Current performance risk (p. 58)
• Utilization graphs (p. 58)
• Viewing EC2 instances recommendations (p. 60)
• Viewing EC2 instance details (p. 61)
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.
51
AWS Compute Optimizer User Guide
Finding reasons
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.
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
analyzes the mem_used_percent metric in the CWAgent
namespace, or the legacy MemoryUtilization metric in
the System/Linux namespace. On Windows instances,
Compute Optimizer analyzes 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
analyzes the mem_used_percent metric in the CWAgent
namespace, or the legacy MemoryUtilization metric in
the System/Linux namespace. On Windows instances,
Compute Optimizer analyzes 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 VolumeReadBytes and
VolumeWriteBytes metric 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 VolumeReadBytes
52
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 VolumeReadOps and VolumeWriteOps
metrics 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 VolumeReadOps
and VolumeWriteOps metrics 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.
53
AWS Compute Optimizer User Guide
AWS Graviton-based instance recommendations
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.
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, you can change the instance type from C5 to C5n to help improve network
performance. For more information, see 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.
54
AWS Compute Optimizer User Guide
Inferred workload types
Note
The Current price, Recommended price, Price difference, Price difference (%), and Estimated
monthly savings columns are updated to provide a price comparison between the current
instance type and the instance type of the selected CPU architecture preference. For example, if
you choose Graviton (aws-arm64), prices are compared between the current instance type and
the recommended Graviton-based instance type.
Migration effort
The Migration effort column on the EC2 instances recommendations and EC2 instances details
pages lists the level of effort that might be required to migrate from the current instance type to the
recommended instance type. For example, the migration effort is Medium if a workload type can't be
inferred but an AWS Graviton instance type is recommended. The migration effort is Low if Amazon EMR
is the inferred workload type and an AWS Graviton instance type is recommended. The migration effort
is Very low if both the current and recommended instance types are of the same CPU architecture. For
more information about migrating from x86-based instance types to Arm-based AWS Graviton instances
type, see Considerations when transitioning workloads to AWS Graviton2 based Amazon EC2 instances
in the AWS Graviton Getting Starged GitHub.
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.
55
AWS Compute Optimizer User Guide
Prices and purchasing options
Instance store availability The recommended instance type does not support instance store
volumes, but 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.
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.
56
AWS Compute Optimizer User Guide
Estimated monthly savings and savings opportunity
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.
57
AWS Compute Optimizer User Guide
Performance risk
current instance and the difference in rates between the current instance type and the recommended
instance type. The estimated monthly savings for instances displayed on the Compute Optimizer
dashboard is a sum of the estimated monthly savings for all over-provisioned instances in the account.
Performance risk
The Performance risk column on the EC2 instance details page defines the likelihood of each
recommended instance type not meeting 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 very low performance risk 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 the AWS SDKs,
performance risk is measured on a scale of 0 (very low) to 4 (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. You can change the graphs to display data for the last 24
hours, three days, one week, or two weeks. If you activate the enhanced infrastructure metrics paid
feature (p. 28), you can view three months. You can also change the statistic of the graphs between
average and maximum.
58
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.
59
AWS Compute Optimizer User Guide
Viewing EC2 instances recommendations
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.
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 view the price and performance impact of running your workload on AWS Graviton-based
instances, choose Graviton (aws-arm64) in the CPU architecture preference dropdown.
Otherwise, the Current (default) option displays recommendations that are based on the same
CPU vendor and architecture as the current instance.
• 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. 8) and Compute Optimizer and AWS Organizations trusted
access (p. 11).
• To clear the selected filters, choose Clear filters next to the filter.
60
AWS Compute Optimizer User Guide
Viewing EC2 instance details
• 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.
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:
• To view the price and performance impact of running your workload on AWS Graviton-based
instances, choose Graviton (aws-arm64) in the CPU architecture preference dropdown.
Otherwise, the Current (default) option displays recommendations that are based on the same
CPU vendor and architecture as the current instance.
• Activate the enhanced infrastructure metrics paid feature to extend the metrics analysis look-back
period for the EC2 instance you're viewing up to three months (compared to the 14-day default).
For more information, see Enhanced infrastructure metrics (p. 28).
• 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. If you activate the enhanced infrastructure metrics
recommendation preference (p. 28), you can also choose Last 3 months.
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.
61
AWS Compute Optimizer User Guide
Auto Scaling group recommendations
• The Auto Scaling groups recommendations page lists each of your current Auto Scaling groups, their
finding classifications (p. 62), current instance type, current hourly price for the selected purchasing
option (p. 64), 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 upsize
or downsize 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
group. It lists the specifications for each recommendation, their performance risk (p. 65), 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, or longer if you
activate the enhanced infrastructure metrics paid feature (p. 28). For more information, see Metrics
analyzed by AWS Compute Optimizer (p. 25).
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. 62)
• AWS Graviton-based instance recommendations (p. 63)
• Inferred workload types (p. 63)
• Migration effort (p. 64)
• Prices and purchasing options (p. 64)
• Estimated monthly savings and savings opportunity (p. 65)
• Performance risk (p. 65)
• Current performance risk (p. 66)
• Utilization graphs (p. 66)
• Viewing Auto Scaling groups recommendations (p. 66)
• Viewing Auto Scaling group details (p. 67)
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.
62
AWS Compute Optimizer User Guide
AWS Graviton-based instance recommendations
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
The Current price, Recommended price, Price difference, Price difference (%), and Estimated
monthly savings columns are updated to provide a price comparison between the current
instance type and the instance type of the selected CPU architecture preference. For example, if
you choose Graviton (aws-arm64), prices are compared between the current instance type and
the recommended Graviton-based instance type.
63
AWS Compute Optimizer User Guide
Migration effort
to migrate your workloads from x86-based instance types to Arm-based AWS Graviton instances types.
For more information, see Migration effort (p. 64) in the next section of this guide.
Migration effort
The Migration effort column on the Auto Scaling groups recommendations and Auto Scaling groups
details pages lists the level of effort that might be required to migrate from the current instance type to
the recommended instance type. For example, the migration effort is Medium if a workload type can't be
inferred but an AWS Graviton instance type is recommended. The migration effort is Low if Amazon EMR
is the inferred workload type and an AWS Graviton instance type is recommended. The migration effort
is Very low if both the current and recommended instance types are of the same CPU architecture. For
more information about migrating from x86-based instance types to Arm-based AWS Graviton instances
type, see Considerations when transitioning workloads to AWS Graviton2 based Amazon EC2 instances
in the AWS Graviton Getting Starged GitHub.
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.
64
AWS Compute Optimizer User Guide
Estimated monthly savings and savings opportunity
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 of each
recommended instance type not meeting 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 very low performance risk 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 AWS SDKs,
performance risk is measured on a scale of 0 (very low) to 4 (very high).
65
AWS Compute Optimizer User Guide
Current performance risk
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. If you activate the enhanced
infrastructure metrics paid feature (p. 28), you can view data from the last three months.
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.
66
AWS Compute Optimizer User Guide
Viewing Auto Scaling group details
• To view the price and performance impact of running your workload on AWS Graviton-based
instances, choose Graviton (aws-arm64) in the CPU architecture preference dropdown.
Otherwise, the Current (default) option displays recommendations that are based on the same
CPU vendor and architecture as the current instance.
• 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. 8) and Compute Optimizer and AWS Organizations trusted
access (p. 11).
• 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:
• To view the price and performance impact of running your workload on AWS Graviton-based
instances, choose Graviton (aws-arm64) in the CPU architecture preference dropdown.
Otherwise, the Current (default) option displays recommendations that are based on the same
CPU vendor and architecture as the current instance.
• Activate the enhanced infrastructure metrics paid feature to extend the metrics analysis look-back
period for the Auto Scaling group you're viewing up to three months (compared to the 14-day
default). For more information, see Enhanced infrastructure metrics (p. 28).
• 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. If you activate the enhanced infrastructure metrics
recommendation preference (p. 28), you can also choose Last 3 months.
67
AWS Compute Optimizer User Guide
EBS volume recommendations
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. 68), 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.
• 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. 69), 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. 25).
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
68
AWS Compute Optimizer User Guide
Estimated monthly savings and savings opportunity
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
69
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. 8) and Compute Optimizer and AWS Organizations trusted
access (p. 11).
70
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. 72), 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
71
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. 25).
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
72
AWS Compute Optimizer User Guide
Estimated monthly savings and savings opportunity
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.
73
AWS Compute Optimizer User Guide
Viewing Lambda function recommendations
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.
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. 8) and Compute Optimizer and AWS Organizations trusted
access (p. 11).
• 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.
74
AWS Compute Optimizer User Guide
Viewing Lambda function details
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.
75
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. 76)
• Amazon S3 bucket permission requirements (p. 76)
• Exporting your recommendations (p. 76)
• Viewing your export jobs (p. 78)
• Exported files (p. 78)
• Troubleshooting failed export jobs (p. 120)
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. 78).
• 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.
76
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.
c. For CPU architecture preference, choose Graviton (aws-arm64) to export recommendations
that are based on the 64-bit ARM architecture (AWS Graviton). Otherwise, choose Current to
export recommendations that are based on the CPU architecture of your current instances.
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. 78).
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. 78). 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. 78).
s3://<BucketName>/<OptionalPrefix>/compute-
optimizer/<AccountId>/<AWSRegion>-<CreatedTimestamp>-<UniqueJobID>.csv
s3://<BucketName>/<OptionalPrefix>/compute-
optimizer/<AccountId>/<AWSRegion>-<CreatedTimestamp>-<UniqueJobID>-metadata.json
Example:
77
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.csv
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. 120).
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 the 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 list all of the recommendation
columns that can be included in the export file for each resource type.
78
AWS Compute Optimizer User Guide
Recommendations file
In the following tables, API field name column represents the fields that you can specify when
requesting a recommendations export using the API. The Description column describes the 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:
79
AWS Compute Optimizer User Guide
Recommendations file
80
AWS Compute Optimizer User Guide
Recommendations file
81
AWS Compute Optimizer User Guide
Recommendations file
82
AWS Compute Optimizer User Guide
Recommendations file
83
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 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.
84
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.
85
AWS Compute Optimizer User Guide
Recommendations file
RecommendationsSourcesRecommendationSourceType
The resource type of the current resource (for
example, instance).
86
AWS Compute Optimizer User Guide
Recommendations file
87
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).
88
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).
89
AWS Compute Optimizer User Guide
Recommendations file
EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics
The status of the enhanced infrastructure metrics
recommendation preference for the listed
recommendation. An Active status confirms
the recommendation listed is considering the
longer three-month lookback period. An Inactive
status confirms that the recommendation is not
yet considering the longer lookback period. For
more information, see Enhanced infrastructure
metrics (p. 28).
EffectiveRecommendationPreferencesCpuVendorArchitectures
The CPU vendor and architecture for an EC2
instance recommendation.
RecommendationOptionsSavingsOpportunityPercentage
The estimated monthly savings possible as a
percentage of monthly cost by adopting Compute
Optimizer recommendations for an instance.
90
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsEstimatedMonthlySavingsCurrency
The currency of the estimated monthly savings.
RecommendationOptionsEstimatedMonthlySavingsValue
The value of the estimated monthly savings.
EffectiveRecommendationPreferencesInferredWorkloadTypes
The status of the inferred workload type
recommendation preference for the listed
recommendation. For more information, see
Inferred workload type (p. 37).
91
AWS Compute Optimizer User Guide
Recommendations file
92
AWS Compute Optimizer User Guide
Recommendations file
93
AWS Compute Optimizer User Guide
Recommendations file
94
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsConfigurationDesiredCapacity
The desired capacity of the Auto Scaling group
recommendation.
95
AWS Compute Optimizer User Guide
Recommendations file
96
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 used the
recommended instance type during the look-back
period.
97
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.
98
AWS Compute Optimizer User Guide
Recommendations file
99
AWS Compute Optimizer User Guide
Recommendations file
100
AWS Compute Optimizer User Guide
Recommendations file
101
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).
102
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).
EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics
The status of the enhanced infrastructure metrics
recommendation preference for the listed
recommendation. An Active status confirms
the recommendation listed is considering the
longer three-month lookback period. An Inactive
status confirms that the recommendation is not
yet considering the longer lookback period. For
more information, see Enhanced infrastructure
metrics (p. 28).
EffectiveRecommendationPreferencesCpuVendorArchitectures
The CPU vendor and architecture for an Auto
Scaling group recommendation.
103
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsSavingsOpportunityPercentage
The estimated monthly savings possible as a
percentage of monthly cost by adopting Compute
Optimizer recommendations for an Auto Scaling
group.
RecommendationOptionsEstimatedMonthlySavingsCurrency
The currency of the estimated monthly savings.
RecommendationOptionsEstimatedMonthlySavingsValue
The value of the estimated monthly savings.
EffectiveRecommendationPreferencesInferredWorkloadTypes
The status of the inferred workload type
recommendation preference for the listed
recommendation. For more information, see
Inferred workload type (p. 37).
104
AWS Compute Optimizer User Guide
Recommendations file
105
AWS Compute Optimizer User Guide
Recommendations file
CurrentConfigurationVolumeSize The current size (in GB) of the current EBS volume.
106
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsConfigurationVolumeBaselineIOPS
The baseline input/output operations per second
(IOPS) of the EBS volume recommendation.
107
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.
108
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).
109
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).
110
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsSavingsOpportunityPercentage
The estimated monthly savings possible as a
percentage of monthly cost by adopting Compute
Optimizer recommendations for an EBS volume.
RecommendationOptionsEstimatedMonthlySavingsCurrency
The currency of the estimated monthly savings.
RecommendationOptionsEstimatedMonthlySavingsValue
The value of the estimated monthly savings.
111
AWS Compute Optimizer User Guide
Recommendations file
112
AWS Compute Optimizer User Guide
Recommendations file
113
AWS Compute Optimizer User Guide
Recommendations file
114
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.
115
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.
116
AWS Compute Optimizer User Guide
Recommendations file
RecommendationOptionsSavingsOpportunityPercentage
The estimated monthly savings possible as a
percentage of monthly cost by adopting Compute
Optimizer recommendations for a Lambda
function.
117
AWS Compute Optimizer User Guide
Metadata file
RecommendationOptionsEstimatedMonthlySavingsCurrency
The currency of the estimated monthly savings.
RecommendationOptionsEstimatedMonthlySavingsValue
The value of the estimated monthly savings.
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",
"lineTerminators": [
"\n"
],
"doubleQuote": true,
"skipRows": 0,
"header": true,
"headerRowCount": 1,
"delimiter": ",",
"skipColumns": 0,
"skipBlankRows": false,
"trim": false
},
118
AWS Compute Optimizer User Guide
Metadata file
"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
},
{
"name": "errorMessage",
"titles": "Error Message",
"datatype": "string",
"required": true
}
]
}
}
119
AWS Compute Optimizer User Guide
Troubleshooting failed export jobs
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. 21).
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.
120
AWS Compute Optimizer User Guide
The following table describes the documentation for this release of Compute Optimizer.
View savings and performance Identify your biggest cost and November 29, 2021
improvement opportunities for performance improvement
your resources, and activate opportunities in the new
Savings opportunity and
121
AWS Compute Optimizer User Guide
AWS Graviton-based instance Compute Optimizer now gives August 26, 2021
recommendations (p. 121) you the price and performance
impact of running your workload
on AWS Graviton-based
instances. For more information,
see AWS Graviton-based
instance recommendations. You
can also now view the member
accounts of an organization
that are opted in to Compute
Optimizer if your account is
the management account of
the organization. For more
information, see Viewing the
accounts opted in to AWS
Compute Optimizer.
122
AWS Compute Optimizer User Guide
Adding documentation for AWS Compute Optimizer now tracks May 18, 2021
managed policies (p. 121) changes for its AWS managed
policies. For more information,
see AWS managed policies for
AWS Compute Optimizer.
123
AWS Compute Optimizer User Guide
Self-service opt out (p. 121) 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.
124