How to Check If Your EC2 Workloads Are Ready for IMDSv2
Datadog, Monday, November 16th, 2026
Datadog explains how to find EC2 workloads still using IMDSv1, trace the callers and test IMDSv2 enforcement before migrating a fleet.
Datadog describes how it prepared its EC2 fleet to require IMDSv2 after an Ubuntu LTS image change broke services still relying on IMDSv1.
It recommends using the MetadataNoToken and MetadataNoTokenRejected CloudWatch metrics, Cloud Security's Misconfigurations explorer and its IMDSv1 dashboard to find affected instances, then Workload Protection to trace requests to specific processes or containers.
For containers, the HttpPutResponseHopLimit setting may need to be 2 rather than 1.
The post advises confirming MetadataNoToken has reached zero, then setting HttpTokens=required on a small group of instances before expanding enforcement.