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§
- Auto
Scaling Group Configuration Describes the configuration of an Auto Scaling group.
- Auto
Scaling Group Recommendation Describes an Auto Scaling group recommendation.
- Auto
Scaling Group Recommendation Option Describes a recommendation option for an Auto Scaling group.
- Compute
Optimizer Client - A client for the AWS Compute Optimizer API.
- Describe
Recommendation Export Jobs Request - Describe
Recommendation Export Jobs Response - EBSFilter
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 theGetLambdaFunctionRecommendations
action,JobFilter
with theDescribeRecommendationExportJobs
action, andFilter
with theGetAutoScalingGroupRecommendations
andGetEC2InstanceRecommendations
actions.- EBSUtilization
Metric 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.
- Export
Auto Scaling Group Recommendations Request - Export
Auto Scaling Group Recommendations Response - Export
Destination Describes the destination of the recommendations export and metadata files.
- ExportEBS
Volume Recommendations Request - ExportEBS
Volume Recommendations Response - ExportE
C2Instance Recommendations Request - ExportE
C2Instance Recommendations Response - Export
Lambda Function Recommendations Request - Export
Lambda Function Recommendations Response - Filter
Describes a filter that returns a more specific list of recommendations. Use this filter with the
GetAutoScalingGroupRecommendations
andGetEC2InstanceRecommendations
actions.You can use
EBSFilter
with theGetEBSVolumeRecommendations
action,LambdaFunctionRecommendationFilter
with theGetLambdaFunctionRecommendations
action, andJobFilter
with theDescribeRecommendationExportJobs
action.- GetAuto
Scaling Group Recommendations Request - GetAuto
Scaling Group Recommendations Response - GetEBS
Volume Recommendations Request - GetEBS
Volume Recommendations Response - GetE
C2Instance Recommendations Request - GetE
C2Instance Recommendations Response - GetE
C2Recommendation Projected Metrics Request - GetE
C2Recommendation Projected Metrics Response - GetEnrollment
Status Request - GetEnrollment
Status Response - GetLambda
Function Recommendations Request - GetLambda
Function Recommendations Response - GetRecommendation
Error 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.
- GetRecommendation
Summaries Request - GetRecommendation
Summaries Response - Instance
Recommendation Describes an Amazon EC2 instance recommendation.
- Instance
Recommendation Option Describes a recommendation option for an Amazon EC2 instance.
- JobFilter
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 theGetEBSVolumeRecommendations
action,LambdaFunctionRecommendationFilter
with theGetLambdaFunctionRecommendations
action, andFilter
with theGetAutoScalingGroupRecommendations
andGetEC2InstanceRecommendations
actions.- Lambda
Function Memory Projected Metric Describes a projected utilization metric of an AWS Lambda function recommendation option.
- Lambda
Function Memory Recommendation Option Describes a recommendation option for an AWS Lambda function.
- Lambda
Function Recommendation Describes an AWS Lambda function recommendation.
- Lambda
Function Recommendation Filter 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 theGetEBSVolumeRecommendations
action,JobFilter
with theDescribeRecommendationExportJobs
action, andFilter
with theGetAutoScalingGroupRecommendations
andGetEC2InstanceRecommendations
actions.- Lambda
Function Utilization Metric Describes a utilization metric of an AWS Lambda function.
- Projected
Metric 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
andMemory
metrics are the only projected utilization metrics returned when you run theGetEC2RecommendationProjectedMetrics
action. Additionally, theMemory
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.- Reason
Code Summary A summary of a finding reason code.
- Recommendation
Export Job Describes a recommendation export job.
Use the
DescribeRecommendationExportJobs
action to view your recommendation export jobs.Use the
ExportAutoScalingGroupRecommendations
orExportEC2InstanceRecommendations
actions to request an export of your recommendations.- Recommendation
Source Describes the source of a recommendation, such as an Amazon EC2 instance or Auto Scaling group.
- Recommendation
Summary A summary of a recommendation.
- Recommended
Option Projected Metric Describes a projected utilization metric of a recommendation option.
The
Cpu
andMemory
metrics are the only projected utilization metrics returned when you run theGetEC2RecommendationProjectedMetrics
action. Additionally, theMemory
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.- S3Destination
Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and object keys of a recommendations export file, and its associated metadata file.
- S3Destination
Config 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.
- Summary
The summary of a recommendation.
- Update
Enrollment Status Request - Update
Enrollment Status Response - Utilization
Metric 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.
- Volume
Configuration Describes the configuration of an Amazon Elastic Block Store (Amazon EBS) volume.
- Volume
Recommendation Describes an Amazon Elastic Block Store (Amazon EBS) volume recommendation.
- Volume
Recommendation Option Describes a recommendation option for an Amazon Elastic Block Store (Amazon EBS) instance.
Enums§
- Describe
Recommendation Export Jobs Error - Errors returned by DescribeRecommendationExportJobs
- Export
Auto Scaling Group Recommendations Error - Errors returned by ExportAutoScalingGroupRecommendations
- ExportEBS
Volume Recommendations Error - Errors returned by ExportEBSVolumeRecommendations
- ExportE
C2Instance Recommendations Error - Errors returned by ExportEC2InstanceRecommendations
- Export
Lambda Function Recommendations Error - Errors returned by ExportLambdaFunctionRecommendations
- GetAuto
Scaling Group Recommendations Error - Errors returned by GetAutoScalingGroupRecommendations
- GetEBS
Volume Recommendations Error - Errors returned by GetEBSVolumeRecommendations
- GetE
C2Instance Recommendations Error - Errors returned by GetEC2InstanceRecommendations
- GetE
C2Recommendation Projected Metrics Error - Errors returned by GetEC2RecommendationProjectedMetrics
- GetEnrollment
Status Error - Errors returned by GetEnrollmentStatus
- GetLambda
Function Recommendations Error - Errors returned by GetLambdaFunctionRecommendations
- GetRecommendation
Summaries Error - Errors returned by GetRecommendationSummaries
- Update
Enrollment Status Error - Errors returned by UpdateEnrollmentStatus
Traits§
- Compute
Optimizer - Trait representing the capabilities of the AWS Compute Optimizer API. AWS Compute Optimizer clients implement this trait.