检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
API Overview You can use all NAT Gateway functions through NAT Gateway APIs.
Parent Topic: Public NAT Gateway Tags (V3)
Public NAT Gateway: All regions Adding an SNAT Rule (Public NAT Gateway) Adding a DNAT Rule (Public NAT Gateway) Enterprise Project NAT Gateway resources can be managed by enterprise project.
Table 1 NAT Gateway billing items Billing Item Description Billing Mode Formula NAT gateway specifications The NAT gateway performance is determined by the maximum number of SNAT connections supported.
What Should I Do If My ECS Fails to Access a Server on the Public Network Through a Public NAT Gateway? TCP connection may fail when an ECS accesses a server on the public network through an SNAT rule.
Checking Whether There Is a Route Pointing to the Current NAT Gateway Check whether there is a route pointing to the public NAT gateway in the route table associated with the VPC where the public NAT gateway is located.
Progressive Knowledge | HUAWEI CLOUD
Constraints You can create an SNAT rule only when status of the NAT gateway is ACTIVE and admin_state_up of the NAT gateway administrator is True. Calling Method For details, see Calling APIs.
Constraints You can create a DNAT rule only when status of the NAT gateway is ACTIVE and admin_state_up of the NAT gateway administrator is True. Specify either port_id or private_ip at a time.
Constraints You can create DNAT rules in batches only when status of the NAT gateway is ACTIVE and admin_state_up of the NAT gateway administrator is True. Specify either port_id or private_ip at a time.
You can create a DNAT rule only when status of the NAT gateway is ACTIVE and admin_state_up of the NAT gateway administrator is True. URI POST /v2.0/snat_rules Request Table 1 lists the request parameter.
Table 1 Renewing a yearly/monthly public NAT gateway Method Description Manually renewing a yearly/monthly public NAT gateway You can renew a yearly/monthly NAT gateway on the console anytime before it is automatically deleted.
You can create a DNAT rule only when status of the NAT gateway is ACTIVE and admin_state_up of the NAT gateway administrator is True. Specify either port_id or private_ip at a time.
Table 1 Public NAT gateway operations Operation Resource Type Trace Creating a public NAT gateway natgateway createNatGateway Modifying a public NAT gateway natgateway updateNatGateway Deleting a public NAT gateway natgateway deleteNatGateway Creating a DNAT rule dnatrule createDnatRule
Creating Alarm Rules Scenarios You can set NAT gateway alarm rules to customize the monitored objects and notification policies. Then, you can learn NAT gateway running status in a timely manner. Procedure Log in to the management console.
Step 3: Check the Default Route Scenarios After the public NAT gateway is purchased, go to the route table list, locate the default route table of the VPC where you deploy the public NAT gateway, and check whether there is a default route with the next hop set to the public NAT gateway
If you plan to access NAT gateways through an API, ensure that you are familiar with NAT gateway concepts. For details, see Service Overview. API Calling Welcome to NAT Gateway API Reference.
Notes and Constraints Public NAT Gateway When using a public NAT gateway, note the following: Common restrictions Rules on one public NAT gateway can use the same EIP, but rules on different NAT gateways must use different EIPs.
Overview A single NAT gateway supports up to one million SNAT connections and 20 Gbit/s of bandwidth. If one NAT gateway cannot meet your requirements, you can use multiple NAT gateways. This topic describes how to deploy multiple public NAT gateways.
K-O N NAT Gateway NAT gateways provide the network address translation (NAT) function with 10 Gbit/s bandwidth for servers in a Virtual Private Cloud (VPC), such as Elastic Cloud Servers (ECSs), Bare Metal Servers (BMSs), and Workspace desktops, or servers that connect to a VPC through