Finding Meta-data

0

Can some one provide me steps to find meta-data for an EC2 instance? While finding the meta-data is it compulsory to login through IAM account only?

Rekha
asked 8 months ago180 views
1 Answer
3

Your instance metadata is available from your running instance, you do not need to use the Amazon EC2 console or the AWS CLI.

To view all categories of instance metadata from within a running instance, use the following IPv4 URIs.

http://169.254.169.254/latest/meta-data/

The following documentation provide commands that you can use on a Linux instance. For the commands to retrieve instance metadata from a Windows instance, see Retrieve instance metadata in the Amazon EC2 User Guide for Windows Instances.

[+] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html#instancedata-meta-data-retrieval-examples

AWS
answered 8 months ago
profile picture
EXPERT
reviewed 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions