Changes between Version 9 and Version 10 of DICLOUD/GEC12tutorial


Ignore:
Timestamp:
10/18/11 09:32:33 (13 years ago)
Author:
David Irwin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DICLOUD/GEC12tutorial

    v9 v10  
    99 * Setup !DiCloud's MySQL database
    1010 * Create Amazon user credentials
    11  * Register a user on Amazon EC2
     11 * Register new user on Amazon EC2
     12 * Configuring Amazon for tutorial participants
     13 * Enabling access to keys for !DiCloud's web portal
    1214 * Setup environment variables
    1315 * Running the !DiCloud server
     
    5759MySQL server will ask you to set a root password. Remember the password.
    5860
    59 == Setup !DiCloud's !MySQL Server ==
     61== Setup !DiCloud's MySQL Server ==
    6062
    6163First, log into !MySQL and create the dicloud database by running the following commands.
     
    9597== Register new user on Amazon EC2 ==
    9698
    97 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.
     99Note 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.
    98100
    99101Create 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:
     
    118120}}}
    119121
    120 == Enabling Access to Keys via DiCloud's Web Portal ==
     122== Enabling Access to Keys via !DiCloud's Web Portal ==
    121123
    122124We also create copies of the certificate and private key and change their ownership to www-data so the web portal can access them.