AWS/EC2 Instance Setup
Amazon web services offers free tier server/cloud space and computing. Though limited by this free tier options, testing can be done to insure a multi-master network will work for SARWAI purposes.
Account Creation and Setup
- An Amazon AWS free tier web service can be setup here: https://aws.amazon.com/free/
- An Ubuntu 16.04 LTS instance is setup
- NOTE: This instance is just the command line terminal and not the GUI. Most GUI setup requires a vpn, which may hurt the integrity of the system. If a GUI option is needed, proceed carefully.
EC2 Setup
Elastic IP
- In order to insure a static IP when ssh'd in to the EC2 instace, a static IP must be created
From the Menu under NETWORK & SECURITY, choose the Elastic IPs option as show Below

From here click the Allocate New Address Button at the top of the page
- Then Allocate
- NOTE: This is the address to be used when SSHing into the EC2 instance
Port Configuration
- Under NETWORK & SECURITY choose Security Groups
- Create a Security Group
- Configure Incoming Ports
- An example is shown below
AWS Key
- A Encryption key is needed to access the server
- After obtaining key, this key can be used station to station with a small caveat with regards to permissions. This can configured to work as such in the linux command line
chmod 600 key.pem
Connecting to the Server
- The connection to the server will be done via SSH
- Linux Ubuntu 16.04 LTS has ssh capabilities built in
- Using the key given by AWS, we can SSH into the server via the command below. NOTE: The IP used is the elastic IP. Also you must be in the key directory
ssh -i key.pem ubuntu@<elasticIP>