- From: Edward Sargisson <
>
- To:
- Subject: [chef] Automatically starting a new EC2 instance with Chef
- Date: Sat, 14 May 2011 06:55:14 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=kH9eOds2mqR+QaWr7YMDJA3U66PZQWK/07YiTn9WnSIn9BNk2KqIT1pkU+DoHmCyE4 /utncJvYWzUJQzwEFEZr2mW9O7k3gTtiSAVqYc/0qCEF179LB45vNyw0+lULXSQIAO6y oS2H8dMFenCwIsIYL4i7dT1FkFKkrhl7hSk9Y=
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
- [chef] Automatically starting a new EC2 instance with Chef, Edward Sargisson, 05/14/2011
Archive powered by MHonArc 2.6.16.