doc-exports/docs/natgw/umn/nat_qs_0003.html
Qin Ying, Fan 3a9c34b627 NATGW UMN 0930 version
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com>
Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
2022-10-04 06:59:58 +00:00

14 KiB

Step 2: Create a NAT Gateway

Scenarios

This section guides you on how to create a NAT gateway to enable your servers to access the Internet or to provide services available from the Internet.

Prerequisites

  • When creating a NAT gateway, you must specify its VPC, subnet, and type.
  • Ensure that the VPC does not have the default route.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Under Network, choose NAT Gateway.
  4. On the displayed page, click Create NAT Gateway.
  5. Configure the parameters as prompted. For details, see Table 1.
    Table 1 Parameter descriptions

    Parameter

    Description

    Region

    The region where the NAT gateway is located.

    Name

    The name of the NAT gateway. The name can include up to 64 characters and can include digits, letters, underscores (_), and hyphens (-).

    VPC

    The VPC that the NAT gateway belongs to. Select a VPC which is not used by any other NAT gateways and has no default route.

    You can change the VPC only when you are creating the NAT gateway. After the NAT gateway is created, you cannot modify the VPC.

    Subnet

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

    The subnet must have at least one available IP address.

    You can change the subnet only when you are creating the NAT gateway. After the NAT gateway is created, you cannot change the subnet.

    Type

    The type of the NAT gateway.

    The value can be Small, Medium, Large, and Extra-large. You can click Learn more on the page to view details about each type.

    Description

    Supplementary information about the NAT gateway. The description can contain up to 255 characters.

    Tag

    The NAT gateway tag, which consists of a key and value pair. You can add a maximum of 20 tags to each NAT gateway.

    The tag key and value must meet the requirements listed in Table 2.

    Table 2 Tag requirements

    Parameter

    Requirement

    Key

    • Cannot be left blank.
    • Must be unique for each NAT gateway.
    • Contains a maximum of 36 characters.
    • Can contain only the following character types:
      • Letter
      • Digits
      • Special characters, including hyphens (-) and underscores (_)

    Value

    • Can contain a maximum of 43 characters.
    • Can contain only the following character types:
      • Letter
      • Digits
      • Special characters, including hyphens (-) and underscores (_)
  6. Click Create Now. Confirm the NAT gateway information on the displayed page.
  7. If you do not need to modify the information, click Submit.

    It takes 1 to 5 minutes to create a NAT gateway.

  8. In the NAT gateway list, view the NAT gateway status. For details about the NAT gateway status, see Table 3.
    Table 3 NAT gateway status

    Status

    Description

    Running

    The NAT gateway is running.

    Creating

    The NAT gateway is being created.

    Updating

    The NAT gateway is being updated.

    Deleting

    The NAT gateway is being deleted.

    Frozen

    The NAT gateway has been frozen.

    Abnormal

    The NAT gateway is abnormal.