opsworks-deployer

Task to deploy via CLI on Amazon OpsWorks.

Please set these environment variables:

export AWS_ACCESS_KEY_ID=

export AWS_SECRET_ACCESS_KEY=

export OPSWORKS_LAYER_ID=

export OPSWORKS_APP_ID=

on ~/.bash_profile or ~/.bashrc

Usage:

Deploys an app with predefined branch/revision:

rake deploy

Deploys an app with specified branch/revision/tag:

rake deploy['']

Deploy procedure:

It tries to deploy each AZ on each region one at a time.