# Ohai EC2 hints/facts

**URL:** <https://discourse.chef.io/t/ohai-ec2-hints-facts/5241>\
**Category:** Chef Infra (archive)\
**Created:** [April 21, 2014, 10:08am UTC](https://discourse.chef.io/t/ohai-ec2-hints-facts/5241 "2014-04-21T10:08:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Morgan\_Blackthorne](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/morgan_blackthorne/32/100_2.png) [@Morgan\_Blackthorne](https://discourse.chef.io/u/Morgan_Blackthorne)\
**Post date:** [April 21, 2014, 10:08am UTC](https://discourse.chef.io/t/ohai-ec2-hints-facts/5241/1 "2014-04-21T10:08:46Z")

</div>

Is anyone using an ohai plugin that probes the AWS tags assigned to a given  
EC2 instance? ISTR that it’s not something exposed in the base metadata  
URLs, but it would be handy for us. Basically, any EC2 node that is part of  
an ElasticBeanstalk has a tag set on the EC2 instance with the name of the  
ElasticBeanstalk application. Being able to add this information to our  
hoptoad error reports, and ideally to our syslog lines, would be very  
helpful rather than constantly needing to look up and match a generic EC2  
hostname to a given service stack.

Thanks!

## –

~_~ StormeRider ~_~

“Every world needs its heroes […] They inspire us to be better than we  
are. And they protect from the darkness that’s just around the corner.”

(from Smallville Season 6x1: “Zod”)

On why I hate the phrase “that’s so lame”… [http://bit.ly/Ps3uSS](http://bit.ly/Ps3uSS)
