Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Opscode Chef knife plug-in for EC2
branch: CHEF-1590

This branch is even with chef:CHEF-1590

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
.rspec
LICENSE
README.rdoc
Rakefile
knife-ec2.gemspec

README.rdoc

Knife EC2

This is the official Opscode Knife plugin for Amazon EC2. This plugin gives the knife command line program the ability to create, bootstrap, and manage EC2 inst ances.

Installation

This plugin is distributed as a Ruby Gem. To install it, run:

gem install knife-ec2

Depending on your system, you may need to run this command as root.

Configuration

Knife EC2 can be configured with your AWS credentials, favored availability zone and more. Your configuration is specified in your knife.rb file, inside the `knife` Hash. The following settings are available:

  • availability_zone

  • aws_ssh_key_id

  • aws_access_key_id

  • aws_secret_access_key

  • region

Configuration Example:

In ~/.chef/knife.rb:

knife :aws_access_key_id     => "AAAAAAAAAAAAAAAAAAAAAA",
      :aws_secret_access_key => "Mjc0MzIyMDE5Mjk1MjcxNjczNDYxNjczMzg5Nzg5",
      :aws_ssh_key_id        => "mycorp-ssh-key"

Usage

TODO

Something went wrong with that request. Please try again.