Tools to integrate Amazon Web Services (AWS) with Fabric
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fabric_aws_tools
.gitignore
LICENSE
README.md
setup.py

README.md

fabric-aws-tools - Tools to integrate Fabric with Amazon Web Services (AWS)

Tools to better integrate Fabric with Amazon Web Services (AWS)

  • Automagically assign Fabric roles based on tags set on EC2 instances. For example, deploy code only to web servers (see example below)
  • Feel free to send pull request with your own helpers that you use with Fabric and AWS

Installation

  • pip install fabric-aws-tools

Example fabfile

from fabric.api import *
from fabric_aws_tools import *

@roles("webserver")
def deploy_webserver():
    run("do something")


# Runs every time you run "fab something".
# Add it at the end of the file to make sure it runs each time.
#
# This will set the Fabric roles to all values available on all
# instances who has the tag "Role"
update_roles_aws("Role")