Watch Config flag it as non-compliant, fix it by enabling v2 in creation
Learning Outcome: Configuration Security Enforcement
When you launch an EC2 template from the AWS Management Console, the default setting for the metadata service is "V1 and V2 (token optional)." This is what makes the template non-compliant with a security standard that requires IMDSv2.
Log in to the AWS Management Console and navigate to the EC2 Dashboard.
**Screenshot showing the EC2 launch template dashboard**
We opened the EC2 Console
**Screenshot showing where we choose the V1 and V2 (token option)**
Proceed with the rest of the launch process and create your template.
**Screenshot showing the successful creation of the EC2 launch template**
Now set up AWS Config and watch it flag the instance