Manage EC2 instances with Chef from the command line
Installation
Add this line to your application's Gemfile:
gem 'knife-instance'
And then execute:
$ bundle
Or install it yourself as:
$ gem install knife-instance
Configuration
Add this to your environment ~/.bashrc or ~/.zshrc
export aws_access_key_id='Put your key here'
export aws_secret_access_key='Put your key here'
Usage
bundle exec knife instance create -E development \
--image my_ec2-image \
-t myclustertag \
--group my_security_group
Contributing
- Fork it ( http://github.com/ZestFinance/knife-instance/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 new Pull Request
Credits
Inspired by knife-ec2 gem