AWS Classroom Series – 08/Dec/2020

AWS EC2 dynamic data

  • Create an amazon ec2 instance

  • You can access instance metadata from a running instance using

    • Instance metadata service 1 (IMDSv1) – a request response
    • Instance metadata service 2 (IMDSv2) – a session oriented method
  • How IMDSv2 works Refer Here

  • Write a script to retrieve the public ip address, ami id and vpc-id, subnet-id of ec2 instance Refer Here

  • For dynamic data Refer Here


  • This is industry standard multi distribution method for cloud instance initialization
  • Refer Here

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin