检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Figure 1 Searching for the NAT gateway Choose More > Delete in the Operation column to delete the NAT gateway. Ensure that the NAT gateway does not exist in the list.
Viewing Traces Scenarios CTS records the operations performed on NAT Gateway and allows you to view the operation records of the last seven days on the CTS console. This topic describes how to query these records. Procedure Log in to the management console.
Buy an EIP and a NAT gateway. Procedure Create VPCs. For details, see Creating a VPC. Ensure that the VPC CIDR blocks do not conflict with each other.
Prerequisites The billing mode of the public NAT gateway is pay-per-use. The yearly/monthly billing mode can be changed to pay-per-use only for public NAT gateways. Procedure Log in to the NAT Gateway console. Log in to the management console.
Yearly/Monthly: You pay upfront for the amount of time you expect to use the NAT gateway for. You will need to make sure your account has sufficient balance. Pay-per-use: You can start using the NAT gateway first and then pay as you go.
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.
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
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.
For example, if an IAM user wants to call an API to query NAT gateways, the user must be granted the permissions allowing for action nat:natGateways:list. Parent Topic: Permissions Policies and Supported Actions
Cost Composition NAT Gateway costs consist of costs of resources and resource packages, depending on the billing items of NAT gateways. For details, see Billing Items. Huawei Cloud Cost Center helps you manage resource costs with ease.
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.
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
What Is the Bandwidth of a Public NAT Gateway That Is Used by Servers to Access the Internet? How Do I Configure the Bandwidth? How Do I Resolve Packet Loss or Connection Failure Issues When Using a NAT Gateway?
List transitSubnet g:ResourceTag/<tag-key> nat:transitSubnetTags:list nat:natGateways:list Grants permission to query public NAT gateways. List gateway * g:EnterpriseProjectId - nat:natGateways:create Grants permission to create a public NAT gateway.
Gateway - Transit IP Address SNAT Rules of Private NAT Gateways DNAT Rules of Private NAT Gateways Private NAT Gateway Tags Transit IP Address Tags of Private NAT Gateways
Figure 5 Using multiple public NAT gateways together The system does not add a default route for a public NAT gateway. You need to add a route pointing to the public NAT gateway to the corresponding route table. Each public NAT gateway has an associated route table.
Log in to the management console and choose Networking > NAT Gateway. The NAT gateway list is displayed. Click the icon shown in the figure below to copy the NAT gateway ID. Figure 1 Copying the NAT gateway ID On the top menu bar, choose Billing & Costs > Bills.
This section describes the billing rules for yearly/monthly public NAT gateways.
The private NAT gateway cannot be deleted because it has rules. Delete a private NAT gateway after deleting all its rules. 400 NAT.1204 This vpc at most have %s private nat gateway. The maximum number of private NAT gateways in the VPC has been reached.