ssh -l <user_name> -i <key_path> -p <port> <ip_address>
itamae ssh configuration/roles/base.rb -u ec2-user -p 22 -i ~/.ssh/aws/initialize.pem -h <ip_address>
itamae ssh configuration/roles/rails.rb -u ec2-user -p <port>> -i ~/.ssh/aws/initialize.pem -h <ip_address>
ASK_SUDO_PASSWORD=true \
PORT=<port> \
USER=<user_name> \
KEY_PATH=<key_path> \
ROLE=<role> \
HOST_IP=<ip_address> \
bundle exec rake spec
SUDO_PASSWORD=xxxx \
PORT=<port> \
USER=<user_name> \
KEY_PATH=<key_path> \
ROLE=<role> \
HOST_IP=<ip_address> \
bundle exec rake spec
$ git cloen git@github.com:tmknom/aws-infrastructure.git
$ cd aws-infrastructure
$ make
- Ruby >= 2.3.0
- Bundler >= 1.11.2
- Python >= 2.7.11
- pip >= 8.1.1
- terraform >= 0.6.15