More tutorial around Alibaba Cloud Database, please refer to this link.
If you are the 1st time to use Terraform, please refer to this link to learn how to install and use the Terraform on different operating systems.
Run the terraform script to provision the resources and services.
Open 2 CLI windows and log on them to ECS with
ECS EIP. By default, the password is
N1cetest, which is preset in the terraform provision script in Step 1. If you've already changed it, please update accordingly.
Within one CLI window, edit and configure source_rdsmysql_app.py with connection to RDS MySQL, then run it as the OLTP demo application.
cd ~ vim source_rdsmysql_app.py
Then run this Python script as the OLTP demo application, which will be continuously inserting data into the RDS MySQL database.
Within another CLI window, edit and configure target_adbmysql_app.py with connection to AnalyticDB MySQL, then run it as the OLAP demo application.
cd ~ vim target_adbmysql_app.py
Then run this Python script as the OLAP demo application, which will be continuously querying data from the AnalyticDB MySQL data warehouse.
ApsaraDB - June 18, 2021
ApsaraDB - April 19, 2019
ApsaraDB - August 12, 2020
Alibaba Clouder - July 7, 2020
ApsaraDB - November 17, 2020
Alibaba Cloud Product Launch - August 30, 2018
ApsaraDB: Faster, Stronger, More SecureLearn More
Tair is a Redis-compatible in-memory database service that provides a variety of data structures and enterprise-level capabilities.Learn More
ApsaraDB for HBase is a NoSQL database engine that is highly optimized and 100% compatible with the community edition of HBase.Learn More
Protect, backup, and restore your data assets on the cloud with Alibaba Cloud database services.Learn More
More Posts by ApsaraDB