logo
Expand description

AWS Compute Optimizer is a service that analyzes the configuration and utilization metrics of your AWS compute resources, such as EC2 instances, Auto Scaling groups, AWS Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates optimization recommendations to reduce the cost and improve the performance of your workloads. Compute Optimizer also provides recent utilization metric data, as well as projected utilization metric data for the recommendations, which you can use to evaluate which recommendation provides the best price-performance trade-off. The analysis of your usage patterns can help you decide when to move or resize your running resources, and still meet your performance and capacity requirements. For more information about Compute Optimizer, including the required permissions to use the service, see the AWS Compute Optimizer User Guide.

If you’re using the service, you’re probably looking for ComputeOptimizerClient and ComputeOptimizer.

Structs

Describes the configuration of an Auto Scaling group.

Describes an Auto Scaling group recommendation.

Describes a recommendation option for an Auto Scaling group.

A client for the AWS Compute Optimizer API.

Describes a filter that returns a more specific list of Amazon Elastic Block Store (Amazon EBS) volume recommendations. Use this filter with the GetEBSVolumeRecommendations action.

You can use LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, JobFilter with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

Describes a utilization metric of an Amazon Elastic Block Store (Amazon EBS) volume.

Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.

Describes the destination of the recommendations export and metadata files.

Describes a filter that returns a more specific list of recommendations. Use this filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

You can use EBSFilter with the GetEBSVolumeRecommendations action, LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and JobFilter with the DescribeRecommendationExportJobs action.

Describes an error experienced when getting recommendations.

For example, an error is returned if you request recommendations for an unsupported Auto Scaling group, or if you request recommendations for an instance of an unsupported instance family.

Describes an Amazon EC2 instance recommendation.

Describes a recommendation option for an Amazon EC2 instance.

Describes a filter that returns a more specific list of recommendation export jobs. Use this filter with the DescribeRecommendationExportJobs action.

You can use EBSFilter with the GetEBSVolumeRecommendations action, LambdaFunctionRecommendationFilter with the GetLambdaFunctionRecommendations action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

Describes a projected utilization metric of an AWS Lambda function recommendation option.

Describes a recommendation option for an AWS Lambda function.

Describes an AWS Lambda function recommendation.

Describes a filter that returns a more specific list of AWS Lambda function recommendations. Use this filter with the GetLambdaFunctionRecommendations action.

You can use EBSFilter with the GetEBSVolumeRecommendations action, JobFilter with the DescribeRecommendationExportJobs action, and Filter with the GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.

Describes a utilization metric of an AWS Lambda function.

Describes a projected utilization metric of a recommendation option, such as an Amazon EC2 instance. This represents the projected utilization of a recommendation option had you used that resource during the analyzed period.

Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

A summary of a finding reason code.

Describes a recommendation export job.

Use the DescribeRecommendationExportJobs action to view your recommendation export jobs.

Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations.

Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling group.

A summary of a recommendation.

Describes a projected utilization metric of a recommendation option.

The Cpu and Memory metrics are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.

Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and object keys of a recommendations export file, and its associated metadata file.

Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for a recommendations export job.

You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer user guide.

The summary of a recommendation.

Describes a utilization metric of a resource, such as an Amazon EC2 instance.

Compare the utilization metric data of your resource against its projected utilization metric data to determine the performance difference between your current resource and the recommended option.

Describes the configuration of an Amazon Elastic Block Store (Amazon EBS) volume.

Describes an Amazon Elastic Block Store (Amazon EBS) volume recommendation.

Describes a recommendation option for an Amazon Elastic Block Store (Amazon EBS) instance.

Enums

Errors returned by DescribeRecommendationExportJobs

Errors returned by ExportAutoScalingGroupRecommendations

Errors returned by ExportEBSVolumeRecommendations

Errors returned by ExportEC2InstanceRecommendations

Errors returned by ExportLambdaFunctionRecommendations

Errors returned by GetAutoScalingGroupRecommendations

Errors returned by GetEBSVolumeRecommendations

Errors returned by GetEC2InstanceRecommendations

Errors returned by GetEC2RecommendationProjectedMetrics

Errors returned by GetEnrollmentStatus

Errors returned by GetLambdaFunctionRecommendations

Errors returned by GetRecommendationSummaries

Errors returned by UpdateEnrollmentStatus

Traits

Trait representing the capabilities of the AWS Compute Optimizer API. AWS Compute Optimizer clients implement this trait.