Follow the Lynda .com tutorial on CHEF.
Provision a Chef Server using http://manage.chef.io
When it comes to provisioning a Node, create and run an EC2 instance, then you need to allow root login as well as he ec2-user, to do this take these steps
sudo -s (to become root) vi /root/.ssh/authorized_keys
Delete the lines at the begining of the file until you get to the words
ssh-rsa
.vi /etc/ssh/sshd_config
Set the variable
PermitRootLogin
toPermitRootLogin without-password
- service sshd resart