Skip to content

threedaymonk/chef-ec2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chef solo starter pack

Before you start, make sure that you've fetched the cookbooks submodule:
$ git submodule init
$ git submodule update

In the instructions below replace $SERVER with the hostname of the instance,
which will be something like 'ec2-174-129-96-38.compute-1.amazonaws.com'.

1. Start an EC2 instance running Ubuntu (I used Jaunty 9.04 Server from http://alestic.com/)
   You'll need to add the appropriate key to your ssh-agent:

   ssh-add /home/your_name/.ssh/you_private_key

2. Bootstrap chef:
   $ rake bootstrap SERVER=$SERVER

3. Edit your cookbook and DNA.
   The DNA for each server is held in dna/$SERVER.json

4. Update:
   $ rake update SERVER=$SERVER

5. GOTO 3

About

Rake tasks and directory organisation to bootstrap and configure an EC2 instance using Chef.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.4%
  • Shell 22.6%