Description
EC2 detailed monitoring changes most instance metrics from five-minute to one-minute intervals. Status checks run every minute even with basic monitoring.
Potential impact
A five-minute aggregate can hide a short spike in CPU or network load.
Remediation
If you need faster detection, review the extra cost and set Monitoring: true. Verify one-minute data and alarm settings in CloudWatch. Use a separate collector such as the CloudWatch agent for memory use or free filesystem space.
Examples
Both excerpts declare a t3.micro instance. Replace the sample AMI ID with an image available in your Region.
Before
yaml
Resources:
MyEC2Instance:
Type: AWS::EC2::Instance
Properties:
ImageId: ami-12345678
InstanceType: t3.micro
Monitoring: false
After
yaml
Resources:
MyEC2Instance:
Type: AWS::EC2::Instance
Properties:
ImageId: ami-12345678
InstanceType: t3.micro
Monitoring: true