nav-img
Advanced

Real-Time Disaster Recovery

Network Preparations

DRS supports disaster recovery through a Virtual Private Network (VPN), Direct Connect, or public network. Table 1 lists the application scenarios of each network type and required preparations.

Table 1 Network types

Network Type

Application Scenario

Preparations

VPN

Disaster recovery 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 disaster recovery, ensure that the VPN network is accessible.

Direct Connect

Disaster recovery from on-premises databases to cloud databases or between cloud databases across regions

Use a dedicated network connection to connect your data center to VPCs.

Public network

Disaster recovery from on-premises databases or other cloud databases to destination databases.

To ensure network connectivity between the source and destination databases, perform the following operations:

  1. Enable public accessibility.

    Enable public accessibility for the source database based on your service requirements.

  2. Configure security group rules.
    • Add the EIPs of the disaster recovery instance to the whitelist of the source database for inbound traffic.
    • If destination databases and the DR instance are in the same VPC, they can communicate with each other by default. You do not need to configure a security group.
    NOTE:
    • The IP address on the Configure Source and Destination Databases page is the EIP of the DR instance.
    • If SSL is not enabled, backing up confidential data for disaster recovery is not recommended.