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.
ec2-metadata --availability-zone | sed 's/.$//'
For debian based systems, the command is without dash.
ec2metadata --availability-zone | sed 's/.$//'