TODO: Enter the cookbook description here.
On your mac/linux box
-
Install chef-dk
-
Use chef-dk ruby. export PATH=/opt/chefdk/embedded/bin:$PATH
-
Clone this repo
-
run
berks install
to download and install cookbooks -
Install aws command line tools See (Insert link to aws page)
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
- unzip awscli-bundle.zip
- sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
- Set up your aws credentials
aws configure
Verify they work.
- Install kitchen-ec2 driver
- TODO: doc this, we checked out repo and
bundle install; bundle exec rake install
may be smarter way.
- Set up keypair Add this line to .config file export AWS_SSH_KEY_ID=MyKeyPair2