Linux.com

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!!

 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFS230 Linux Network Management
    06 Oct » 09 Oct - Virtual
    Details
  2. LFS416 Linux Security
    06 Oct » 09 Oct - Washington
    Details
  3. LFD331 Developing Linux Device Drivers
    13 Oct » 17 Oct - Virtual
    Details

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