Updated on 2022-08-17 GMT+08:00

Step 2: Create a DDM Instance

Procedure

  1. On the RDS console, click Service List and choose Database > Distributed Database Middleware.
  2. On the displayed page, in the upper right corner, click Create DDM Instance.
  3. On the displayed page, configure the required parameters.

    Table 1 Required parameters

    Parameter

    Description

    AZ

    Availability zone where the DDM instance is deployed.

    Currently, some regions support cross-AZ deployment to enhance availability of DDM instances.

    You can select cross-AZ deployment for your DDM instance. In this case, instance nodes will be deployed in different AZs.

    NOTE:

    Deploy your application, DDM instance, and required RDS DB instances in the same AZ to reduce network latency. Cross-AZ deployment may increase network latency.

    Instance Name

    Name of the DDM instance, which:

    • Cannot be left blank.
    • Must start with a letter.
    • Must be 4 to 64 characters long.
    • Can contain only letters, digits, and hyphens (-).

    Instance Class

    Class of the DDM instance. You can select General-enhanced or Kunpeng general computing-plus.

    NOTE:

    Estimate compute and storage requirements of your applications based on your service type and scale before you create a DDM instance, and then select an appropriate class so that the CPU and memory specifications of your DDM instance can better meet your needs.

    Instance Nodes

    Number of nodes in a DDM instance. Up to 32 nodes are supported.

    VPC

    VPC that the DDM instance belongs to. This VPC isolates networks for different services. It allows you to manage and configure private networks, simplifying network management.

    Click View VPC to show more details and security group rules.

    NOTE:

    The DDM instance should be in the same VPC as the required RDS DB instance.

    To ensure network connectivity, the DDM instance you purchased must be in the same VPC as your applications and RDS DB instances.

    Subnet

    Name and IP address range of the subnet

    Security Group

    Select an existing security group.

    You are advised to select the same security group for your DDM instance, application, and RDS MySQL DB instances so that they can communicate with each other. If different security groups are selected, add security group rules to enable network access.

    Parameter Template

    Select an existing parameter template. You can also click View Parameter Template to set parameters on the displayed page.

  4. After the configuration is complete, click Next at the bottom of the page.
  5. Confirm the configurations and click Submit.

Creating a DDM Instance