Installing knife plugins for Amazon Web Services and Microsoft Azure
The Chef Development Kit (ChefDK) comes with development tools built by the Chef community. It makes the task of installing knife plugins easier.
Go to https://downloads.chef.io/chef-dk/ and download the ChefDK for your platform. For our purposes, select Red Hat Enterprise Linux and select the version. Click on the Red Hat Enterprise Linux 6 Download button as it works on 64 bit (x86_64) versions of Red Hat Enterprise Linux and CentOS 6:
[root@localhost Desktop]# sudo rpm -ivh chefdk-0.13.21-1.el6.x86_64.rpm Preparing... ########################################### [100%] 1:chefdk ########################################### [100%] Thank you for installing Chef Development Kit!
Once we have the ChefDK installed, we can use chef gem install knife-ec2
to create, bootstrap, and manage EC2 instances. It is available at
https://github.com/chef/knife-ec2
.
[root@localhost Desktop]# chef gem...