Make sure that you have created a VPC.
Log on to the VPC console.
In the left-side navigation pane, click NAT Gateway.
On the NAT gateway page, click Create NAT Gateway.
Configure the NAT gateway according to the following information.
Configuration Description Region
Select the region of the NAT gateway.
Make sure the regions of the NAT gateway and VPC are the same.
Choose the VPC in which the NAT gateway is to be created. Once the gateway is created, you cannot change the VPC.
If you cannot find the expected VPC in the VPC list, troubleshoot as follows:
Check whether the VPC already has a NAT gateway configured. A VPC can be configured with only one NAT gateway.
Check whether a custom route entry, whose destination CIDR block is 0.0.0.0/0, already exists in the VPC. If so, delete this custom route entry.
Select a specification for the NAT gateway. The specification affects the maximum number of connections and the number of new connections allowed per second for the SNAT proxy service, but does not affect data throughput.
Note: The specification has no impact on the number of connections and throughput of the DNAT function. For more information, see NAT Gateway specifications.
Billing Cycle Display the billing cycle for NAT Gateway. For more information, see Billing.
Click Buy Now and complete the creation.
Note: The creation of a NAT gateway generally takes 1-5 minutes.
After the NAT gateway is created, the system automatically creates a DNAT table and an SNAT table.