Updated on 2022-09-15 GMT+08:00

Resource and Cost Planning

Table 1 Resource planning

Category

Subcategory

Plan

Remarks

Source VPC

VPC name

vpc-DRSsrc

Specify a name that is easy to identify.

Region

EU-Dublin

For low network latency and quick resource access, select the region nearest to you.

AZ

AZ2

-

Subnet CIDR

10.0.0.0/24

Select a subnet with sufficient network resources.

Subnet name

subnet-drs01

Specify a name that is easy to identify.

Source RDS instance

RDS instance name

rds-mysql-src

Specify a name that is easy to identify.

Region

EU-Dublin

For low network latency and quick resource access, 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

Cloud SSD

-

AZ

AZ2

A single instance is used in this example.

To improve service reliability, create a primary/standby RDS instance and then deploy them in different AZs.

Instance class

General-purpose 4 vCPUs | 8 GB

-

Source VPN

Gateway name

vpngw-src

Specify a name that is easy to identify.

Region

EU-Dublin

For low network latency and quick resource access, select the region nearest to you.

VPC

vpc-DRSsrc

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

VPN connection name

vpn-src01

Specify a name that is easy to identify.

Local subnet

subnet-drs01

The local subnet is the VPC subnet of the source RDS instance.

Remote gateway

123.60.251.207

Peer VPN gateway. The value is the gateway address of the destination VPN. After the destination VPN is created, the gateway address is obtained.

Remote subnet

172.16.0.0/24

Subnet of the peer VPN. The value is the subnet of the destination VPN, which is the subnet of the VPC where the destination DDM instance is deployed.

Destination VPC

VPC name

vpc-DRStar

Specify a name that is easy to identify.

Region

EU-Dublin

For low network latency and quick resource access, select the region nearest to you.

AZ

AZ1

-

Subnet CIDR

172.16.0.0/24

Select a subnet with sufficient network resources.

Subnet name

subnet-drs02

Specify a name that is easy to identify.

Destination DDM instance

DDM instance name

ddm-drs-tar

Specify a name that is easy to identify.

AZ

AZ1

You can select one or more AZs. Ensure that the destination DDM instance is deployed across different AZs to improve service reliability.

Node class

General-enhanced 8 vCPUs | 16 GB

-

Nodes

1

A single node cannot provide high availability. Ensure that the destination DDM instance has 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

EU-Dublin

For low network latency and quick resource access, 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 RDS instance.

Storage type

Cloud SSD

-

AZ

AZ1

A single instance is used in this example.

To improve service reliability, create a primary/standby RDS instance and then deploy them in different AZs.

Instance class

General-purpose 4 vCPUs | 8 GB

-

Destination VPN

Gateway name

vpngw-tar

Specify a name that is easy to identify.

Region

EU-Dublin

For low network latency and quick resource access, select the region nearest to you.

VPC

vpc-DRStar

The value is 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 is the VPC subnet of the destination DDM instance.

Remote gateway

123.60.236.84

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

Subnet of the peer VPN. The value is the subnet of the source VPN, which is the subnet of the VPC where the source RDS for MySQL instance is deployed.

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 is a DDM instance.

Network type

VPN network

In this example, VPNs are used.