检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
The default value is an empty string. tags Array of Tag objects Specifies the list of tags. gateway_id String Specifies the ID of the private NAT gateway associated with the transit IP address. enterprise_project_id String Specifies the ID of the enterprise project that is associated
Table 3 Description of the snat_rule field Parameter Type Description id String Specifies the SNAT rule ID. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. network_id String Specifies the network ID used by the SNAT rule. cidr
Table 3 Description of the dnat_rule field Parameter Type Description id String Specifies the DNAT rule ID. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. port_id String Specifies the port ID of an ECS or BMS. private_ip String
Table 6 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.
The default value is an empty string. tags Array of Tag objects Specifies the list of tags. gateway_id String Specifies the ID of the private NAT gateway associated with the transit IP address. enterprise_project_id String Specifies the ID of the enterprise project that is associated
NAT gateway specifications.
The default value is an empty string. tags Array of Tag objects Specifies the list of tags. gateway_id String Specifies the ID of the private NAT gateway associated with the transit IP address. enterprise_project_id String Specifies the ID of the enterprise project that is associated
Figure 2 Buying an EIP Create a NAT gateway. For details, see Using a Public NAT Gateway to Enable Servers to Share One or More EIPs to Access the Internet. Click in the upper left corner and choose Networking > NAT Gateway in the expanded list.
Check whether there is a route whose next hop is the NAT gateway in the route list. The NAT gateway automatically creates a route 0.0.0.0/0 from the VPC to the NAT gateway to allow traffic from the VPC to the NAT gateway, as shown in Figure 1.
What Are the Differences Between Private NAT Gateways and Public NAT Gateways?
Buy a public NAT gateway. Go to the Buy Public NAT Gateway page. On the Buy Public NAT Gateway page, configure required parameters.
EIP configured for the NAT gateway purchased outside the Chinese mainland region.
Preparations: Creating a NAT Gateway and an EIP You have purchased a NAT gateway and an EIP. The specific procedure is as follows: Log in to the NAT Gateway console and click Buy Public NAT Gateway in the upper right corner. Configure parameters based on service requirements.
How Many Private NAT Gateways Can I in a VPC? You can create a maximum of 10 private NAT gateways in a VPC. Parent topic: Private NAT Gateways
NAT gateway You can directly jump to the target NAT gateway page. Click the NAT gateway name in the Networking Components area. The NAT gateway details page is displayed. Click to return to the NAT gateway list.
Table 1 Resource description Resource Description Quantity Cost NAT Gateway Protected resource. 1 For details about the billing modes and standards, see NAT Gateway Billing. Elastic IP (EIP) EIP bound to the NAT gateway.
If you want to bind a NAT gateway to an EIP, the NAT gateway must be in the same region as that of the EIP. After an EIP is bound to a NAT gateway, ECSs associated with this gateway can share the EIP to access the Internet or provide services accessible from the Internet.
Step 3: Configure an Alibaba Cloud NAT Gateway Create an Alibaba Cloud NAT gateway and configure SNAT and DNAT entries. For details, see Creating and Managing an Internet Public NAT Gateway.
For details, see Buying a Public NAT Gateway. Figure 2 Buying a public NAT gateway Table 1 Public NAT gateway creation parameters Parameter Description Region Region where the public NAT gateway is located. Select the region that the Kafka instance is in.
Deleting an ECS Public NAT gateway On the public NAT gateway console, locate the target public NAT gateway and delete it.