If you want to use Alibaba Cloud Data Transmission Service (DTS) to synchronize self-managed databases deployed in data centers or third-party clouds to Alibaba Cloud, you need to configure multiple 100 CIDR blocks on your leased lines and VPNs and add 100 CIDR blocks to the whitelist on the database according to the previous operation of adding the CIDR block of the DTS server. The following figure describes the network topology.
However, such configuration methods have some drawbacks:
To address the preceding drawbacks, Alibaba Cloud DTS is gradually launching a new VPC data channel solution. This approach transforms access to user instances from using the 100 CIDR block to leveraging the user's private IP addresses, thereby solving the complexity of configuring 100 CIDR blocks from the root.
The following figure shows the architecture of the VPC data channel.
The VPC data channel uses the private IP address of the user to access the user instance so that the network link becomes user-controllable.
As shown in the above figure, the user has a database instance in data centers or third-party clouds. The address of this instance is 10.0.0.1:3306, and the private CIDR block of the data center or third-party clouds is 10.0.0.0/8. In addition, the user has a VPC in the Alibaba Cloud environment. The data center or third-party cloud of the user has been connected to the cloud VPC, and any IP in the VPC can access the database instance at 10.0.0.1:3306. The user wants to use DTS to migrate their database instance in the data center to an RDS instance in the cloud VPC. After using the VPC data channel, DTS will add an elastic network interface (ENI) on the VSW in the VPC (the IP of this ENI is 172.16.0.1) and use its IP as the source IP to access the user's database instance in the data center.
Compared with the original use of the100 CIDR block to access user instances, the VPC data channel has the following advantages:
• User-controllable DTS source IP address: You can control the IP address DTS uses to access instances in third-party clouds or data centers. (You can specify a VSW in a VPC for DTS to use.)
• Pre-verification of network connectivity: Before you configure a DTS task, you can check the connectivity from the VSW to the database in third-party clouds or data centers. You can apply for an ECS instance on the VSW and run commands such as telnet, ping, traceroute, and MTR on the database in third-party clouds or data centers. If the network fails, you can handle the problem in advance to avoid discovering the problem until DTS tasks are configured and delaying the process.
• Standard cloud product presentation for DTS network components: You can find the elastic network interface created by DTS to access user instances in the ECS console > Network and Security > Elastic Network Interface.
• Effectively reduce the time wasted on troubleshooting and ensure that the entire project proceeds as planned. With these preventive measures, the risk of delays caused by unknown factors can be greatly reduced, ensuring that every stage of the project is carried out within a controllable range.
Click to learn more about DTS: https://www.alibabacloud.com/product/data-transmission-service
For more information about the VPC data channel and limits, please refer to https://www.alibabacloud.com/help/en/dts/user-guide/what-is-a-vpc-data-channel
Currently, the VPC data channel solution is in a canary release. Welcome to try it online: https://www.alibabacloud.com/help/en/dts/user-guide/configure-a-vpc-data-channel-task
Performance Improvement Tool | In-depth Analysis of PolarDB-X Columnar Query Technology
ApsaraDB - March 15, 2024
ApsaraDB - March 15, 2024
ApsaraDB - July 12, 2023
ApsaraDB - July 13, 2023
ApsaraDB - January 10, 2022
ApsaraDB - July 12, 2023
Supports data migration and data synchronization between data engines, such as relational database, NoSQL and OLAP
Learn MoreTair is a Redis-compatible in-memory database service that provides a variety of data structures and enterprise-level capabilities.
Learn MoreAlibaba Cloud offers an accelerated global networking solution that makes distance learning just the same as in-class teaching.
Learn MoreConnect your VPCs to services in other VPCs through secure, reliable, and private connections.
Learn MoreMore Posts by ApsaraDB