Create (n) instances for students -- These are prebuillt Chef client instances that have everything except the key
ec2-run-instances ami-5a31c133 --instance-type m1.small --region us-east-1 --key botchagalupe -g default -g wordpress -n 10
Create a list of instances and assign to students
Students need to copy keys and knife config
scp ubuntu@<ip address>:~/chef-repo/.chef
scp org-validator.pem ubuntu@<ip address>:~/chef-repo/.chef
scp knife.rb ubuntu@<ip address>:~/chef-repo/.chef
__password is "opstrain_0150" __
Logon to the new instance
ssh ubuntu@@<ip address> -
Generate your Chef client configuration
cd ~/chef-repo
knife configure client ./client-config
sudo cp ~/chef-repo/client-config/* /etc/chef
sudo chef-client
ec2-run-instances ami-ce32c2a7 --instance-type t1.micro --region us-east-1 --key botchagalupe -g default -g tse-demo -n 30