检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Step 5: Configure a NAT Gateway Create a NAT gateway. Log in to the console and search for NAT Gateway in the Service List. The Public NAT Gateways page of the network console is displayed.
(Optional) To delete a NAT gateway, click Delete >> next to Delete NAT Gateway. On the page displayed, locate the NAT gateway to delete, and choose Operation > Delete in the Operation column. Delete related resources that are not in use as required.
Solution Configure the ECS host to access the public network by using one of the following solutions: Applying for a NAT gateway Assigning an EIP and binding it to an ECS Having an ECS without a public IP address access the Internet Parent topic: FAQs About ServiceStage
You can also configure a NAT gateway for the backend servers so that they can share an EIP to access the Internet. Parent topic: Load Balancers
You will be charged for using NAT to access the Internet. For details, see Billing (Public NAT Gateway). The administrator can log in to the Huawei Cloud official website and choose Billing & Costs > Bills on the top of the page to view the fee details.
Gateway Pay-per-use: $2.44 USD Region: AP-Bangkok Billing Mode: Pay-per-use Specifications: Small Required Duration: 1 day 73.14 USD Total $233.34 USD
The VPC is being used by ELB (either dedicated or shared load balancers), NAT Gateway, VPC Endpoint, or DCS. For more constraints on using enterprise router, see Notes and Constraints.
Unbinding an EIP from an ECS, BMS, or Virtual IP Address Unbinding an EIP from a NAT Gateway Unbinding an EIP from a Load Balancer Unbinding a single EIP Go to the EIP list page.
When type is nat, the value a NAT gateway ID. When type is peering, the value is a VPC peering connection ID. When type is vpn, the value is a VPN ID. When type is dc, the value is a Direct Connect connection ID. When type is cc, the value is a Cloud Connect connection ID.
Gateway Public NAT gateway EVS Volume Contains Cloud Backup and Recovery Vaults isAttachedTo ECS Cloud server BMS Cloud server Cloud Backup and Recovery Vaults HECS HECS IMS Image isAssociatedWith ECS Cloud server BMS Cloud server HECS HECS NAT Gateway Public NAT gateway isAttachedTo
For example: The VPC route table of an ECS has a custom route with 0.0.0.0/0 as the destination and NAT gateway as the next hop.
For example: The VPC route table of an ECS has a custom route with 0.0.0.0/0 as the destination and NAT gateway as the next hop.
You can easily bind an EIP to an ECS, BMS, virtual IP address, NAT gateway, or load balancer, enabling immediate Internet access.
- NAT Gateway NAT Gateway enables servers in on-premises data centers or VPCs connected by a cloud connection to access the Internet or provide Internet-accessible services.
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.
Scenario 3: Unbinding an EIP from a NAT Gateway and Binding a New EIP to the NAT Gateway Assign an EIP by referring to 2. If you already have an EIP that you require, skip this step. Modify an SNAT rule. For details, see Modifying an SNAT Rule.
You can easily bind an EIP to an ECS, BMS, virtual IP address, load balancer, or NAT gateway, enabling immediate Internet access.
The EIP can be used by only one cloud resource, such as a NAT gateway, an ECS, or a load balancer. Generally, if all EIPs need to access the Internet simultaneously, dedicated bandwidths are recommended preferentially. How Do I Use Dedicated Bandwidths?
Configuring an Access Control Policy Configuring Protection Rules to Block or Allow Internet Border Traffic Configuring Protection Rules to Block or Allow VPC Border Traffic Configuring Protection Rules to Block or Allow NAT Gateway Border Traffic Example 1: Allowing the Inbound Traffic
Viewing and Deleting Resources in a Subnet Delete the NAT gateway that is using the subnet and then delete the subnet. The subnet is being used by a NAT gateway. Delete the NAT gateway and then delete the subnet.