You can use Data Transmission Service (DTS) to synchronize or migrate data across different Alibaba Cloud accounts. This feature is suitable for scenarios such as resource migration or resource merging across Alibaba Cloud accounts and business architecture adjustment.
Background information
Two Alibaba Cloud database instances (such as ApsaraDB RDS for MySQL instances) or self-managed databases (connected over Express Connect, VPN Gateway,
or Smart Access Gateway) are created by different Alibaba Cloud accounts. You need
to migrate data from the instance of Account A to the instance of Account B. The following
figure shows the architecture of the migration solution.

Note The account to which the destination database belongs must be an Alibaba Cloud account.

Supported source instances
- Alibaba Cloud database instances: ApsaraDB RDS for MySQL instances, ApsaraDB RDS for MariaDB TX instances, ApsaraDB RDS for PostgreSQL instances, PolarDB-X V1.0 clusters, PolarDB for Oracle clusters, and ApsaraDB for Redis instances.
- Self-managed databases: self-managed MySQL databases, PostgreSQL databases, Redis databases, MongoDB databases, Oracle databases, SQL Server databases, and Db2 for LUW databases that are connected over Express Connect, VPN Gateway, or Smart Access Gateway.
Implementation process
Step | Description |
---|---|
Step 1: Make preparations. Use Account A to log on to the Alibaba Cloud Management Console and grant the required permission to a Resource Access Management (RAM) role. | When you configure the RAM role, set Account B as the trusted account and authorize Account B to access the cloud resources of Account A. |
Step 2: Configure a DTS task. Use Account B to log on to the Alibaba Cloud Management Console and configure the DTS task. | When you configure the DTS task by using Account B, specify the ID of Account A so that DTS can read the cloud resources of Account A. |