Home icon

Use AWS Systems Manager to enable CloudWatch memory metrics for Windows Server Amazon EC2 instances

Microsoft Workloads on AWS Blog



This article explains how to use AWS Systems Manager to enable CloudWatch memory metrics for Windows Server Amazon EC2 instances. It provides a solution overview and walkthrough for deploying a CloudFormation template that performs the following steps:

Specifically, the article covers:

  • Assuming an IAM role to allow Systems Manager to run an Automation runbook
  • Configuring the CloudWatch agent to collect memory metrics ("Available MBytes" and "% Committed Bytes In Use") on Windows Server instances
  • Creating an Automation runbook to install and configure the CloudWatch agent
  • Running a Systems Manager Association to target all Windows Server EC2 instances and run the Automation runbook
  • Verifying the CloudWatch agent installation, memory metrics in CloudWatch, and reviewing cost-saving recommendations from AWS Compute Optimizer
  • Steps for cleaning up the deployed resources

The article highlights the benefits of enabling memory metric monitoring, such as improved cost savings recommendations from AWS Compute Optimizer based on memory utilization data.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Nov 10
2025
Amazon CloudWatch agent adds Shared Memory Metrics
Jan 17
2024
Monitoring Windows services with Amazon CloudWatch
Oct 24
2025
New Amazon CloudWatch metrics to monitor EC2 instances exceeding I/O performance
Mar 16
2026
Amazon CloudWatch introduces organization-wide EC2 detailed monitoring enablement

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.