instance metadata service

An endpoint inside every cloud virtual machine, at 169.254.169.254 on AWS, that hands the machine its settings and its role's temporary credentials.

Code that can reach the metadata service can take the machine's role credentials.

In more detail

IMDSv1 answers any simple request, so a server-side request forgery bug can leak credentials. IMDSv2 needs a session token, and a hop limit of one stops containers on the node reaching it through an extra network hop.

Related terms

Taught in

References