Name: aws-opsworks-wrapper
Owner: AOE
Description: Small wrapper around the AWS Ruby API to make OpsWorks calls easier
Created: 2015-04-21 14:47:14.0
Updated: 2016-09-19 09:23:18.0
Pushed: 2015-10-14 13:18:35.0
Homepage: null
Size: 149
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This build on top of the AWSRuby SDK: http://docs.aws.amazon.com/opsworks/latest/APIReference/Welcome.html
You should set the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY environment variables.
In order to run one of the scripts just trigger:
bundle exec ruby <script> [options]
bundle exec ruby deploy.rb -s "Ecommerce-Staging" -a "Magento"
bundle exec ruby recipe.rb -s "Ecommerce-Production" -l "Magento" -r "project::_createbackup"
| Script | Description |
|—————|————————————————————————————|
| describe.rb
| shows all available stacks, apps, layers and related instances |
| deploy.rb
| triggers a plain deploy command for a app on all instances in the layer |
| snapshot.rb
| creates volume snapshots for a specific volume or all volumes of a layer |
| recipe.rb
| triggers a custom recipe |
$ bundle install --path .bundle
or:
$ bundle install --standalone