Facebook Twitter
Bootstrapping EC2 instances with Chef Bootstrapping EC2 instances with Chef This is the third installment of my Chef post series (read the first and the second). This time I'll show how to use the Ubuntu EC2 instance bootstrap mechanism in conjunction with Chef and have the instance configure itself at launch time. I had a similar post last year, in which I was accomplishing a similar thing with puppet. Why Chef this time, you ask?
The recent introduction of Boot From EBS for EC2 opens up a lot of new possibilities. But there are some bootstrapping issues to deal with. There aren't many EBS-backed AMI's available yet and, given the rather complex process involved in porting them, it may take a while for them to show up. This article will walk through the process of converting a popular S3-based AMI to an EBS-backed AMI. I don't guarantee that this is the best process and I certainly wouldn't recommend that anyone use the resulting EBS-backed AMI for anything other than testing and further development, but it puts a stake in the ground regarding a potential process. I'm sure I will hear about the shortcomings and possible improvements! Creating an EBS-backed AMI from an S3-backed AMI Creating an EBS-backed AMI from an S3-backed AMI
Index of /releases
10.04 LTS (Lucid Lynx) Daily Build 10.04 LTS (Lucid Lynx) Daily Build The Ubuntu Cloud image can be run on your personal Ubuntu Cloud, or modified, rebundled and uploaded to Amazon EC2. For further instruction on setting up a personal Ubuntu Cloud, see Getting Started with Ubuntu Cloud There are two images available, each for a different type of computer: 32-bit Cloud image For almost all PCs.