This cookbook is now deprecated. It has been replaced by AWS Developer Tools.
Setup EC2 CLI Tools for easier EC2 server management. The default recipe sets up both the AMI tools and the API tools.
API and AutoScaling Tools require java; by default, OpenJDK is installed. See the java cookbook for information on how to install Oracle's JDK.
Ruby 1.9+ Tested on Ubuntu 10.04
cookbook 'java'
default['chef_ec2_cli_tools']['install_java?'] = true
- set tofalse
if you'd rather install java yourselfdefault['chef_ec2_cli_tools']['aws_access_key'] = 'Your Access Key'
- you must set this if installing the API tools.default['chef_ec2_cli_tools']['aws_secret_key'] = 'Your Secret Key'
- you must set this if installing the API tools.default['chef_ec2_cli_tools']['api_source'] = 'http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip'
- set to whatever URL you wantdefault['chef_ec2_cli_tools']['ami_source'] = 'http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.zip'
- set to whatever URL you wantdefault['chef_ec2_cli_tools']['as_source'] = 'http://ec2-downloads.s3.amazonaws.com/AutoScaling-2011-01-01.zip'
- set to whatever URL you want
See Setting Attributes (Examples).
chef_ec2_cli_tools
- sets up all of the below toolschef_ec2_cli_tools::ami
- AMI toolschef_ec2_cli_tools::api
- API toolschef_ec2_cli_tools::as
- Auto Scaling tools
Written by Anuj Biyani for Lytro