{"id":1580,"date":"2010-07-12T16:08:41","date_gmt":"2010-07-12T15:08:41","guid":{"rendered":"http:\/\/www.devco.net\/?p=1580"},"modified":"2010-07-12T16:11:56","modified_gmt":"2010-07-12T15:11:56","slug":"ec2_bootstrap_helper","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2010\/07\/12\/ec2_bootstrap_helper.php","title":{"rendered":"EC2 Bootstrap Helper"},"content":{"rendered":"

I’ve been working a bit on streamlining the builds I do on EC2 and wanted a better way to provision my machines. I use CentOS and things are pretty rough to non existent for nicely built EC2 images. I’ve used the Rightscale ones till now and while they’re nice they are also full of lots of code copyrighted by Rightscale.<\/p>\n

What I really wanted was something as full featured as Ubuntu’s CloudInit<\/a> but also didn’t feel much like touching any Python. I hacked up something that more or less do what I need. You can get it on GitHub<\/a>. It’s written and tested on CentOS 5.5.<\/p>\n

The idea is that you’ll have a single multi purpose AMI that you can easily bootstrap onto your puppet\/mcollective infrastructure using this system. Below for some details.<\/p>\n

I prepare my base CentOS AMI with the following mods:<\/p>\n