Changes between Version 9 and Version 10 of DICLOUD/GEC12tutorial
- Timestamp:
- 10/18/11 09:32:33 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DICLOUD/GEC12tutorial
v9 v10 9 9 * Setup !DiCloud's MySQL database 10 10 * 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 12 14 * Setup environment variables 13 15 * Running the !DiCloud server … … 57 59 MySQL server will ask you to set a root password. Remember the password. 58 60 59 == Setup !DiCloud's !MySQL Server ==61 == Setup !DiCloud's MySQL Server == 60 62 61 63 First, log into !MySQL and create the dicloud database by running the following commands. … … 95 97 == Register new user on Amazon EC2 == 96 98 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.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. 98 100 99 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: … … 118 120 }}} 119 121 120 == Enabling Access to Keys via DiCloud's Web Portal ==122 == Enabling Access to Keys via !DiCloud's Web Portal == 121 123 122 124 We also create copies of the certificate and private key and change their ownership to www-data so the web portal can access them.