Changes between Version 8 and Version 9 of DICLOUD/GEC12tutorial


Ignore:
Timestamp:
10/17/11 15:39:14 (13 years ago)
Author:
David Irwin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DICLOUD/GEC12tutorial

    v8 v9  
    9999Create 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:
    100100
    101 geni@geni-tutorial:~/Tutorials/DiCloud/ec2/keys$ cat geni_aws_credentials.txt
     101{{{
     102$ cat geni_aws_credentials.txt
    102103AWSAccessKeyId=<Your Access Key ID here>
    103104AWSSecretKey=<Your Secret Key Here>
    104 
     105}}}
    105106== Configuring Amazon for Tutorial Participants ==
    106107
     
    133134
    134135{{{
    135 cd ~/Tutorials/DiCloud
    136 nano environment
     136$ cd ~/Tutorials/DiCloud
     137$ nano environment
    137138
    138139[ Insert correct from geni_aws_credentials.txt
     
    140141    AWS_SECRET_ACCESS_KEY= ]
    141142
    142 cat environment >> ~/.bashrc
     143$ cat environment >> ~/.bashrc
    143144}}}
    144145
     
    147148
    148149{{{
    149 cp ~/Tutorials/DiCloud/.s3cfg ~/.s3cfg
     150$ cp ~/Tutorials/DiCloud/.s3cfg ~/.s3cfg
    150151}}}
    151152
     
    153154
    154155{{{
    155 cd ~/Tutorials/DiCloud/dicloud/bin
    156 ./dicloud_server.sh
     156$ cd ~/Tutorials/DiCloud/dicloud/bin
     157$ ./dicloud_server.sh
    157158}}}
    158159
     
    162163
    163164{{{
    164 sudo ntpdate ntp.ubuntu.com
    165 cd ~/Tutorials/DiCloud/dicloud/bin
    166 ./dicloud_console.sh
     165$ sudo ntpdate ntp.ubuntu.com
     166$ cd ~/Tutorials/DiCloud/dicloud/bin
     167$ ./dicloud_console.sh
    167168dicloud - not connected>connect localhost 1099
    168169Connecting to //localhost:1099/dicloud/server
     
    264265
    265266{{{
    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
    281281}}}
    282282
     
    284284
    285285{{{
    286 ./gush -P 15000
     286$ ./gush -P 15000
    287287}}}
    288288