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

Creating a Private NAT Gateway

Scenarios

You can a private NAT gateway to enable servers in your VPC to access or provide services accessible from on-premises data centers and other VPCs.

Constraints and Limitations

  • Manually add routes in a VPC to connect it to a remote private network through a VPC peering connection, Direct Connect, or VPN connection.
  • SNAT and DNAT rules cannot share a transit IP address.
  • The total number of DNAT and SNAT rules that can be added on a private NAT gateway varies with the private NAT gateway specifications.
    • Small: 20 or less
    • Medium: 50 or less
    • Large: 200 or less
    • Extra-large: 500 or less

When you create a private NAT gateway, you must specify its VPC, subnet, and specifications.

Procedure

  1. Log in to the management console.
  2. Click Service List in the upper left corner. Under Network, select NAT Gateway.

    The NAT gateway console is displayed.

  3. In the navigation pane on the left, choose NAT Gateway > Private NAT Gateways.
  4. On the Private NAT Gateways page, click Create Private NAT Gateway.
  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 VPC that the private NAT gateway belongs to

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

    Subnet

    The subnet that the private NAT gateway belongs to

    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 Extra-large, Large, Medium, or Small. For details about specifications, see section "NAT Gateway Specifications" in the NAT Gateway Service Overview.

    Description

    Supplementary information about the private NAT gateway

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

    Table 2 Tag requirements

    Parameter

    Requirement

    Key

    • Cannot be left blank.
    • Must be unique for each NAT gateway.
    • Can contain a maximum of 36 characters.

    Value

    • Can contain a maximum of 43 characters.
  6. Click Create Now.