Query instance specific information on AWS
When working in a dynamic environment you can use the following syntax to query an instance for information about itself.
I found this very useful when needing to discover which availability zone an instance was running in, for example.
curl http://169.254.169.254/latest/dynamic/instance-identit...
21st Jun 2018
- IronicBadger