AWS demo for chef-provisioning
  • Python 81.7%
  • Ruby 14.9%
  • HTML 3.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2014-11-04 07:01:28 -08:00
.chef Initial commit 2014-11-04 06:54:23 -08:00
cookbooks Adding postgresql and supervisor cookbooks 2014-11-04 07:01:28 -08:00
data_bags/loadbalancers Initial commit 2014-11-04 06:54:23 -08:00
src/simplehttpserver Initial commit 2014-11-04 06:54:23 -08:00
.gitignore Initial commit 2014-11-04 06:54:23 -08:00
Gemfile Initial commit 2014-11-04 06:54:23 -08:00
infrastructure.rb Initial commit 2014-11-04 06:54:23 -08:00
README.md Initial commit 2014-11-04 06:54:23 -08:00
teardown.rb Initial commit 2014-11-04 06:54:23 -08:00

Chef Provisioning AWS Demo

Provision a few web servers in a region with a load balancer

Web servers

Machines with a simple single-JAR Java webapp that listens on port 8080. Installs the JVM, Python, supervisord and the simple Java app.

Load balancer

Listens on port 80, maps to 8080 on internal instances with all AZs mapped to the ELB

Simple webapp

Pre-compiled fat JAR with all dependencies for Java 7+ is included in the cookbook for ease of deployment. If you need to make changes, the source for it is in src/ and then the JAR is build with Maven using the package target.