Updated on 2024-03-30 GMT+08:00

Step 3: Create a Private NAT Gateway

Scenarios

To enable communications between your service VPC and a remote private network or VPC, create a private NAT gateway.

Prerequisites

You have determined the transit IP addresses to be used for NAT in the transit VPC.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click Service List in the upper left corner. Under Network, select NAT Gateway. In the navigation pane on the left, choose Private NAT Gateways.

    The Private NAT Gateways page is displayed.

  4. Click Create Private NAT Gateway in the upper right corner.
  5. Configure required parameters. For details, see Table 1.
    Table 1 Descriptions of private NAT gateway parameters

    Parameter

    Description

    Region

    The region where the private NAT gateway is located

    Name

    The name of the private NAT gateway

    Enter up to 64 characters. Only digits, letters, underscores (_), and hyphens (-) are allowed.

    VPC

    The service VPC that the private NAT gateway belongs to

    The selected VPC cannot be changed after the private NAT gateway is created.

    Subnet

    The subnet of the service VPC

    The subnet must have at least one available IP address.

    The selected subnet cannot be changed after the private NAT gateway is created.

    Specifications

    The specifications of the private NAT gateway

    The value can be Small, Medium, Large, or Extra-large.

    Description

    Supplementary information about the private NAT gateway

    Enter up to 255 characters. Angle brackets (<>) are not allowed.

  6. Click Create Now.
  7. In the private NAT gateway list, check the gateway status.
  8. On the Private NAT Gateways page, click Transit IP Addresses.
    Figure 1 Assign Transit IP Address
  9. Configure required parameters. For details, see Table 2.
    Table 2 Parameter descriptions of a transit IP address

    Parameter

    Description

    Transit VPC

    The VPC to which the transit IP address belongs.

    Transit Subnets

    A transit subnet is a transit network and is the subnet to which the transit IP address belongs.

    The subnet must have at least one available IP address.

    Transit IP Address

    The transit IP address can be assigned in either of the following ways:

    Automatic: The system automatically assigns a transit IP address.

    Manual: You need to manually assign a transit IP address.

    IP Address

    This parameter is only available when you set Transit IP Address to Manual.

  10. Set Transit IP Address to Automatic and click OK.