检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Binding a Global Internet Gateway to a Global EIP Scenarios This section describes how to bind a global internet gateway to a global EIP.
gateway deployed. 1 EIP EIP-IPv4&IPv6 When you create this IPv4 EIP, enable the IPv6 EIP function. 1 NAT gateway NAT-Test This public NAT gateway will have an EIP bound. 1 VPN gateway VPN-GW-Test This VPN gateway is an egress gateway in a VPC and allows reliable and encrypted communications
EIPs can be bound to or unbound from ECSs, BMSs, virtual IP addresses, NAT gateways, and load balancers.
A dedicated bandwidth can only be used by one EIP that is bound to one cloud resource, such as an ECS, a NAT gateway, or a load balancer. A shared bandwidth can be shared by multiple pay-per-use EIPs.
You can use public NAT gateways to enable ECSs in the VPC to share an EIP to access or be accessed by the Internet. For details, see Using a Public NAT Gateway to Enable Servers to Share One or More EIPs to Access the Internet. Pay-per-use EIPs can be migrated across accounts.
Unbinding a Global Internet Gateway from a Global EIP Scenarios This section describes how to unbind a global internet gateway from a global EIP.
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.
Notes and Constraints Each VPC can only have one global internet gateway attached. Procedure Go to the global internet gateway list page. In the upper right corner of the page, click Create Global Internet Gateway. The Create Global Internet Gateway is displayed.
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.
If you access to the Internet using an EIP but with no DNAT rules configured, external users cannot directly access the public network address of the NAT gateway through the Internet, ensuring ECS security. Figure 4 NAT gateway
In the global internet gateway list, search for or locate the target global internet gateway. Change the name of the global internet gateway. Deleting a Global Internet Gateway Go to the global internet gateway list page.
How to Use Global Internet Gateways Creating a Global Internet Gateway Binding a Global Internet Gateway to a Global EIP Parent Topic: Basic Concepts
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.
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.
Advantages EIP Advantages Flexibility EIPs can be flexibly bound to or unbound from ECSs, BMSs, NAT gateways, load balancers, or virtual IP addresses. EIP bandwidths can be scaled according to service changes.
You can use public NAT gateways to enable the ECSs in the VPC to share an EIP to access or be accessed by the Internet. For more information, see the NAT Gateway User Guide. Parent topic: Product Consultation
Binding an EIP to an ECS Binding an EIP to a BMS NAT Gateway Use a public NAT gateway to enable servers to share one or more EIPs to access the Internet.
Binding a Global Internet Gateway to a Global EIP Figure 2 Binding a global internet gateway to a global EIP Table 1 Process for binding a global internet gateway to a global EIP No.
Related Services NAT Gateway, ECS, BMS and VPC Figure 2 EIP used by a NAT gateway Binding an EIP to a Load Balancer A high-availability load balancing network can be built with the help of EIP.
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?