IT thoughts
Some of the solution I found develping software using Ruby, Rails, Sinatra, and MongoDB!
mardi 8 octobre 2013
Howto get public hostname from within a EC2 instance?
wget -q -O - http://169.254.169.254/latest/meta-data/public-hostname
=> ec2-xxx-xxx-xxx-xxx.compute-1.amazonaws.com
Aucun commentaire:
Enregistrer un commentaire
Article plus récent
Article plus ancien
Accueil
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire