Updated on 2023-08-03 GMT+08:00

Overview

You can use a private NAT gateway to enable communications between cloud and on-premises networks.

The following figure shows how a private NAT gateway enables ECSs in a VPC to communicate with your on-premises data center that has been connected to the cloud using Direct Connect.

Figure 1 Networking diagram

In this example, the CIDR block of your on-premises data center is 10.0.0.0/24. The subnet of the transit VPC in the CN-Hong Kong region is 10.1.0.0/24.

How networks are connected to each other

  1. Your on-premises data center is connected to the transit VPC using Direct Connect.
  2. The VPC where your services are deployed is connected to the transit VPC using a private NAT gateway.

This following figure shows the procedure.

Figure 2 Procedure