Low commit activity in last 3 years
No release in over a year
Deploys to all instances in a AWS AutoScale group.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 5.0
~> 13.0

Runtime

 Project Readme

Capistrano::Autoscale

This plugin was written to ease the deployment of Rails applications to AWS AutoScale groups.

Installation

Add this line to your application's Gemfile:

gem 'capistrano-autoscale'

Add this statement to your Capfile:

require 'capistrano/autoscale

Configuration

Below are the Capistrano configuration options with their defaults (session_token is optional):

set :aws_access_key_id,     ENV['AWS_ACCESS_KEY_ID']
set :aws_secret_access_key, ENV['AWS_SECRET_ACCESS_KEY']
set :aws_session_token,     ENV['AWS_SESSION_TOKEN']
set :aws_region,            ENV['AWS_REGION']

And set the autoscale group using IP Address:

autoscale [<array of auto-scale-group-names>], :ip_address, user: '<deployment user>', roles: [<array of cap roles>]

Or, set the autoscale group using EC2 Instance Id:

autoscale [<array of auto-scale-group-names>], :instance_id, user: '<deployment user>', roles: [<array of cap roles>]