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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -