Child pages
  • How To use the CS50 Appliance in your AWS environment
Skip to end of metadata
Go to start of metadata

Under Construction, sorry for the inconvenience

This is a guide for those students having an AWS Educate account to run an instance out of the CS50 appliance that SEAS Computing put in the AWS cloud.

Step-by-step guide

Once you get your aws educate account, please follow this steps to get the instance running:


  1. Go to the EC2 part of your AWS account in the upper left corner:
  2. Choose the comunity AMi and search for "SEAS CS50"

  3. Once in the EC2 console, choose Launch Instance and choose the size
  4. REMEMBER that the bigger the instance is, the more money will consume, take a look at the aws_calculator
  5. Next step is to configure the instance settings, your VPC default configuration is going to be simpler
  1. Choose your default VPC and default Subnet
  2. Enable the Auto-assign Public IP or you will not be able to access it!
  3. By selecting the "Enable Termination protection", you will have to
    double check when terminating the instance
  4. Leave the tenancy as it is (shared)and make sure you scroll down to get the
    advanced part of the configuration!

    5. Here you can find some tips on how to create your keys from windows ssh_keys_windows You will need to add here your ssh PUBLIC key

MAKE sure you add this lines in the User Data or you will not be able
to access your instance!!

hostname: cs50
manage_etc_hosts: false
  - name:ubuntu
      - ssh-rsa < PASTE YOUR PUBLIC ssh key>

   6. Leave this setting as it is, magnetic is fast enough

    7. Add a name for your instance so that you can find it easily among the others

    8. On a regular basis, machines are attacked, please make sure your firewall (security group) is set to protect your machine from unwanted access

Here you have the list of network addresses from Harvard (you at class) is Harvard University wireless network is eduroam wireless is classroom is for the cabled ones are the vpn networks

Save this security group for later use


    9. Next you will be able to change the storage type, SSD is more expensive, this appliance would not really benefit from it, but it is your decision

   10. This is an important step, since you already put your keys in the clout init configuration, you don't need to do it again and you can safely choose NO KEY PAIR

11. You will get a confirmation and if you click on the instance id, youll be able to see in the console the status of the creation

  1. You can see the public ip of the machine and after the status checks are passed, you'll be able to ssh to it with a simple
    1. ssh ubuntu@<IP_ADDRESS> -i .ssh/your_private_key
    2. You may need to type your passphrase now
  2. You can access the instance using VNC, you will get the full desktop experience issuing the following command against the instance:
    1. From a terminal issue:
      1. ssh -i .ssh/your_private_key ubuntu@<IP_ADDRESS> -L 5901:localhost:5901 "vncserver  :1 -geometry 1024x768 -depth 24  -localhost"
    2. Then from your favorite vncviewer, set it up as:
      1. server : localhost
      2. port : 5901
      3. password : crimson
    3. You can kill the server as:
      1. ssh -i .ssh/your_private_key ubuntu@<IP_ADDRESS> -L 5901:localhost:5901  "vncserver -kill :1"
  3. Once you are done with your work, you should stop the machine so that it doesn't consume money.
  4. If you want to terminate the instance (if you selected the termination protection, you will need to disable it)


    Now you can terminate the instance.


    Related articles