I’ve constructed a dashboard to pull CloudWatch metrics for EBS disk volumes. In this dashboard I use variables to select my EC2 instance using name tags, so rather than pick instance ID’s from a list I can instead pick nicely named servers. In response to picking the server name the instance ID is retrieved and then disk volume ID’s for that instance are retrieved and graphed. The disk volumes in CloudWatch have also been labeled with names that are much more meaningful than simple ID’s and I’d like to use these tag names for display in my graphs. However, I’ve been unable to retrieve the name tags that are associated with my EBS disk volumes. Is this possible?
Here’s an example of the kind of thing I’m doing to get EC2 names in my dashboard: