检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Enhanced (NAT Gateway+EIP) Billing Mode Pay-per-use - Network Select a VPC and a subnet. - NAT Gateway Name To allow cloud servers to access the Internet and save IP address resources, a high-performance NAT gateway is required.
Enabling NAT Mapping for Direct Connect Address Mapping Port Mapping Parent topic: Basic Configuration
Buying a public NAT gateway Click and choose Networking > NAT Gateway in the service list. Click Buy Public NAT Gateway. The Buy Public NAT Gateway page is displayed. Configure the parameters by referring to the parameter description in Buying a Public NAT Gateway.
If nat_map_type is set to HOST, the value is the access address. nat_ip No String NAT IP address. nat_port No String NAT port.
Querying NAT Mapping Configuration Items of a Tenant Function Queries NAT mapping configuration items of a tenant. Debugging You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
If multiple NAT gateways are created in the same VPC, ensure that the default route in the route table points to all NAT gateways. Check whether the default route in the route table points to all NAT gateways. If no, configure this. (Optional) Configure DNS forwarding.
(Optional) Disabling a NAT Multiple SNAT and DNAT rules can be created for a NAT, and the NAT can be disabled only after all related SNAT and DNAT rules are disabled. Determine whether to disable the NAT as required.
NAT gateway specifications.
"Effect": "Allow", "Action": [ "workspace:*:get*", "workspace:*:list*", "workspace:*:export*", "ims:images:get", "ims:images:list", "ims:quotas:get", "nat
Public/Private NAT gateways are billed based on the public NAT gateway type and service duration. For pricing details, see NAT Gateway Price Calculator. Windows images are third-party images provided in the Marketplace. A portal is provided for you to select public images.
Checking whether the network configuration is correct Check whether the network configuration is correct by referring to Public NAT Gateway Troubleshooting. If the network configuration is correct, go to 6.
Click NAT Mapping Settings on the right of Direct Connect Access Address. The NAT Mapping Settings page is displayed.
Internet Access Management Enabling Economical Internet Access (EIP) Enabling Enhanced Internet Access (NAT Gateway+EIP) Disabling Internet Access
If the ID is specified, the corresponding NAT gateway is used. If not, create one. nat_name No String NAT gateway name, which defaults to nat-workspace. eip_name No String EIP name, which defaults to eip-workspace.
NATNetname-workspace_subnet01 NAT Gateway Specification Specifications of the public NAT gateway. If an existing NAT gateway is used, you do not need to configure this parameter. To create an NAT gateway, you need to configure the NAT gateway specifications.
Mapping Configuration Items of a Tenant Modifying NAT Mapping Configuration Items of a Tenant Parent topic: Workspace APIs
(Optional) Deleting a NAT gateway: Click Delete >>. In the NAT gateway list, locate the NAT gateway to delete, and click Delete in the Operation column. If you want to perform this operation, enter DELETE or click Auto Enter. Click OK.
Table 5 InternetInfo Parameter Type Description vpc_name String VPC name. subnet_id String Subnet ID. subnet_name String Subnet name. nat_id String NAT gateway ID. nat_name String NAT gateway name. eip String EIP. created_at String Creation time. status String Status. enterprise_project_id
Click NAT Mapping Settings on the right of Direct Connect Access Address. The NAT Mapping Settings page is displayed. Determine whether to enable NAT mapping. : not enabled : enabled After NAT mapping is enabled, select the IP Address Mapping tab and click Add.
Buying a public NAT gateway Click and choose Networking > NAT Gateway in the service list. Click Buy Public NAT Gateway to go to the Buy Public NAT Gateway page. Configure the parameters by referring to Purchasing a Public NAT Gateway.