Examples of metadata and user data

curl http://169.254.169.254/latest/meta-data/

GET http://169.254.169.254/latest/meta-data/

[ec2-user ~]$ curl http://169.254.169.254/latest/meta-data/    
ami-id
ami-launch-index
ami-manifest-path
block-device-mapping/
events/
hostname
iam/
instance-action
instance-id
instance-type
local-hostname
local-ipv4
mac
metrics/
network/
placement/
profile
public-hostname
public-ipv4
public-keys/
reservation-id
security-groups
services/

 

Guess you like

Origin www.cnblogs.com/cloudrivers/p/11617968.html