3 Answers
- Newest
- Most votes
- Most comments
2
Could be that your instance is using V2 of the meta data service. Take a look here to see how to obtain a token and pass it with the query.
0
On top of what described above, consider this guide too: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
0
The following section provides a short explanation for each response: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html#instance-metadata-returns
For example:
- 401 - Unauthorized – The GET request uses an invalid token. The recommended action is to generate a new token.
answered a year ago
Relevant content
- asked 3 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 3 days ago
- AWS OFFICIALUpdated a year ago
Thanks, Ken it worked like a charm, I appreciate it!