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.
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
2025
2024
2025
2026
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.