How to Install Turtl Server on Alibaba Cloud ECS

In this tutorial, we will be setting up Turtl on an Alibaba Cloud Elastic Compute Service (ECS) with Ubuntu 16.04 installed.

By Arslan Ud Din Shafiq, Alibaba Cloud Tech Share Author. Tech Share is Alibaba Cloud's incentive program to encourage the sharing of technical kledge and best practices within the cloud community.

Turtl server is open source storage service that focuses on privacy. Turtl stores your password and creates a cryptographic key and uses this key for encryption of your data before storing it anywhere on your device or on server. This means the data can be ready by only you or by the people chosen by you for sharing of data.

In this tutorial, I will be installing and setting up Turtl Server on Alibaba Cloud Elastic Compute Service (ECS) with Ubuntu 16.04 installed.

Prerequisites

You must have Alibaba Cloud Elastic Compute Service (ECS) activated and verified your valid payment method. If you are a new user, you can get $300 – $1200 worth in Alibaba Cloud credits for your new account. If you don't k about how to setup your ECS instance, you can refer to this tutorial or quick-start guide. Your ECS instance must have at least 1GB RAM and 1 Core processor.

A domain name registered from Alibaba Cloud. If you have already registered a domain from Alibaba Cloud or any other host, you can update its domain nameserver records.

If you want to connect to your Alibaba Cloud ECS instance from a mobile or desktop client, you will need to edit the following text in configuration file. Remember to replace IP address in below text with your ECS IP address.

# sudo nano api/config/config.lisp

Execute the following command, it will automatically start Turtl server.

# ccl64

Set Up Firewalls and Ports

If you have activated firewalls, you will have to define a rule in Alibaba Cloud security group for your cloud server to add exception for port 80/tcp and 443/tcp. You can enable these ports while creating ECS instance, but in case if you have forgotten to unblock these ports, you can follow the procedure in this guide: https://www.alibabacloud.com/help/doc-detail/25471.htm

Install Turtl Client App

You will need to download Turtl Client app from its official website. It is available for Windows, macOSx, Linux and Android.

You will need to put your domain name or Alibaba Cloud IP address or if you are using app locally on your server, you can use localhost:8181 and create your username.