检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The destination cannot overlap with any subnet in the VPC. 0.0.0.0/0 Next Hop Type Type of the next hop NAT gateway Next Hop Set the next hop. The resources in the drop-down list box are displayed based on the selected next hop type.
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?
Procedure Go to the public NAT gateway list page. Click the name of the public NAT gateway. On the SNAT Rules tab, locate the SNAT rule you want to modify. Click Modify in the Operation column. In the displayed dialog box, modify type of the public IP address or description.
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 the name of the private NAT gateway. On the SNAT Rules tab, locate the SNAT rule you want to modify. Click Modify in the Operation column.
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.
URI DELETE /v2/{project_id}/nat_gateways/{nat_gateway_id}/snat_rules/{snat_rule_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Specifies the project ID. nat_gateway_id Yes String Specifies the public NAT gateway ID. snat_rule_id Yes String Specifies
URI DELETE /v2/{project_id}/nat_gateways/{nat_gateway_id}/dnat_rules/{dnat_rule_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Specifies the project ID. nat_gateway_id Yes String Specifies the public NAT gateway ID. dnat_rule_id Yes String Specifies
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.
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
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.
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.
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 transit IP address. network_interface_id No Array of strings Specifies the port ID of the resource that the NAT gateway is bound to.
A private NAT gateway is available. You have performed operations in Enabling Mutual Access Between Servers in Overlapping Subnets on the Cloud.
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.
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.
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?
Table 1 Parameter description Parameter Mandatory Type Description id No String Specifies the SNAT rule ID. limit No Integer Specifies the number of records on each page. tenant_id No String Specifies the project ID. nat_gateway_id No String Specifies the public NAT gateway ID. network_id