Created
December 28, 2021 18:11
-
-
Save ystoneman/182c9dbcb34c015d1f59e3e26f57a8cb to your computer and use it in GitHub Desktop.
JSON-formatted instance metadata for sample Amazon Linux 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta-data": { | |
"ami-id": "ami-002068ed284fb165b", | |
"ami-launch-index": 0, | |
"ami-manifest-path": "(unknown)", | |
"block-device-mapping": { | |
"ami": "/dev/xvda", | |
"root": "/dev/xvda" | |
}, | |
"events": { | |
"maintenance": { | |
"history": [], | |
"scheduled": [] | |
} | |
}, | |
"hibernation": { | |
"configured": false | |
}, | |
"hostname": "ip-172-31-28-7.us-east-2.compute.internal", | |
"identity-credentials": { | |
"ec2": { | |
"info": { | |
"AccountId": "112345678901", | |
"Code": "Success", | |
"LastUpdated": "2021-12-28T17:22:04Z" | |
}, | |
"security-credentials": { | |
"ec2-instance": { | |
"AccessKeyId": "ASIAetc...", | |
"Code": "Success", | |
"Expiration": "2021-12-28T23:34:32Z", | |
"LastUpdated": "2021-12-28T17:23:26Z", | |
"SecretAccessKey": "blablablaetc...", | |
"Token": "blablablaetc...==", | |
"Type": "AWS-HMAC" | |
} | |
} | |
} | |
}, | |
"instance-action": "none", | |
"instance-id": "i-00b0647df9590e233", | |
"instance-life-cycle": "on-demand", | |
"instance-type": "t2.micro", | |
"local-hostname": "ip-172-31-28-7.us-east-2.compute.internal", | |
"local-ipv4": "172.31.28.7", | |
"mac": "06:6c:06:9a:1c:0e", | |
"managed-ssh-keys": { | |
"signer-cert": "-----BEGIN CERTIFICATE-----\nblablablaetc...==\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIblablablaetc.../\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nblablablaetc...==\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nblablablaetc...\n-----END CERTIFICATE-----\n", | |
"signer-ocsp": { | |
"06etc...": "MIIetc...", | |
"91etc...": "MIIetc...", | |
"9Eetc...": "MIIetc...", | |
"F8etc...": "MIIetc..." | |
} | |
}, | |
"metrics": { | |
"vhostmd": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" | |
}, | |
"network": { | |
"interfaces": { | |
"macs": { | |
"06:6c:06:9a:1c:0e": { | |
"device-number": 0, | |
"interface-id": "eni-0597ec8a2210530b2", | |
"ipv4-associations": { | |
"18.218.186.150": "172.31.28.7" | |
}, | |
"local-hostname": "ip-172-31-28-7.us-east-2.compute.internal", | |
"local-ipv4s": "172.31.28.7", | |
"mac": "06:6c:06:9a:1c:0e", | |
"owner-id": 112345678901, | |
"public-hostname": "ec2-18-218-186-150.us-east-2.compute.amazonaws.com", | |
"public-ipv4s": "18.218.186.150", | |
"security-group-ids": "sg-0f4e9a73fe9c16165", | |
"security-groups": "launch-wizard-3", | |
"subnet-id": "subnet-21cdcd5b", | |
"subnet-ipv4-cidr-block": "172.31.16.0/20", | |
"vpc-id": "vpc-58ed4f33", | |
"vpc-ipv4-cidr-block": "172.31.0.0/16", | |
"vpc-ipv4-cidr-blocks": "172.31.0.0/16" | |
} | |
} | |
} | |
}, | |
"placement": { | |
"availability-zone": "us-east-2b", | |
"availability-zone-id": "use2-az2", | |
"region": "us-east-2" | |
}, | |
"profile": "default-hvm", | |
"public-hostname": "ec2-18-218-186-150.us-east-2.compute.amazonaws.com", | |
"public-ipv4": "18.218.186.150", | |
"reservation-id": "r-04e5d13ef36e2aa5e", | |
"security-groups": "launch-wizard-3", | |
"services": { | |
"domain": "amazonaws.com", | |
"partition": "aws" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment