AOEpeople/aws-opsworks-wrapper

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Usage

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"

Scripts

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

Installation

$ bundle install --path .bundle
or:
$ bundle install --standalone

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.