On this page is additional information in how to install JATOS on a server in Amazon’s Web Services. 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 (Amazon Web Services) (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 firstname.lastname@example.org(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)
unzip jatos-x.x.x-linux_java.zip(You probably have to install ‘unzip’ first with
sudo apt-get install unzip.)
- Configure IP and port in
jatos.sh: 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