If you need to query
meta-data information from your running EC2 instance, you can curl the following location:
This will provide a list of all information that can be retrieved.
Say you want to get the
local IPv4 address, this can be done as follows:
You can also get JSON blocks of information back, such as querying the