Re:Using Puppet to Automatically Configure New EC2 Instances
by spidaman on Sunday December 19, 2010 @05:26PM
(#2022686)
Initially, it won't speed you up. Developing the right provisioning formula requires some investment of time but I think it's time you get back many times over because you don't need to follow a bunch of manual steps and making changes to the infrastructure is easier when it's all code.
I prefer chef simply because it's easy to develop customizations; the DSL is just ruby. I have a pretty non-standard application stack but automating the provisioning is pretty straight forward. I can bring up the whole thing from bare machine images in minutes. Check out http://wiki.opscode.com/display/chef/Launch+Cloud+Instances+...
I don't know if there's a puppet equivalent to chef-solo but using it with vagrant and VirtualBox is my favorite way to develop chef recipes. I did short presentation about this a few months ago, see https://docs.google.com/present/edit?id=0AVIsoyl05MRmZGNwY2N...
BTW, the OP talks about needing a separate security group for the puppets but last I checked, the default security group on EC2 makes the machines you own visible to each other and nobody else's that you haven't explicitly permitted. So I think all of that was unnecessary.
Re:Using Puppet to Automatically Configure New EC2 Instances
by sam on Sunday December 19, 2010 @07:10PM
(#2022896)
The equivalent to chef-solo in puppet is "puppet apply". It's very handy for developing puppet recipes on an offline virtual machine.
Re:Using Puppet to Automatically Configure New EC2 Instances
by lox on Sunday December 19, 2010 @05:28PM
(#2022689)
A Puppet provisioner was recently committed to Vagrant.
Re:Using Puppet to Automatically Configure New EC2 Instances
by lox on Sunday December 19, 2010 @05:27PM
(#2022687)
The huge advantage to Chef is that it's just ruby, where as Puppet has it's own syntax for recipes.
Another light-weight alternative for configuring new servers is Babushka: http://babushka.me/
Re:Using Puppet to Automatically Configure New EC2 Instances
by WALoeIII on Sunday December 19, 2010 @05:52PM
(#2022753)
Puppet (as of 2.6) has a pure Ruby DSL. Puppet and Chef are rapidly converging on the same feature set, at this point its like arguing .rpm vs .deb. There are certainly differences and if you spend a ton of time with both tools you will have a favorite, but fundamentally they both serve the same purpose and will enable you to get the job done.
Re:Using Puppet to Automatically Configure New EC2 Instances
by geekinthecorner on Sunday December 19, 2010 @07:06PM
(#2022880)
It's amusing how every article about Puppet gets trolled by the Chef group. Is there ever a useful technology that doesn't inspire holy wars?
I often spend way more time than i expect to when configuring a new server, and have recently been very interested in ways to speed that up.