我的视频blog地址 http://www.lofter.com/blog/cloudrivers

实例元数据和用户数据

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/

 

posted @ 2019-10-02 18:30  Michael云擎  阅读(499)  评论(0编辑  收藏  举报
我的视频blog地址 http://www.lofter.com/blog/cloudrivers