Soru

Zorluk: KolayAWS Compute Optimizer and Right-Sizing

A SysOps Administrator is reviewing AWS Compute Optimizer recommendations for an Amazon EC2 instance. The administrator notices that the recommendations do not include memory utilization metrics, which are critical for right-sizing the workload.

What must the administrator do to enable memory utilization analysis in AWS Compute Optimizer for this EC2 instance?

  1. A
    Enable Amazon CloudWatch detailed monitoring for the EC2 instance to increase metric granularity.
  2. B
    Activate cost allocation tags for EC2 memory usage in the AWS Billing Console.
  3. Install and configure the unified CloudWatch agent on the EC2 instance to collect and send memory metrics.Cevap
  4. D
    Create a static alert in AWS Budgets to monitor the memory utilization of the EC2 instance.

Cevap

Install and configure the unified CloudWatch agent on the EC2 instance to collect and send memory metrics.
The correct option is to install and configure the unified CloudWatch agent. AWS Compute Optimizer cannot analyze memory utilization of EC2 instances out of the box because memory is a guest operating system-level metric. Installing the unified CloudWatch agent allows the collection of memory metrics, which are then sent to Amazon CloudWatch and automatically ingested by AWS Compute Optimizer.

Adım Adım Çözüm

1
Identify the missing metric type in the AWS Compute Optimizer console.
Confirm that OS-level memory metrics are not being collected because AWS Compute Optimizer only receives hypervisor-level metrics (CPU, disk, network) by default.
By default, Amazon EC2 only reports hypervisor-visible metrics to CloudWatch. Memory utilization is an operating system-level metric.
2
Deploy and configure the unified CloudWatch agent on the target EC2 instance.
The agent collects memory utilization metrics from the guest operating system and publishes them to Amazon CloudWatch.
AWS Compute Optimizer automatically detects and analyzes memory metrics published by the unified CloudWatch agent once they are available in CloudWatch.

Anahtar Kavram

Memory metric collection for AWS Compute Optimizer using the unified CloudWatch agent
Bu soruyu puanla