These scripts are designed for you to run on your Amazon EC2 instances running Microsoft Windows Server, where you can configure them to report memory, disk space usage, and performance counters to Amazon CloudWatch. Once the metrics are submitted to Cloudwatch, you can view graphs, calculate statistics, and set alarms on them in the CloudWatch console. You can also configure reporting of your own performance monitor counters to CloudWatch.
These scripts can be run in Amazon EC2 Windows instances that have Windows PowerShell installed.
Available metrics include:
- Memory Utilization (%)
- Memory Used (MB)
- Memory Available (MB)
- Page File Utilization (%)
- Page File used (MB)
- Page File available (MB)
- Disk Space Utilization (%)
- Disk Space Used (GB)
- Disk Space Available (GB)
- Perfmon Counters.
The scripts submit metrics as Amazon CloudWatch Custom Metrics. Standard Amazon CloudWatch free tier quantities and pricing apply. This is an unsupported sample but we appreciate all feedback, comments and questions you post to the AWS forums.
To learn more about how to use the scripts, including setup and configuration, please visit "Amazon CloudWatch Monitoring Scripts for Windows" in the Amazon CloudWatch Developer Guide.