Sha256: 049a8666ec2002ca14739db873c7dd7b48172f5961a9f5ff3690abe1cc369e49

Contents?: true

Size: 894 Bytes

Versions: 2

Compression:

Stored size: 894 Bytes

Contents

# 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:

```
set :aws_access_key_id,     ENV['AWS_ACCESS_KEY_ID']
set :aws_secret_access_key, ENV['AWS_SECRET_ACCESS_KEY']
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>]
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-autoscale-1.0.15 README.md
capistrano-autoscale-1.0.14 README.md