Amazon EC2
One way to do the assignments for cs4414 is to use an Amazon EC2 instance. You should be able to do everything you need for this course using the free tier of EC2. An advantage of using EC2 is you will be able to easily set up servers you develop in this class that are visible to the rest of the Internet.
-
Visit http://aws.amazon.com/ec2/ and click "Create Free Account". Follow the instructions provided to create your Amazon EC2 account.
-
Once you are signed up, Click "My Account/Console" on the upper right hand corner of the screen followed by "AWS Management Console".
-
In the AWS Management Console, click on "EC2" on the left hand side. You should now be in the EC2 dashboard.
-
Click "Launch Instance".
-
Scroll down and select Ubuntu Server 13.10.
-
Optional: Click "Next" twice until you get to the Add Storage menu. Change the size of the server to 30 GB.
-
Click Review and Launch, and then Launch.
-
When prompted for a keypair,
- Coose "Create a New Keypair".
- Give it a name like "keypair", and download the resulting pem file.
- Click Launch Instance.
-
Click on the id, which looks like "i-5c..." and note the Public DNS field of your instance. This is the ssh address you will be using to connect to your ec2 server, while providing keypair.pem as a key.
-
Open up your favorite ssh client and enter the Public DNS field as the address to connect to and your keypair.pem as the key. Node: If you're ssh'ing on UNIX, keep in mind that the permissions for the keyfile must be set to 400. You can do this with "chmod 400 keypair.pem".
To ssh in UNIX, the command will be (with your instance address instead of the one used here):
ssh –i keypair.pem ec2-54-209-195-140.compute-1.amazonaws.com
-
Execute the following two lines in your command shell to install rust:
wget https://www.dropbox.com/s/ho4bpigv8fdeige/setup-ec2.sh sudo sh setup-ec2.sh