Last week, while debugging an issue with some EC2 instances at work, I wanted
to quickly analyze and compare some of the instance meta-data. Our typical
interaction with this is in Chef as learned by Ohai, but I wanted something
standalone. I keep wanting to play with Go more, and this seemed like
a fun Sunday morning hack (translation: homework avoidance).
Go has a number of exciting features, but the most interesting in this
experiment is possibly the compilation to an executable binary. I can now
quickly grab this file on a running instance and inspect the meta-data easily
without installing Go or anything else.