AWS Security ChangesHomeSearch

AWS AWSEC2: Add ImdsV1Enabled metric to EC2 CloudWatch metrics table

Service: AWSEC2 · 2026-10-23 · Documentation medium

File: AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.md · Type: ssrf

Summary

Adds the ImdsV1Enabled metric to the EC2 instance metrics reference table, describing values 1/0 for IMDSv1 allowed vs disabled, noting it is published from instance configuration rather than IMDS activity, its Count unit and meaningful statistics (Sum, Average, Maximum), and linking to the IMDSv2 transition guide.

Security assessment

This metric enables inventorying instances that still permit IMDSv1, the metadata version abused in SSRF attacks to steal instance credentials. It is a configuration/monitoring reference addition with no referenced vulnerability or incident, hence security_issue_related is false.

Evidence

+`ImdsV1Enabled` |  Indicates whether an instance is configured to allow IMDSv1. A value of `1` indicates that IMDSv1 is enabled (`httpTokens` is set to `optional`); a value of `0` indicates that IMDSv1 is disabled (`httpTokens` is set to `required`).

Diff

diff --git a/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.md b/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.md
index 0924cf4..6bb92b0 100644
--- a//AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.md
+++ b//AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.md
@@ -98,0 +99,7 @@ Metric | Description | Unit | Meaningful statistics
+`ImdsV1Enabled` |  Indicates whether an instance is configured to allow IMDSv1. A value of `1` indicates that IMDSv1 is enabled (`httpTokens` is set to `optional`); a value of `0` indicates that IMDSv1 is disabled (`httpTokens` is set to `required`). The `MetadataNoToken` metric emits only when IMDSv1 is used. In contrast, Amazon EC2 publishes the `ImdsV1Enabled` metric based on the instance's configuration. As a result, you can identify instances that still allow IMDSv1 even when no IMDSv1 calls are being made. Use this metric to track your migration to IMDSv2 across your accounts and Regions. For more information, see [Transition to using Instance Metadata Service Version 2](./instance-metadata-transition-to-version-2.html). |  Count | 
+
+  * Sum
+  * Average
+  * Maximum
+
+