Updated on 2022-02-22 GMT+08:00

Configuring Cross-CIDR Access

Add the VPC CIDR block of your client. Ensure that the ECS where your client is installed can connect to the DB instance.

This section describes how to configure cross-CIDR access for a replica set instance.

Procedure

  1. Log in to the DDS console.
  2. On the Instance Management page, click the target DB instance.
  3. In the navigation pane on the left, choose Connections.
  4. In the Address area, click Enable to the right of Cross-CIDR Access, and then specify the client CIDR details

    Up to 9 CIDR blocks can be configured, and each of them does not overlap.

  5. After cross-CIDR access is enabled, Enabled is displayed to the right of Cross-CIDR Access.

    If you need to change the client CIDR block, click Change to the right of Cross-CIDR Access. Currently, you can only add VPCs and subnets but not change or delete them.

    • To ensure the ECS and the DB instance can communicate with each other, configure the connection by referring to section "VPC Peering Connection Overview" in the Virtual Private Cloud User Guide.