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

Resource and Cost Planning

Table 1 Resource planning

Category

Subcategory

Plan

Description

VPC

VPC name

vpc-DRStest

Specify a name that is easy to identify.

Region

EU-Dublin

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

AZ

AZ 1

-

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

Specify a name that is easy to identify.

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

AZ 3

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

-

Kafka (destination database)

Kafka instance name

kafka-drs

Specify a name that is easy to identify.

Version

2.3.0

-

AZ

AZ 3

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

Specifications

c6.2u4g.cluster

-

Brokers

3

-

Storage space

High I/O, 200 GB

The storage space is used to store messages (including replicas). Kafka uses three replicas by default. In addition to storing messages, some space needs to be reserved for storing logs and metadata.

DRS synchronization task

Synchronization task name

DRS-MySQLToKafka

Custom

Source DB engine

MySQL

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

Destination DB engine

Kafka

In this example, the destination database is Kafka.

Network Type

VPC

In the practice, select the VPC network.

For details about the prices of the preceding resources, see Pricing Details. You can use the price calculator provided by Huawei Cloud to quickly calculate the reference price based on your desired specifications.