-
Notifications
You must be signed in to change notification settings - Fork 61
UsingEC2
This page explains how to provision and set up an Amazon EC2 server to run the CloudCoder webapp.
First, you'll need to create an Amazon Web Services account. The good news is if you are creating a new account, you are eligible to receive an EC2 micro instance for 1 year for free. Log into the AWS console. Click on the EC2 link: this will take you to the EC2 console.
The server you use to run the CloudCoder webapp needs to have the following ports open:
- 22 (SSH)
- 443 (HTTPS)
- 47374 (connections from CloudCoder builder servers)
You will need to configure a security group so that these ports are open. Click on the Security Groups link in the EC2 console. Click on the Create Security Group button. Call it "cloudcoder". Choose "No VPC". The dialog should look something like this:
Click Yes, create. Click the Inbound tab. The Create a new rule combo box allows you to choose inbound ports to open. Choose each of the following and click Add Rule to add them:
- SSH (22)
- HTTP (443)
Then, choose Custom TCP rule. Enter 47374 in the Port range box, and leave the Source unchanged (0.0.0.0/0). The tab should look something like this:
Click Add Rule. At this point, the rule list on the right-hand side of the tab should look like this:
Now, click Apply Rule Changes. (It is below the Add Rule button.)
For more info (demo server, exercise repository, contributing to cloudcoder, etc): cloudcoder.org
