Comprehensive example repository for deploying an application with Chef


#1

Hi all,

couple of weeks ago, me and my colleague Vojtech Hyza had a talk about
Chef at the Webexpo Prague conference
[http://webexpo.net/prague2012/talk/shells-kitchen/].

For the talk, we have created a demo, which contains everything needed
to launch a reasonably complicated stack inside Vagrant,
automatically, with Chef Server:

–> http://git.io/chef-hello-cloud

When you set up Vagrant and Chef Server properly, you can deploy a
full stack of 1x load balancer, 1x application server, 1x database
server, 1x search server just by running vagrant up. (Rake tasks to
deploy the same stack in Amazon EC2 are also provided.)

It deploys a clone of the Rubygems.org Rails application, complete
with PostgreSQL, Redis, elasticsearch, RVM-based Ruby, installs the
Rails application, loads it with data, and starts it behind a load
balancer, while having everything monitored with Monit. It
demonstrates node discovery (ie. connect the app to database nodes,
etc), site cookbooks use, writing own cookbooks, etc. We have worked
very hard so the whole process is automated, repeatable, and
demonstrates proper #devops techniques.

It effectively distills everything we have learned during our year+
journey with Chef, so we think you may learn a trick or two in the
provided source – this is certainly not a “Hello World” application.

Best!,

Karel


http://karmi.cz


#2

Nice, thanks for sharing!
Am 15.10.2012 16:56 schrieb “Karel Minařík” karel.minarik@gmail.com:

Hi all,

couple of weeks ago, me and my colleague Vojtech Hyza had a talk about
Chef at the Webexpo Prague conference
[http://webexpo.net/prague2012/talk/shells-kitchen/].

For the talk, we have created a demo, which contains everything needed
to launch a reasonably complicated stack inside Vagrant,
automatically, with Chef Server:

–> http://git.io/chef-hello-cloud

When you set up Vagrant and Chef Server properly, you can deploy a
full stack of 1x load balancer, 1x application server, 1x database
server, 1x search server just by running vagrant up. (Rake tasks to
deploy the same stack in Amazon EC2 are also provided.)

It deploys a clone of the Rubygems.org Rails application, complete
with PostgreSQL, Redis, elasticsearch, RVM-based Ruby, installs the
Rails application, loads it with data, and starts it behind a load
balancer, while having everything monitored with Monit. It
demonstrates node discovery (ie. connect the app to database nodes,
etc), site cookbooks use, writing own cookbooks, etc. We have worked
very hard so the whole process is automated, repeatable, and
demonstrates proper #devops techniques.

It effectively distills everything we have learned during our year+
journey with Chef, so we think you may learn a trick or two in the
provided source – this is certainly not a “Hello World” application.

Best!,

Karel


http://karmi.cz