Updated on 2022-12-29 GMT+08:00

Resource Planning

Table 1 Resource planning

Category

Subcategory

Plan

Description

Source VPC

VPC name

vpc-DRSsrc

Specify a name that is easy to identify.

Region

AP-Singapore

To achieve lower network latency, select the region nearest to you.

AZ

AZ2

-

Subnet

10.0.0.0/24

Select a subnet with sufficient network resources.

Subnet name

subnet-drs01

Specify a name that is easy to identify.

RDS (source database)

RDS instance name

rds-mysql-src

Specify a name that is easy to identify.

Region

AP-Singapore

To achieve lower network latency, select the region nearest to you.

DB engine version

MySQL 5.7

-

Instance type

Single

A single instance is used in this example.

To improve service reliability, select a primary/standby instance.

Storage type

SSD

-

AZ

AZ2

A single instance is used in this example.

To improve service reliability, create a primary and standby instance and then locate them in two different AZs.

Specifications

General-purpose 4 vCPUs | 8 GB

-

Source VPN

Gateway name

vpngw-src

Specify a name that is easy to identify.

Region

AP-Singapore

To achieve lower network latency, select the region nearest to you.

Virtual Private Cloud (VPC)

vpc-DRSsrc

The value must be the same as the VPC of the source RDS DB instance.

VPN connection name

vpn-src01

Specify a name that is easy to identify.

Local Subnet

subnet-drs01

The value must be the same as the VPC subnet of the source RDS instance.

Remote gateway

123.60.251.207

Specifies the peer VPN gateway. This parameter is set to the gateway address of the target VPN. After the target VPN is created, obtain the gateway information.

Remote subnet

172.16.0.0/24

Specifies the peer VPN gateway. The value is the subnet of the destination VPN, which must be the same as the subnet of the VPC where the destination DDM instance resides.

Destination VPC

VPC name

vpc-DRStar

Specify a name that is easy to identify.

Region

CN-Hong Kong

To achieve lower network latency, select the region nearest to you.

AZ

AZ1

-

Subnet

172.16.0.0/24

Select a subnet with sufficient network resources.

Subnet name

subnet-drs02

Specify a name that is easy to identify.

DDM (destination database)

DDM instance name

ddm-drs-tar

Specify a name that is easy to identify.

AZ

AZ1

You can select one or more AZs. You are advised to create the instance across different AZs to improve service reliability.

Node specifications

General-enhanced 8 vCPUs | 16 GB

-

Nodes

1

A single node has high availability risks. In practice, you are advised to create at least two nodes.

RDS instance associated with the DDM instance

RDS instance name

rds-ddm01

Specify a name that is easy to identify.

Region

CN-Hong Kong

To achieve lower network latency, select the region nearest to you.

DB engine version

MySQL 5.7

-

Instance type

Single

A single instance is used in this example.

To improve service reliability, select a primary/standby instance.

Storage type

SSD

-

AZ

AZ1

A single instance is used in this example.

To improve service reliability, create a primary and standby instance and then locate them in two different AZs.

Specifications

General-purpose 4 vCPUs | 8 GB

-

Destination VPN

Gateway name

vpngw-tar

Specify a name that is easy to identify.

Region

CN-Hong Kong

To achieve lower network latency, select the region nearest to you.

Virtual Private Cloud (VPC)

vpc-DRStar

The value must be the same as the VPC of the destination DDM instance.

VPN connection name

vpn-tar01

Specify a name that is easy to identify.

Local subnet

subnet-drs02

The value must be the same as the VPC subnet of the destination DDM instance.

Remote gateway

123.60.236.84

Specifies the peer VPN gateway. In this example, this parameter is set to the gateway address of the source VPN. After the source VPN is created, the gateway address is obtained.

Remote subnet

10.0.0.0/24

Specifies the peer VPN gateway. The value is the subnet of the source VPN, which must be the same as the subnet of the VPC where the source RDS for MySQL instance is located.

DRS migration task

Task name

DRS-MySQLToDDM

Specify a name that is easy to identify.

Source DB engine

MySQL

In this example, the source is an RDS for MySQL instance on Huawei Cloud.

Destination DB engine

DDM

In this example, the destination database is DDM.

Network type

VPN

In this example, VPN is used.