ec2-metadata provides to access metadata, and you can use in outside of ec2 like in ec2
Takeshi AKIMA
无