Can a running EC2 instance determine what Availability Zone it is running in, without using the AWS API? Perhaps there is a way to have EC2 pass this information in an environment variable or similar?
I'm just hoping to build in a small amount of AZ awareness without adding a dependency on the AWS client library.