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
- Log in to the DDS console.
- On the Instance Management page, click the target DB instance.
- In the navigation pane on the left, choose Connections.
- On the Private Connection tab, click Enable to the right of Cross-CIDR Access and specify the client CIDR block details.
Figure 1 Cross-CIDR Access
Up to 9 CIDR blocks can be configured, and each of them does not overlap.
- 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.
Figure 2 Changing a CIDR block
- To ensure the ECS and the DB instance can communicate with each other, configure the connection by referring to VPC Peering Connection Overview.
Last Article: Enabling or Disabling SSL
Next Article: Enabling IP Addresses of shard and config Nodes
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.