AWS How-to guide

CS290F Fall 2006 - UCSB Computer Science - Thorsten von Eicken

Jump to: navigation, search
  1. Use your invitation to create a login for your-self at AWS-console.com [1].
  2. Create a new SSH key pair with an appropriate nickname for your own AWS image access [2].
  3. View the existing pairs [3]:
    • Find yours and save the private key part in a file.
    • You will use this file as your SSH identity when you log into a newly instantiated image.
  4. Go to the list of EC2 images [4]
    • Click here [5] to launch the latest rails image.
    • The image will take a few minutes to be ready
    • Once it's ready, the list of instances [6] will show your instance as running.
    • It will also give a DNS name for your instance.
    • SSH to the instance by running the following command:
  ssh -i <private key file> root@<DNS name of instance>

You are now ready to roll. You have root access on the instance, but I recommend working as the user named user. The first thing you should do is write a script that checks your application out of subversion and gets it up and running. Follow the example script I used in class for mephisto.

Personal tools