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
Post a Comment