Difference between revisions of "AWS Instance Metadata Service (IMDS)"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
If you use [[Auto Scaling groups]] and you need to require the use of IMDSv2 on all new instances, your Auto Scaling groups must use [[launch templates]].
 
If you use [[Auto Scaling groups]] and you need to require the use of IMDSv2 on all new instances, your Auto Scaling groups must use [[launch templates]].
 +
 +
* [[Datadog AWS Integration Billing]]: If your EC2 instances are configured to require the use of Instance Metadata Service Version 2 (IMDSv2), then you must set the parameter ec2_prefer_imdsv2 to true in your Datadog agent configuration to avoid double-billing.
  
 
== Related ==
 
== Related ==
Line 12: Line 14:
 
* <code>[[ec2-imdsv2-check]]</code>, the rule is <code>[[NON_COMPLIANT]]</code> if the <code>[[HttpTokens]]</code> is set to optional.
 
* <code>[[ec2-imdsv2-check]]</code>, the rule is <code>[[NON_COMPLIANT]]</code> if the <code>[[HttpTokens]]</code> is set to optional.
 
* <code>[[aws ec2 describe-instances]] | grep [[HttpTokens]]</code>
 
* <code>[[aws ec2 describe-instances]] | grep [[HttpTokens]]</code>
* [[Datadog AWS Integration Billing]]
+
 
  
 
== See also ==
 
== See also ==

Revision as of 14:43, 4 October 2022

Advertising: