Playing with Amazon Meta Data
The good thing with cloud computing is that your resource can be allocated anywhere on Earth (at least for now!) and you don"t have to care about it. It will just “work”.
But what if you need to know more? Sure some tools offer you options at creation time to control the provisioning process but what if you need to afterwards?
Information will be added to this page as I experiment the service so please make sure you come visit often!
EC2 Metadata tool
Then some testing! To get the AMI-ID of the current instance
To get the PUBLIC HOSTNAME of the current instance
To get the LOCAL IPV4 ADDRESS of the current instance
If you don’t want to install this useful tool, you can do it the hard way using wget queries like below…
Find out information about physical hardware
Public hostname of the current instance
blog comments powered by Disqus