Skip to content

Lytro/chef_ec2_cli_tools

Repository files navigation

This cookbook is now deprecated. It has been replaced by AWS Developer Tools.

Old readme is below:

Chef Cookbook for EC2 CLI Tools

Description

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.

Requirements

Ruby 1.9+ Tested on Ubuntu 10.04

cookbook 'java'

Attributes

  • default['chef_ec2_cli_tools']['install_java?'] = true - set to false if you'd rather install java yourself
  • default['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 want
  • default['chef_ec2_cli_tools']['ami_source'] = 'http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.zip' - set to whatever URL you want
  • default['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).

Recipes

Written by Anuj Biyani for Lytro