Interview Prep/Networking/IP Addressing, CIDR, Subnetting & Routing

What is link-local 169.254.169.254?

IntermediateConceptIP Addressing, CIDR, Subnetting & Routing
Answer

The instance metadata service address on AWS, Azure and GCP. It is reachable only from the instance itself, serves instance identity and temporary IAM credentials, and is why SSRF vulnerabilities are so dangerous in cloud workloads.

On AWS, require IMDSv2 (session token, with hop limit 1 for containers if possible):

aws ec2 modify-instance-metadata-options --instance-id i-0abc --http-tokens required --http-put-response-hop-limit 1
All Networking questions Roadmap: Networking for DevOps

More on IP Addressing, CIDR, Subnetting & Routing