- From: Grig Gheorghiu <
>
- To:
- Subject: [chef] Re: Automatically starting a new EC2 instance with Chef
- Date: Sat, 14 May 2011 22:10:52 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TkPbG3LGXasmr6Z0Q94wPxF34/wfZXYN2GxuyiDGXeMRZrLHm2LzC3f8CCArGQiU+r zITKOwfgKs8PYqtgy7UuqwzqnScVrh/ZyzLDC+MRpKUhbewPyME68LPHaBvsi0PHRKNt owtHDqtix1UV++F2Y9IeZ/Z4MZ2Tu0ODJe8wU=
Here's how I do it:
http://agiletesting.blogspot.com/2010/07/bootstrapping-ec2-instances-with-chef.html
On Sat, May 14, 2011 at 6:55 AM, Edward Sargisson
<
>
wrote:
>
Hi all,
>
What tools and services are available to automatically start a new EC2
>
instance with Chef?
>
>
My site has just one server and yesterday it failed. Unfortunately, I
>
was at my day job and couldn't do anything about it. It's configured
>
with Chef so starting up a new server with knife then using Opscode
>
Platform to put the roles on was reasonably easy (it could be easier
>
but I have some issues to fix).
>
>
What I would like is for some service to realise that my server is
>
down and then call Chef to setup a new one. Amazon Auto Scaling almost
>
does this - the issue is that it merely starts an AMI and doesn't do
>
anything cleverer than that. My Chef setup assumes a brand new Ubuntu
>
image and goes from there. I suppose that, for future use, whatever
>
solution I use needs to also listen to the CloudWatch metrics to scale
>
up and down when required.
>
>
So:
>
Do I write an image which bootstraps chef automatically?
>
Or is there some other way to solve this problem?
>
>
Thanks,
>
Edward
>
Archive powered by MHonArc 2.6.16.