Amazon EC2 · Finder + guided fix

Ec2 Enable Memory Metrics

EnableMemory Metrics

Enable EC2 memory metrics collection via CloudWatch. Without memory data you cannot right-size instances. CloudFix configures the agent to track usage.

What happens, in order.

  1. Finder · read-only

    Finds the opportunity

    Scans your connected accounts with a read-only role. It can see resource metadata and usage; it can’t change anything.

  2. You

    Review in Recommendations

    It appears in your Recommendations view with what it would save.

  3. Guided fix

    You make the change

    You apply it yourself, following the fix’s step-by-step instructions; the write-up below explains it.

Finder role

Read-only. It can see resource metadata and usage. It can’t change anything.

Fixer role

Not used here: this one is a guided fix, so the change is yours to make.

Saves by

This Finder identifies EC2 instances that are not configured to report memory utilization metrics to Amazon CloudWatch. Without these metrics, customers lack critical visibility into instance-level memory usage, which is essential for effective rightsizing and cost optimization.

Memory utilization is a critical metric for understanding EC2 instance performance and making informed decisions about instance sizing. Without memory metrics, you’re flying blind when it comes to optimizing your EC2 costs. This CloudFix Finder identifies EC2 instances that aren’t reporting memory metrics to CloudWatch, helping you establish the visibility needed for effective cost optimization.

Overview

Problem Statement

EC2 instances by default do not report memory utilization metrics to CloudWatch. Without these metrics, it’s impossible to determine if an instance is over-provisioned with memory or running close to its limits. This lack of visibility prevents effective cost optimization through right-sizing and can lead to performance issues if memory constraints go undetected.

AWS Services Affected

How It Works

Finder Component

The Finder scans your EC2 instances to identify those that are not reporting memory metrics to CloudWatch. This typically indicates that the CloudWatch Agent is either not installed or not properly configured on these instances.

Fixer Component

This is a manual fix that requires installing and configuring the CloudWatch Agent on the identified EC2 instances. While CloudFix identifies the opportunity, the implementation needs to be done manually following AWS’s recommended procedures.

The implementation process involves:

  1. Installing the required dependencies and CloudWatch Agent package on the EC2 instance
  2. Configuring the agent to collect memory metrics
  3. Starting the agent to begin streaming metrics to CloudWatch

Benefits

  • Gain visibility into memory utilization across your EC2 fleet
  • Enable data-driven decisions for instance right-sizing
  • Prevent memory-related performance issues through proactive monitoring
  • Support cost optimization initiatives with complete resource utilization data
  • Enable automated right-sizing recommendations through AWS Compute Optimizer

FAQ

Does this fix require downtime?

No, installing and configuring the CloudWatch Agent does not require instance downtime or service interruption.

Can CloudFix implement this fix automatically?

No, this is a manual process. While CloudFix identifies instances missing memory metrics, the installation and configuration of the CloudWatch Agent must be performed manually following AWS documentation.

Are there any direct cost savings?

While enabling memory metrics doesn’t directly reduce costs, it provides the visibility needed to make informed decisions about instance sizing that can lead to significant cost savings through right-sizing initiatives.

Can the change be rolled back?

Yes, the CloudWatch Agent can be stopped or uninstalled at any time if needed, though this would result in losing visibility into memory metrics.


Ready to start saving on AWS? See how much you could cut from your cloud bill with a free cost optimization assessment, or explore CloudFix automated Finder/Fixers that eliminate waste across 30+ AWS services.

Related Articles

See whether this one applies to your account.

A free savings assessment reports which fixers can be applied to your environment. Results typically within 24 hours.