AWS Compute Optimizer

AWS Compute Optimizer

  • AWS Compute Optimizer helps analyze the configuration and utilization metrics of the AWS resources.
  • reports whether the resources are optimal, and generates optimization recommendations to reduce the cost and improve the performance of the workloads.
  • delivers intuitive and easily actionable resource recommendations to help quickly identify optimal AWS resources for the workloads without requiring specialized expertise or investing substantial time and money.
  • provides a global, cross-account view of all resources
  • uses machine learning to analyze historical utilization metrics from CloudWatch for the last 14 days (default) or up to 93 days with enhanced infrastructure metrics.
  • provides graphs showing recent utilization metric history data, as well as projected utilization for recommendations, which can be used to evaluate which recommendation provides the best price-performance trade-off.
  • Analysis and visualization of the usage patterns can help decide when to move or resize the running resources, and still meet your performance and capacity requirements.
  • generates rightsizing recommendations for the following resources:
  • generates idle resource recommendations to identify unused resources that can be deleted or stopped:
    • EC2 instances and EC2 Auto Scaling groups
    • EBS volumes
    • ECS services on Fargate
    • RDS instances
    • NAT Gateways
    • DynamoDB provisioned tables
    • ElastiCache (Redis and Valkey) clusters
    • MemoryDB clusters
    • DocumentDB clusters (provisioned and serverless)
    • WorkSpaces desktops
    • SageMaker endpoints

Compute Optimizer Key Features

Enhanced Infrastructure Metrics

  • Paid feature that extends the metrics analysis lookback period from the default 14 days to up to 93 days (3 months).
  • Provides improved recommendation quality for EC2 instances, EC2 Auto Scaling groups, and RDS DB instances by analyzing a longer history of utilization data.
  • Costs approximately $0.25 per resource per month (~$0.0003360215 per resource per hour).

Extended Lookback Period

  • For EBS volumes and ECS services, the lookback period can be extended from the default 14 days to 32 days at no additional cost.

External Metrics Ingestion

  • Integrates with observability partners — Datadog, Dynatrace, Instana, and New Relic — to ingest external memory utilization metrics for EC2 rightsizing.
  • Requires at least 30 consecutive hours of memory utilization metrics from the observability product.
  • When enabled, Compute Optimizer prioritizes external memory metrics over CloudWatch memory data.
  • Does not support EC2 instances that are part of Auto Scaling groups.

Graviton-based Instance Recommendations

  • Provides recommendations to migrate from x86-based instances to AWS Graviton-based instances for improved price-performance.
  • Helps identify workloads that can benefit from up to 40% better price-performance with Graviton processors.

Aurora I/O-Optimized Recommendations

  • Analyzes the instance, storage, and I/O costs for Aurora Standard clusters and recommends whether switching to Aurora I/O-Optimized would be more cost-effective.

Commercial Software License Recommendations

  • Generates recommendations for Microsoft SQL Server licenses on EC2 instances.
  • Helps identify opportunities to downgrade SQL Server editions, saving up to 74% on license costs.

Compute Optimizer Pricing

  • The base service is free — analyzes the default 14-day or 32-day lookback period at no charge.
  • Enhanced infrastructure metrics is a paid feature at $0.0003360215 per resource per hour (~$0.25/resource/month).
  • You only pay for the underlying AWS resources (EC2, EBS, Lambda, etc.) and CloudWatch monitoring.

Compute Optimizer Requirements

  • EC2 instances and Auto Scaling groups require at least 30 hours of CloudWatch metric data in the past 14 days.
  • Compute Optimizer does not generate EC2 rightsizing recommendations for Spot Instances (but does generate idle recommendations for Spot).
  • Must opt in to the service — supports standalone accounts, member accounts of an organization, or organization-level opt-in by the management account.
  • Auto Scaling group rightsizing requires a single instance type or mixed types within C, M, or R families (no mixing AMD/Intel, x86/Graviton).

AWS Certification Exam Practice Questions

  • Questions are collected from Internet and the answers are marked as per my knowledge and understanding (which might differ with yours).
  • AWS services are updated everyday and both the answers and questions might be outdated soon, so research accordingly.
  • AWS exam questions are not updated to keep up the pace with AWS updates, so even if the underlying feature has changed the question might not be updated
  • Open to further feedback, discussion and correction.
  1. A company must assess the business’s EC2 instances and Elastic Block Store (EBS) volumes to determine how effectively the business is using resources. The company has not detected a pattern in how these EC2 instances are used by the apps that access the databases. Which option best fits these criteria in terms of cost-effectiveness?
    1. Use AWS Systems Manager OpsCenter.
    2. Use Amazon CloudWatch for detailed monitoring.
    3. Use AWS Compute Optimizer.
    4. Sign up for the AWS Enterprise Support plan. Turn on AWS Trusted Advisor.
  2. A company wants to improve the cost efficiency and performance of their Amazon EC2 instances. The team does not have specialized expertise in rightsizing. They need an automated solution that analyzes usage patterns over a longer period to provide more accurate recommendations. Which combination of steps should they take? (Select TWO)
    1. Opt in to AWS Compute Optimizer for the account.
    2. Enable AWS Cost Explorer rightsizing recommendations only.
    3. Enable enhanced infrastructure metrics to extend the lookback period to 93 days.
    4. Configure Amazon CloudWatch detailed monitoring with 1-second resolution.
    5. Use AWS Trusted Advisor performance checks exclusively.
  3. A solutions architect needs to identify idle resources across multiple AWS services to reduce costs. The company uses EC2, EBS, RDS, and ECS on Fargate. Which AWS service can identify idle resources across all of these resource types?
    1. AWS Trusted Advisor
    2. AWS Cost Explorer
    3. AWS Compute Optimizer
    4. Amazon CloudWatch Anomaly Detection
  4. A company runs Microsoft SQL Server on Amazon EC2 instances and wants to optimize licensing costs. Which AWS service provides recommendations for SQL Server license edition downgrades?
    1. AWS License Manager
    2. AWS Cost Explorer
    3. AWS Compute Optimizer
    4. AWS Trusted Advisor
  5. A company uses a third-party monitoring tool (Datadog) and wants to improve EC2 rightsizing recommendations by including memory utilization data. What should they enable in AWS Compute Optimizer?
    1. Enhanced infrastructure metrics
    2. External metrics ingestion
    3. CloudWatch agent with custom metrics
    4. AWS X-Ray tracing

References