Skip to content

Codalab AMI

lr292358 edited this page Oct 12, 2017 · 40 revisions

First get familiar with AWS (if you are not familiar):

Tutorial: starting and connecting to a machine on AWS

Run the following AMI: --TODO LINK--

Contents


Opening ports 80 and 443 to allow access using browser

Select your machine, and click the security group 'launch-wizard-XX':

Right-click on the rule, and select 'edit inbound rules'

Click 'Add rule' and select HTTP, then add HTTPS rule, and save.

Editing env file

Connect to the server, then:

cd src
cd codalab-competitions
ls -la

The .env file contains Codalab configuration.

Click your instance and copy the address 'Public DNS (IPv4)' You need to edit the CODALAB_SITE_DOMAIN and put your DNS, e.g.:

CODALAB_SITE_DOMAIN=ec2-54-153-46-119.us-west-1.compute.amazonaws.com

Then run

docker-compose up -d

each time you edit .env file to restart the services.

You should be now able to access the codalab website at your DNS, e.g.: http://ec2-54-193-41-242.us-west-1.compute.amazonaws.com

Clone this wiki locally