4.17 EC2 Instance Metadata
Last updated
Was this helpful?
Last updated
Was this helpful?
This lab will show how can we access the metadata of an instance from CLI.
Create a new EC2 instance, attach AmazonS3FullAccess IAM Role to it.
SSH to your instance. Go to root user.
Using "curl " to see the metadata of this EC2 instance.
You can use "curl > mypublicip.html" to get the public IP of the instance and write it into a html file. Then you can copy this file to S3 bucket and then use it to configure your Route53, all can be done by using bash commands. So now you can imagine how all of these parts can be connected and work together.