检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
This section describes how to view the used NAT Gateway quota and the total NAT Gateway quota in a specified region. How Do I View My Quotas? Log in to the management console. Click in the upper left corner and select the desired region and project.
Billing FAQs How Is Private NAT Gateway Billed? How Many Private NAT Gateways Can I Buy in a VPC?
Quota Querying the NAT Gateway Quota of a Tenant Parent Topic: API v2.0
API v2.0 Public NAT Gateways SNAT Rules DNAT Rules Public NAT Gateway Tags Quota API Version Parent Topic: Out-of-Date APIs
Monitoring Supported Metrics Creating Alarm Rules Viewing Metrics Viewing Metrics of Resources Using a NAT Gateway
Procedure Go to the private NAT gateway list page. On the Private NAT Gateways page, click Transit IP Addresses. Figure 1 Assign Transit IP Address Configure required parameters. For details, see Table 1.
Buy an EIP (EIP-Test) in the CN-Hong Kong region, buy a public NAT gateway (NAT-Test), and add an SNAT rule for each of the following CIDR blocks: For details, see Assigning an EIP and Binding It to an ECS and Adding an SNAT Rule.
The protocol number of TCP, UDP, and ANY are 6, 17, and 0, respectively. private_ip_address String Specifies the port IP address that the NAT gateway uses.
the transit IP address. network_interface_id No Array of strings Specifies the port ID of the resource that the NAT gateway is bound to.
NAT Gateway supports the following actions that can be defined in custom policies: Public NAT Gateways, including actions supported by all v2 APIs of the NAT gateway, such as creating, updating, and deleting NAT gateways.
The protocol number of TCP, UDP, and ANY are 6, 17, and 0, respectively. private_ip_address String Specifies the port IP address that the NAT gateway uses.
A private NAT gateway is available. You have performed operations in Enabling Mutual Access Between Servers in Overlapping Subnets on the Cloud.
Table 5 PrivateSnat Parameter Type Description id String Specifies the SNAT rule ID. project_id String Specifies the project ID. gateway_id String Specifies the private NAT gateway ID. cidr String Specifies the CIDR block that matches the SNAT rule.
This will ensure you learn about NAT Gateway resource issues in a timely manner, so you can handle faults quickly and prevent services from being interrupted. For details about supported metrics and how to create alarm rules, see Supported Metrics. Parent topic: Security
To enable servers in a VPC, regardless of if they are in the same AZ, to share an EIP, use a public NAT gateway. For more information, see NAT Gateway User Guide.
The time is in yyyy-mm-dd hh:mm:ss.SSSSSS format. nat_gateway_id No Array of strings Specifies the public NAT gateway ID. network_id No String Specifies the network ID used by the SNAT rule. Configure either network_id or cidr. source_type No Integer 0: VPC.
Supported range: 0 to 65535 nat_gateway_id String Specifies the public NAT gateway ID. global_eip_id String Specifies the global EIP ID.
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.
Table 4 PrivateSnat Parameter Type Description id String Specifies the SNAT rule ID. project_id String Specifies the project ID. gateway_id String Specifies the private NAT gateway ID. cidr String Specifies the CIDR block that matches the SNAT rule.
After the retention period ends, the NAT gateways will be released, and that data cannot be restored. Figure 1 Lifecycle of a pay-per-use NAT gateway For details about the grace period and retention period, see What Is a Grace Period of Huawei Cloud? How Long Is It?