Skip to content

Codalab AMI

Isabelle Guyon edited this page Oct 12, 2017 · 40 revisions

This page explains how to run an Ubuntu virtual machine on Amazon Web Services (AWS) already fully pre-configured with Codalab on it. We save for you a virtual machine image (AMI), which can be publicly accessed. Once launched, your virtual machine runs a web server through which you can access your own instance of Codalab. We explain how you can configure it to open the necessary ports for HTTP and HTTPS (i.e. to use SSL for more secure access).

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 PUBLIC [later] OF -- lukasz-codalab-3

Configure your machine for web access


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 .env file, go to the CODALAB_SITE_DOMAIN field and put your DNS, e.g.:

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

Save the file and exit. 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