Opsup

Opsup is a small command line tool to run commands for AWS OpsWorks.

I created this as an internal tool for my work.

Installation

gem install opsup

Usage

Currently Opsup can run these commands:

  • upload_cookbooks (to S3)
  • update_cookbooks
  • setup
  • configure
  • deploy

Example:

$ opsup --stack $YOUR_STACK_NAME --aws-cred $AWS_KEY,$AWS_SECRET deploy

Opsup waits until the command completes.

Run opsup --help for details.

How to Release

  1. Increment the version.
  2. Commit it and tag it with v0.0.0 format.
  3. Push the tag.

Then CI does the rest.

TODO

  • Write tests
  • (maybe) Load options from environment varibles or a configuration file
  • (maybe) Add commands to create, start, stop, and delete instances