This repository has examples of using Capistrano with instances managed by AWS OpsWorks.
bundle installto install capistrano itself and the AWS SDK for Ruby
bundle exec cap meta populateto generate stages in config/deploy/
bundle exec cap <name-of-one-of-your-stacks> consoleto get a console for interactively running commands
bundle exec cap <name-of-one-of-your-stacks> run COMMAND=uptimeto run the
uptimecommand on all instances
- requires ssh_key_name in your OpsWorks instances to point at a key that is available by default, that is, without having to specify the -i option when you would manually
sshinto the instance