检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Configure the parameters based on the information about the VPN created in Creating a VPN for the Destination Database. After the configuration is complete, view the VPN gateway information in the list. The VPN gateway status is Normal.
Accessing Huawei Cloud Through a VPN (Different Regions) Figure 1 shows how to use DRS to migrate data across databases in different regions over a VPN network on Huawei Cloud.
Figure 5 Destination database information Create a VPN in the target region and configure the VPN gateway and connection. For details, see Getting Started with Virtual Private Network.
When a VPN connection uses this VPN gateway, the VPN gateway enters the Normal state. Parent topic: Creating and Configuring a VPN
In the navigation pane on the left, choose Virtual Private Network > VPN Gateway. On the VPN Gateways page, click Buy VPN Gateway. Configure the required parameters.
Before workload replay, ensure that the VPN network is accessible. For more information about VPN, see Getting Started with Virtual Private Network.
From Other Cloud Databases to Huawei Cloud Accessing Huawei Cloud over a Public Network Accessing Huawei Cloud over a VPN
From On-premises Databases to Huawei Cloud Accessing Huawei Cloud over a Public Network Accessing Huawei Cloud over a VPN
Before disaster recovery, ensure that the VPN network is accessible. For more information about VPN, see Getting Started with Virtual Private Network.
Destination database network settings: If the source database attempts to access the destination database through a VPN, ensure that the VPN service is enabled and the source database can communicate with the destination RDS for MySQL database.
Figure 1 DRS product architecture Currently, DRS supports replication over a public network, VPC, VPN, and Direct Connect. You can select a network type as required. Theoretically, DRS uses the JDBC connection.
Figure 1 VPN scenario Before You Start The resource planning in this best practice is for demonstration only. Adjust it as needed. The test data is for reference only. For more information about DRS, click here. Parent topic: From RDS for MySQL to DDM
Network type VPN In this example, VPN is used. Parent topic: From RDS for MySQL to DDM
Figure 1 Network diagram To access a database in the local data center using a VPN, purchase the VPN service on Huawei Cloud and configure the VPN to connect to the VPC that contains the DRS instance.
Figure 1 Network diagram If you use DRS to access other cloud databases over a VPN, purchase a VPN on Huawei Cloud and configure the VPN to connect to the VPC that contains the DRS instance.
VPN Migrations from on-premises databases to cloud databases or between cloud databases across regions Establish a VPN connection between your local data center and the VPC that hosts the destination database. Before migration, ensure that the VPN network is accessible.
Supported network types during migration from MongoDB databases to DDS: VPC VPN Direct Connect Public network DDM DRS helps you migrate data from your databases to Distributed Database Middleware (DDM) in the cloud.
Creating and Configuring a VPN Creating a VPN for the Source Database Creating a VPN for the Destination Database Modifying the VPN Configuration for the Source Database Parent topic: From RDS for MySQL to DDM
Network Type The default value is Public network/VPN or Direct Connect. The value can bePublic network/VPN or Direct Connect or VPC. Public network/VPN or Direct Connect is used as an example.
If necessary, you can create a VPC peering connection and select VPN for Network Type to enable communication between the source and destination databases.