实例元数据和用户数据

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/

猜你喜欢

转载自www.cnblogs.com/cloudrivers/p/11617968.html