Is there a way to look up the region of an instance from within the instance?
I\'m looking for something similar to the method of finding the instance id.
If you work with json - use right tools. jq much powerful in this case.
# curl -s curl -s http://169.254.169.254/latest/dynamic/instance-identity/document | jq -r '.region' eu-west-1