检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Procedure Go to the private NAT gateway list page. In the Transit IP Addresses tab, locate the transit IP address you want to release and click Release in the Operation column. Click OK.
In a public NAT gateway, DNAT enables servers in a VPC to share an EIP to provide services accessible from the Internet through IP address mapping or port mapping. For details, see Adding a DNAT Rule.
Constraints When you are creating a DNAT rule, status of the NAT gateway must be set to ACTIVE. Calling Method For details, see Calling APIs.
Step 4: Create a Route Table Scenarios Each public NAT gateway requires its unique route table. Create the second route table for the VPC. If the custom route table quota is insufficient, create a service ticket to increase the route table quota.
Return to the Public NAT Gateway page and check whether Billing Mode of the Public NAT gateway has changed to Yearly/Monthly. Parent topic: Billing Mode Changes
Identity Authentication and Access Control You can use Identity and Access Management (IAM) to control access to your NAT Gateway resources. IAM permissions define which actions on your cloud resources are allowed or denied.
Table 2 Common operations supported by each system-defined policy or role of NAT Gateway Operation NAT FullAccess NAT ReadOnlyAccess NAT Gateway Administrator Creating a NAT gateway √ x √ Querying NAT gateways √ √ √ Querying NAT gateway details √ √ √ Updating a NAT gateway √ x √ Deleting
If you change the billing mode of a public NAT gateway from pay-per-use to yearly/monthly, the new billing mode will take effect immediately. Private NAT gateway supports only the pay-per-use billing mode (hourly) and the billing mode cannot be changed.
Constraints When you are creating an SNAT rule, status of the NAT gateway must be set to ACTIVE. Calling Method For details, see Calling APIs.
NAT Gateway does not provide access control and can only forward traffic based on rules. To restrict access to some websites, you can configure security groups and ACL rules. For details, see Security Group Configuration Examples and Network ACL Configuration Examples.
Allowing VPCs to Share an EIP to Access the Internet Using Enterprise Router and NAT Gateway Overview Network and Resource Planning Creating Resources Configuring Networks Verifying Network Connectivity
For details, see NAT Gateway Pricing Details.
The NAT Gateway billing mode cannot be changed from yearly/monthly to pay-per-use on the NAT Gateway console. To do so, go to the Billing & Costs > Renewals page. Parent topic: Billing Mode Changes
For more information about NAT Gateway, see NAT Gateway Service Overview. Parent topic: EIP
Accessing the Public Network from a Container You can use NAT Gateway to enable containers in a VPC to access the public network.
Accessing Public Networks from a Container You can use NAT Gateway to enable containers in a VPC to access the public network.
Figure 3 Buying a NAT gateway Configure an SNAT rule and bind the EIP to the subnet. For details, see Adding an SNAT Rule. Log in to the NAT Gateway console. On the displayed page, click the name of the NAT gateway for which you want to add the SNAT rule.
PENDING_UPDATE: The public NAT gateway is being updated. PENDING_DELETE: The public NAT gateway is being deleted. INACTIVE: The public NAT gateway is unavailable. spec No Array of strings Specifies the public NAT gateway specifications.
Private NAT Gateways Querying Private NAT Gateways Updating a Private NAT Gateway Deleting a Private NAT Gateway Querying the List of NAT Gateway Specifications Supported by a Project Creating a Private NAT Gateway Querying Details About a Specified Private NAT Gateway Parent Topic
Public NAT Gateways Querying Public NAT Gateways Creating a Public NAT Gateway Deleting a Public NAT Gateway Updating a Public NAT Gateway Querying Details of a Public NAT Gateway Parent Topic: APIs of Public NAT Gateways