Publicly accessible EC2 instance uses IMDSv1


A publicly-accessible EC2 instance uses the Instance Metadata Service (IMDS) Version 1.

Using IMDSv1 increases the risk of attackers stealing your AWS IAM credentials via vulnerabilities like Server-Side Request Forgery (SSRF). In this scenario, attackers can abuse applications running on an EC2 instance to steal your keys and begin accessing your cloud environment. For more information, see our Datadog Security Labs article on IMDS security and why upgrading to IMDSv2 is essential.


  1. Follow the Transition to using Instance Metadata Service Version 2 docs to learn how to transition and reconfigure your software.