Changes between Version 14 and Version 15 of DICLOUD/GEC12tutorial


Ignore:
Timestamp:
10/18/11 09:51:18 (8 years ago)
Author:
David Irwin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DICLOUD/GEC12tutorial

    v14 v15  
    8484== Setup: Create Amazon user credentials ==
    8585
    86 Note that tutorial participants should not perform this step.
    87 
    88 Amazon EC2 requires that each user create and upload an X.509 certificate to Amazon, and use the corresponding private key to access the web services functions.  We create the certificate and private key below.  We copy versions of these certificates and change the ownership to www-data to allow the !DiCloud web portal to read them.
    89 
     86Amazon EC2 requires that each user create and upload an X.509 certificate to Amazon, and use the corresponding private key to access the web services functions.  We create the certificate and private key below.  We also create a public/private RSA keypair to access any VMs we create using ssh.
    9087{{{
    9188$ cd ~/Tutorials/DiCloud/ec2/keys
     
    9794== Setup: Register new user on Amazon EC2 ==
    9895
    99 Note that tutorial participants will be able to use a !DiCloud account, and do not need to create there own account.  Tutorial participants will also use a pre-existing !DiCloud user, and do not need to perform the steps listed in the rest of this section.
    100 
    101 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:
     96 * 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.  Follow Amazon's directions for creating an account.  Amazon requires that the account link to a valid credit card for payment. 
     97
     98 * 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". 
     99
     100 * 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 ID 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" and copy in the contents of ~/Tutorials/DiCloud/ec2/keys/geni-keypair.pem.  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:
    102101
    103102{{{