When creating a migration, sync, or subscription task, you need to select different access types based on the deployment conditions of your source database. This document describes how to select an access type and prepare accordingly.
Use Case | Access Type | Directions |
---|---|---|
The source database can be accessed through a public IP | Public Network | Add the SNAT IP of the DTS server to the allowlist (generally the firewall) of the self-built database to connect the source database and DTS migration instance. |
The database is in a self-built IDC, which is interconnected with a VPC through VPN or Direct Connect | Direct Connect/VPN Access | |
CCN | ||
The source database is deployed in a CVM instance | Self-Build on CVM | In this scenario, DTS will automatically add the SNAT IP address of the DTS server to a security group rule of the CVM instance, so you don't need to manually add it. |
The source and target databases are both deployed in Tencent Cloud VPCs. | VPC | Add the SNAT IP address of the DTS server to a security group rule of the source database. The data sync feature supports the VPC access type. To use it, submit a ticket for application. |
The source database is a TencentDB database | Database | Add the SNAT IP address of the DTS server to a security group rule of the source database. |
For a third-party cloud database, you can select Public Network generally as the access type or select VPC Access, Direct Connect, or CCN based on your actual network conditions.
Was this page helpful?