curl http://169.254.169.254/latest/dynamic/instance-identity/document
{
“instanceId” : “i-e40855e1”,
“billingProducts” : null,
“version” : “2010-08-31”,
“region” : “ap-northeast-1”,
“accountId” : “xxx”,
“imageId” : “ami-xxx”,
“kernelId” : “aki-xxx”,
“ramdiskId” : null,
“architecture” : “x86_64”,
“pendingTime” : “2013-08-17T12:19:40Z”,
“instanceType” : “t1.micro”,
“availabilityZone” : “ap-northeast-1a”,
“devpayProductCodes” : null,
“privateIp” : “xxx”
}