Updated on 2023-11-28 GMT+08:00

Step 2: Buy a Public NAT Gateway

Scenarios

Buy a public NAT gateway.

Prerequisites

A VPC is available.

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 Networking, select NAT Gateway.

    The Public NAT Gateway page is displayed.

  4. On the displayed page, click Buy Public NAT Gateway.
  5. Configure required parameters. For details, see Table 1.
    Select the VPC and subnet you created in Step 1: Create a VPC and Two Subnets for VPC and Subnet.
    Table 1 Descriptions of public NAT gateway parameters

    Parameter

    Description

    Billing Mode

    Public NAT gateways are billed on a pay-per-use or yearly/monthly basis.

    Region

    The region where the public NAT gateway is located

    Name

    The name of the public NAT gateway

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

    VPC

    The VPC that the public NAT gateway belongs to

    The selected VPC cannot be changed after the public NAT gateway is purchased.

    Subnet

    The subnet of the VPC that the public NAT gateway belongs to

    The subnet must have at least one available IP address.

    The selected subnet cannot be changed after the public NAT gateway is purchased.

    The NAT gateway will be deployed in the selected subnet. The NAT gateway works for the entire VPC where it is deployed. To enable communications over the Internet, add SNAT or DNAT rules.

    Specifications

    The public NAT gateway specifications

    The value can be Small, Medium, Large, or Extra-large. To view more details about specifications, click Learn more on the page.

    Enterprise Project

    The enterprise project that the public NAT gateway belongs to

    If an enterprise project is configured for a public NAT gateway, the public NAT gateway belongs to this enterprise project. If you have not configured any enterprise project, select the default enterprise project.

    Description

    Supplementary information about the public NAT gateway

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

    After you configure the parameters, the public NAT gateway price will be displayed. To view more pricing details about public NAT gateways, click Pricing details on the page.

  6. Click Next. On the page displayed, confirm the public NAT gateway specifications.
  7. Click Submit to create a public NAT gateway.

    It takes 1 to 6 minutes to create a public NAT gateway.

  8. In the list, view the status of the public NAT gateway.