Check provider logo

EC2 instance has detailed monitoring enabled

ec2_instance_detailed_monitoring_enabled

Severitylow
Serviceec2
by Prowler

EC2 instances are assessed for CloudWatch detailed monitoring, indicating whether 1-minute metrics collection is enabled.

Instances lacking this setting provide only 5-minute metrics.

Risk

Without 1-minute metrics, visibility drops, delaying detection of:

  • Sudden CPU/network/disk spikes affecting availability
  • Malicious workloads (crypto-mining, brute force)
  • Data exfiltration patterns Slower detection expands blast radius, raising incident impact and response cost.
Run this check with Prowler CLI

prowler aws --checks ec2_instance_detailed_monitoring_enabled

Recommendation

Enable detailed monitoring to collect 1-minute metrics on critical instances. Use defense in depth: baseline normal behavior, create alerts for anomalies, and correlate metrics with logs and traces. Review dashboards regularly. If costs matter, prioritize production, internet-facing, and autoscaling fleets.

Remediation

CLI

aws ec2 monitor-instances --instance-ids <EC2_INSTANCE_ID>

Native IaC
Terraform
Other
  1. Open the AWS Console and go to EC2 > Instances
  2. Select the instance
  3. Choose Actions > Monitor and troubleshoot > Manage detailed monitoring
  4. Check Enable detailed monitoring and click Save

Source Code

Resource Type

AwsEc2Instance

References