Home Linux Community Community Blogs General Linux Cloud deployment using chef and knife

Cloud deployment using chef and knife

Been looking into the Opscode platform and using Chef and Knife to make redeploying EC2 instances 100% reproduceable. Its a different way compared to puppet.

Basically you use the opscode platform to either use recipes in the existing cookbooks, or create your own cookbooks and upload them to your opscode account. It will then allow you to call the recipe as part of the knife command, for example:

you need to use EC2(although I think there are also APIs for other Cloud provides like Rackspace,etc),Opscode platform, Git and Ruby to use knife properly. So you will have to have an AWS EC2 account,Opscode account.

example knife command:  knife ec2 server create -i ami-a54d67d1 -G default -Z eu-west-1b --region eu-west-1 -f m1.large -S cloutest -I cloudtest.pem -x ubuntu

Will post up more findings as I go, its well worth a Google!!



Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFS426 Linux Performance Tuning
    08 Sep » 11 Sep - New York
  2. LFS520 OpenStack Cloud Architecture and Deployment
    08 Sep » 11 Sep - Virtual
  3. LFD320 Linux Kernel Internals and Debugging
    15 Sep » 19 Sep - Virtual

View All Upcoming Courses

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board