In this tutorial, we will learn how to set up MariaDB Master-Slave replication for load balancing on Alibaba Cloud ECS with Ubuntu 16.04.