Changes between Version 8 and Version 9 of DICLOUD/GEC12tutorial
- Timestamp:
- 10/17/11 15:39:14 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DICLOUD/GEC12tutorial
v8 v9 99 99 Create an account with Amazon web services by going [http://aws.amazon.com/ec2/ here] and clicking on "Create an AWS Account" in the upper-right portion of the page. Amazon requires that account link to a valid credit card for payment. Once you've created an account go back to [http://aws.amazon.com/ec2/ here] and click on "Sign in to the AWS Management Console" in the upper-right portion of the page. Once logged in, click on the AWS IAM tab (second from the right). Click on "Users" on the left panel, and then click "Create New Users". Create a user named "geni" (or any other name you prefer). Next click on the geni user, and go to the "Security Credentials" tab at the bottom of the page. Here you need to generate Access Keys and download the credentials.csv file that has the Access Key and the Secret Access Key. Also, upload the signing certificate we created at ~/Tutorials/DiCloud/ec2/keys/geni_cert.pem. Finally, click on the "Amazon EC2" tab (third from the left). Then click on the "Key Pairs" link at the bottom of the left panel. Now click "Import Key Pair". Give the new keypair the name "geni-keypair" (or any other name you prefer) and copy the contents of ~/Tutorials/DiCloud/ec2/keys/geni-keypair.pem in the correct place. Copy the credentials file credentials.csv to ~/Tutorials/DiCloud/ec2/keys/ and create the file ~/Tutorials/DiCloud/ec2/keys/geni_aws_credentials.txt, which should look as follows: 100 100 101 geni@geni-tutorial:~/Tutorials/DiCloud/ec2/keys$ cat geni_aws_credentials.txt 101 {{{ 102 $ cat geni_aws_credentials.txt 102 103 AWSAccessKeyId=<Your Access Key ID here> 103 104 AWSSecretKey=<Your Secret Key Here> 104 105 }}} 105 106 == Configuring Amazon for Tutorial Participants == 106 107 … … 133 134 134 135 {{{ 135 cd ~/Tutorials/DiCloud136 nano environment136 $ cd ~/Tutorials/DiCloud 137 $ nano environment 137 138 138 139 [ Insert correct from geni_aws_credentials.txt … … 140 141 AWS_SECRET_ACCESS_KEY= ] 141 142 142 cat environment >> ~/.bashrc143 $ cat environment >> ~/.bashrc 143 144 }}} 144 145 … … 147 148 148 149 {{{ 149 cp ~/Tutorials/DiCloud/.s3cfg ~/.s3cfg150 $ cp ~/Tutorials/DiCloud/.s3cfg ~/.s3cfg 150 151 }}} 151 152 … … 153 154 154 155 {{{ 155 cd ~/Tutorials/DiCloud/dicloud/bin156 ./dicloud_server.sh156 $ cd ~/Tutorials/DiCloud/dicloud/bin 157 $ ./dicloud_server.sh 157 158 }}} 158 159 … … 162 163 163 164 {{{ 164 sudo ntpdate ntp.ubuntu.com165 cd ~/Tutorials/DiCloud/dicloud/bin166 ./dicloud_console.sh165 $ sudo ntpdate ntp.ubuntu.com 166 $ cd ~/Tutorials/DiCloud/dicloud/bin 167 $ ./dicloud_console.sh 167 168 dicloud - not connected>connect localhost 1099 168 169 Connecting to //localhost:1099/dicloud/server … … 264 265 265 266 {{{ 266 apt-get install keychain 267 mkdir /usr/local/geni/gush 268 cd /usr/local/geni/gush 269 wget http://gush.cs.williams.edu/gush-bin-32bit.tgz 270 271 cd ~ 272 bash 273 cp ~/Tutorials/DiCloud/ec2/keys/geni-keypair.pem ~/.ssh/id_rsa 274 cp ~/Tutorials/DiCloud/ec2/keys/geni-keypair.pub ~/.ssh/id_rsa.pub 275 keychain ~/.ssh/id_rsa 276 echo 'StrictHostKeyChecking no' >> ~/.ssh/config 277 mkdir ~/Tutorials/DiCloud/gush 278 cd ~/Tutorials/DiCloud/gush 279 cp /usr/local/geni/gush/gush-bin-32bit.tgz . 280 tar xzvf gush-bin-32bit.tgz 267 $ apt-get install keychain 268 $ mkdir /usr/local/geni/gush 269 $ cd /usr/local/geni/gush 270 $ wget http://gush.cs.williams.edu/gush-bin-32bit.tgz 271 $ cd ~ 272 $ bash 273 $ cp ~/Tutorials/DiCloud/ec2/keys/geni-keypair.pem ~/.ssh/id_rsa 274 $ cp ~/Tutorials/DiCloud/ec2/keys/geni-keypair.pub ~/.ssh/id_rsa.pub 275 $ keychain ~/.ssh/id_rsa 276 $ echo 'StrictHostKeyChecking no' >> ~/.ssh/config 277 $ mkdir ~/Tutorials/DiCloud/gush 278 $ cd ~/Tutorials/DiCloud/gush 279 $ cp /usr/local/geni/gush/gush-bin-32bit.tgz . 280 $ tar xzvf gush-bin-32bit.tgz 281 281 }}} 282 282 … … 284 284 285 285 {{{ 286 ./gush -P 15000286 $ ./gush -P 15000 287 287 }}} 288 288