Skip to content

Amazon EC2

Coronium Core server is eligible for the EC2 free tier using Amazon Web Services.

AWS Experience Required

This guide assumes that you have an active AWS account, and are familiar with managing EC2 instances.

Create An Instance

Once you log into the AWS Console, navigate to the EC2 service. Click the Launch Instance button.

On the next screen, find the Ubuntu Server 16.04 LTS (HVM) AMI, and click the Select button on the right.

Select your preferred instance type. A t2.micro is a good starting point. You can always increase the size later.

Using the Add Rule button on the Configure Security Group screen, and add the following rules:

Type Protocol Port Range Source Description
Custom TCP TCP 80 Anywhere HTTP support
Custom TCP TCP 443 Anywhere HTTPS support
Custom TCP TCP 10001 Anywhere Coronium Core access
Custom TCP TCP 3306 Anywhere or IP MySQL server admin
Custom TCP TCP 27017 Anywhere or IP Mongo server admin

Adjust any additional settings, and then Launch the AMI.

Install Coronium Core

Once your instance is in a running state, note the IPv4 Public IP address.

Using a terminal/shell of your choice, SSH into the instance.

Tip

You can use the built in terminal on OSX. For Windows, check out PuTTY.

ssh -i <path/to/.pem> ubuntu@<your-instance-ip>

Replace <your-instance-ip> with the address that was assigned to your instance.

Once you are connected to the droplet, copy and paste the following line into the terminal:

wget https://s3.amazonaws.com/coronium-core/ec2.sh && sudo bash ec2.sh

Database Passwords

Once the installation is complete, you will be prompted for your choice of database passwords. Make sure they are secure, and don't lose them. You will use these passwords to connect to your databases both internally and externally.

Changing Passwords

If you need to change the passwords later see Database Passswords in the server guide.

Server Key

The server key is used by the Coronium Core client-side initialization method. This key is presented at the end of the installation. Copy the key to use now so you won't have to re-log into the server. To retrieve the key later, use the coronium tool on the server (see Server Key).

Next Steps

Once the installation is complete, take a look at the Post Install section.