display 'Name' tag of AWS EC2 instance

Bug #1779519 reported by Federico Lucifredi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Triaged
Wishlist
Unassigned

Bug Description

Display 'Name' tag of AWS EC2 instance in Byobu information bar.

Unfortunately, this seems to be hard to do, as access to Tag metadata requires authentication, and is not part of the details offered in the "magic address" that serves metadata to instances. Hopefully I overlooked some easy way to do this...

Tags: aws
Changed in byobu:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

It's actually pretty easy to do in AWS:

curl http://169.254.169.254/latest/meta-data/instance-type

And in Google:

curl http://169.254.169.254/computeMetadata/v1/instance/machine-type -H "Metadata-Flavor: Google"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.