ssh ubuntu@<IP Supplied by the Instructor> (password opstrain_0150)
mkdir -p ~/chef-repo/.chef
From your Client box copy your Key and config files
scp *.pem ubuntu@ec2-?????.com:~
scp .pem ubuntu@ec2-?????.com:~
__ Create a new webserver.rb role file in ../chef-repo/roles__
The new role file should include a description and a run_list that includes webserver recipe created in the previous step. See http://wiki.opscode.com/display/chef/Roles for examples.
__ Load the new webserver.rb role up to the Chef server__
INSTANCE i-1228987d ami-3e02f257 ec2-50-17-53-118.compute-1.amazonaws.com ip-10-242-81-44.ec2.internal running tlf 1 t1.micro 2011-04-01T19:31:32+0000 | |
INSTANCE i-1028987f ami-3e02f257 ec2-50-17-166-47.compute-1.amazonaws.com ip-10-245-185-94.ec2.internal running tlf 2 t1.micro 2011-04-01T19:31:32+0000 | |
INSTANCE i-ee289881 ami-3e02f257 ec2-174-129-55-222.compute-1.amazonaws.com ip-10-242-81-75.ec2.internal running tlf 3 t1.micro 2011-04-01T19:31:32+0000 | |
INSTANCE i-ec289883 ami-3e02f257 ec2-50-17-83-161.compute-1.amazonaws.com ip-10-212-133-6.ec2.internal running tlf 4 t1.micro 2011-04-01T19:31:32+0000 | |
INSTANCE i-ea289885 ami-3e02f257 ec2-50-17-114-204.compute-1.amazonaws.com ip-10-112-57-164.ec2.internal running tlf 5 t1.micro 2011-04-01T19:31:32+0000 | |
INSTANCE i-e |
knife bootstrap YUR_SPESHUL_EC2_NODE -r 'role[production],role[base],role[radiant_database_master],role[radiant],role[radiant_run_migrations],recipe[radiant::db_bootstrap]' --sudo -x ubuntu |
#!/usr/bin/env bash | |
# Base ipmi access setup script to be run from BMC | |
set -u | |
tgtip=xxx.xxx.xxx.xxx | |
tgtnet=$(echo $tgtip | cut -f1-3 -d\.) | |
# intel S2600: 2 | |
# supermicro: 0 |