EC2 instance detailed CloudWatch monitoring should be enabled¶
EC2 instance detailed CloudWatch monitoring should be enabled. Enabling detailed monitoring on an instance sends metric data to CloudWatch in 1-minute periods instead of 5-minute periods. Monitoring can assist maintenance of an instance’s availability, performance, and reliability.
Console Remediation Steps¶
Navigate to EC2.
In the left pane, select Instances.
Select the noncompliant instance.
Select Actions, CloudWatch Monitoring, Enable Detailed Monitoring.
In the Enable Detailed Monitoring dialog box, choose Yes, Enable.
CLI Remediation Steps¶
To enable detailed monitoring, replace
i-1234567890abcdef0with your own instance ID:
aws ec2 monitor-instances --instance-ids i-1234567890abcdef0