title: Amazon EC2 instance metadata
body: <p>I ran this command to get the instance-id from a EC2 instance, how is the request processed and how does the service know what details to send back ?</p>
  
  <p>wget -q -O - <a href="http://169.254.169.254/latest/meta-data/instance-id" rel="noreferrer">http://169.254.169.254/latest/meta-data/instance-id</a></p>
  
  <p>thanks</p>