Photo by ian dooley on Unsplash

The following is a step-by-step guide to deploying your Rails application with Dokku on an Aliyun 阿里云 (or Alibaba Cloud) ECS instance. I’ve opted to use Alibaba Cloud Elastic Compute Service (ECS) as I’m hosting my web application for use within China.

I will exclude details about Dokku and other technologies used in order to simplify this guide. Links will be available at the end if you wish to read more.

For reference, I’m running an ECS server with Ubuntu 20.04. You will also need to have a domain name in order to follow along.

Installing Dokku

First, connect to your server…

Calvin Tan

UIUX Designer and Web Developer |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store