News for hackers. Stuff that matters.
Re:Announcing VM Import for Amazon EC2 by eli on Wednesday December 15, 2010 @05:24PM (#2010078)
Out of curiosity, how do people currently build a custom new EC2 image? Spin up a base instance and then run a script?
Re:Announcing VM Import for Amazon EC2 by jwinter on Wednesday December 15, 2010 @05:56PM (#2010192)
Re:Announcing VM Import for Amazon EC2 by ollysb on Wednesday December 15, 2010 @05:35PM (#2010114)
We start with a base image and then use puppet to manage anything that needs to be installed/setup.
Re:Announcing VM Import for Amazon EC2 by cowmixtoo on Thursday December 16, 2010 @12:40AM (#2011223)
I don't understand why more people don't use bcfg2. Its awesome for this purpose (and I think better than puppet or chef.)
Re:Announcing VM Import for Amazon EC2 by nodata on Thursday December 16, 2010 @04:35AM (#2011577)
Then educate people! Don't just say it's better, say why!
Re:Announcing VM Import for Amazon EC2 by e1ven on Thursday December 16, 2010 @06:08AM (#2011685)
I did a midrange deployment with bcfg2 (~250 machines), and what I found is that it was slow to use.

Firing off a bcfg2 push would take almost 20 minutes, which was pretty unusable; The big problem was that it didn't handle large numbers of connections simultaneously well, so I ended up having to stagger them.

CFengine was able to do the same push in < 30 seconds. Win.

I'll be looking at Chef again in the near future. It's got a LOT of nice features; Hopefully we can make it scale out quickly.

Re:Announcing VM Import for Amazon EC2 by singlow on Wednesday December 15, 2010 @05:40PM (#2010132)
I use a custom AMI. I started with a base image a long time ago. Since then I have been upgrading and tweaking. There are several tutorials on creating the image. API tools are available for the whole process if you are on an instance-store image. It creates an image of the instance filesystem in /mnt and then breaks it into chunks to upload to s3 with a manifest and registers the manifest as a new private ami.
Re:Announcing VM Import for Amazon EC2 by jolan on Wednesday December 15, 2010 @05:34PM (#2010111)
If you're using Ubuntu, they have a tool for creating new EC2 images called python-vm-builder-ec2.
Re:Announcing VM Import for Amazon EC2 by troels on Wednesday December 15, 2010 @06:48PM (#2010401)
There's in fact a whole command line suite, which you can script anything through.
Re:Announcing VM Import for Amazon EC2 by th0ma5 on Wednesday December 15, 2010 @05:37PM (#2010121)
yes, that is what i've done, or rather just log in, set things up, and then save a snapshot, repeat as needed. not sure this will speed things up in general as far as iterations, but may save the $0.10 you may spend setting up a workable vm.