Press "Enter" to skip to content

Posts published in March 2010

Copy an EBS AMI image to another Amazon EC2 Region

Since I’ve already created an image I liked in the us-west-1 region, I would like to reuse it in other regions. Turns out there is no mechanism within Amazon EC2 to do that. (See How do I launch an Amazon EBS volume from a snapshot across Regions?). I did find one post that talked a bit about how it can…

Nice jruby installation cookbook (Opscode)

There are a lot of good example Opscode cookbooks out there. Unfortunately they can be hard to find. People are not submitting them to the Opscode Cookbook repository. Its still hard to untangle your own cookbooks into something that can be put in a sharable format I guess. Right now, the most productive way to find cookbooks seems to be…

Simple update and clone an Amazon EC2 EBS Boot image

Introduction Well there is already an update to Chef’s Ohai library. At first I thought, “Oh no, I have to generate another EC2 image”. But then I remember reading that you can update and clone a running EBS boot image. One of the cool features of using an Amazon EC2 instance that boots from an EBS Snapshot is that its…

Using the Official Opscode 0.8.x Gems to build EC2 AMI Chef Client and Server

Updates Mar 3, 2010 Added call to script ec2-set-defaults that is normally called on ec2 init that sets the locale and apt sources for EC availability Zone Introduction Opscode has officially released 0.8.x of Chef. It is now even more fabulous. I’ve been using the pre-release version for the last couple of months and it is rock steady and very…

Reseting the Opscode Chef Server Validation key/pem

In upgrading from my own custom hacked pre-0.8.x Chef server/clients to the official new and shiny 0.8.2 release, I wanted to make everything vanilla. One issue was somewhere along the line I set the validation_client_name to “validator”. The vanilla setting is “chef-validator”. To do this I had to get rid of the “validator” and “chef-validator” authentication client entries I had…