Home

Awesome

Butler

Butler is for automating Python app deployments to AWS EC2. Currently it installs everything on one machine. As the build process lasts about a minute it makes scaling up and down very simple. It tries to be as easy as Heroku but you are in full control.

Quickstart

  1. Download this package to your disk.
  2. cd to the download directory
  3. Change the env.hosts and env.key_filename to reflect your own
  4. fab build

This builds everything and you should soon have a working deployment.

Default stack

TODO

Settings

For a django application you could use settings.py to access or load settings.

from fabric.contrib import django
django.settings_module('myproject.settings')
from django.conf import settings

See http://readthedocs.org/docs/fabric/en/latest/api/contrib/django.html

Requirements