JATOS on AWS
On this page is additional information in how to install JATOS on a server on AWS. All general installation advice is in JATOS on a server and applies here too. If you are looking for an easier way to install JATOS in the cloud, the tutorial JATOS on DigitalOcean might be what you are looking for.
- First you need to register at AWS (they'll want your credit card).
- In AWS webpage move to EC2 and launch a new instance with Ubuntu (you can use other Linux too - I tested it with Ubuntu 14.04 and 16.04)
- During the creation of the new EC2 instance you will be ask whether you want to create a key pair. Do so. Download the file with the key (a *.pem file). Store it in a safe place - with this key you will access your server.
- Login via SSH:
ssh -i /path/to/your/pem_key_file ubuntu@xx.xx.xx.xx
(Use your instance's IP address: In AWS / EC2 / Instances / Description are two IPs 'Private IP' and 'Public IP'. Use the public one.) - Get the latest JATOS bundled with Java (exchange x.x.x with the version you want)
wget https://github.com/JATOS/JATOS/releases/download/vx.x.x/jatos-x.x.x-linux_java.zip
unzip jatos-x.x.x-linux_java.zip
(You probably have to install 'unzip' first withsudo apt-get install unzip
.)- Configure IP and port in
conf/production.conf
: Use the 'Private IP' from your instance description (the one that starts with 172.x.x.x) and port 80 - Allow inbound HTTP/HTTPS traffic: This is done in AWS GUI.
- (Optional) auto-start JATOS
- Change JATOS' admin password