ApsaraDB for MongoDB uses Virtual Private Cloud (VPC) to implement network isolation.
VPC strictly isolates network packets using underlying network protocols and controls access at the network layer.
You can use VPN connections or leased lines to connect your on-premises IDCs with Alibaba Cloud. You can also use custom CIDR blocks for instances within your VPCs to avoid potential IP address conflicts. This allows both your own servers and ECS instances to access ApsaraDB for MongoDB.