This helpful little command line tool helps manage "lanes" of servers on AWS.
TODO: Describe lanes philosophy
- Create some default profiles (TODO: have the app generate this itself)
mkdir ~/.lanes
echo 'profile: myapp' >> ~/.lanes/lanes.yml
cat <<EOF >> ~/.lanes/myapp.yml
aws_access_key_id: [AWS_ACCESS_KEY_HERE
aws_secret_access_key: [AWS_SECRET_KEY_HERE]
ssh:
mods:
dev:
identity: ~/.ssh/myapp-dev.pem
tunnel: 7979:localhost:5432
EOF
- Install the gem:
gem install awslanes
- Run it and toy around:
lanes
- Fork it ( https://github.com/lemniscate/aws-lanes/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request