amazon web services - Query EC2 tags from within instance -


amazon added wonderful feature of tagging ec2 instances key-value pairs make management of large numbers of vms bit easier.

is there way query these tags in same way of other user-set data? example:

$ wget -q -o - http://169.254.169.254/latest/meta-data/placement/availability-zone us-east-1d 

is there similar way query tags?

you can use combination of aws metadata tool (to retrieve instance id) , new tag api retrieve tags current instance.


Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -