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.
First, connect to your server…