curl http://169.254.169.254/latest/dynamic/instance-identity/document
{
"privateIp" : "172.30.0.60",
"availabilityZone" : "us-west-2a",
"devpayProductCodes" : null,
"version" : "2010-08-31",
"instanceId" : "i-0edd3671b0bb87981",
"billingProducts" : null,
"instanceType" : "t2.nano",
"pendingTime" : "2017-03-19T16:32:58Z",
"accountId" : "668580716257",
"architecture" : "x86_64",
"kernelId" : null,
"ramdiskId" : null,
"imageId" : "ami-f173cc91",
"region" : "us-west-2"
}