检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
When you unbind a global EIP from an ECS, the system automatically unbinds the global internet gateway of the VPC that ECS belongs to from the global EIP.
An EIP cannot be shared by multiple ECSs, and the EIP and ECS must be in the same region. 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.
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.
Scenario 1: Unbinding an EIP from an ECS and Binding a New EIP to the ECS Unbind an EIP. Go to the EIP list page. On the displayed page, locate the row that contains the target EIP, and click Unbind. Click Yes. Assign an EIP.
The network has been configured for the ECSs as follows: Flavor: Any ECS flavor that supports the IPv6 network. For details, see section "x86 ECS Specifications and Types" in the Elastic Cloud Server User Guide. VPC and Subnet: IPv6-enabled subnet and VPC.
What Are the Priorities of the Custom Route and EIP If Both Are Configured for an ECS to Enable the ECS to Access the Internet?
How Do I Access an ECS with an EIP Bound from the Internet? Can I Bind an EIP of an ECS to Another ECS? Can I Bind an EIP to a Cloud Resource in Another Region? Can Multiple EIPs Be Bound to an ECS? What Are the Differences Between Unbinding and Releasing an EIP?
Figure 2 ELB Accessing the Internet Single ECS accesses the Internet. When an ECS needs to access the Internet, you can bind an EIP to the ECS so that the ECS can access the Internet. Huawei Cloud allows your EIP to be billed on a pay-per-use basis.
You can configure the public bandwidth when creating an ECS or bind an EIP to an ECS after the ECS is created. Public bandwidth is classified into inbound bandwidth and outbound bandwidth.
Application Examples Binding an EIP to an ECS Unbinding an EIP from an ECS Assigning an EIP with a Specific Shared Bandwidth
EIP Configuration Examples Binding a Premium BGP EIP to an ECS to Enable Internet Access Changing an EIP for an Instance Binding an EIP to the Extended Network Interface of an ECS to Enable Internet Access Parent Topic: Elastic IP
To enable an ECS to communicate with the Internet through a global EIP, you also need to bind a global internet gateway to the global EIP.
Figure 1 EIP and other services Table 1 EIP and other services Reference EIP and Other Services Reference Elastic Cloud Server (ECS) Bare Metal Server (BMS) Bind an EIP to a cloud resource to allow the resource to access the Internet.
To bind an instance to an EIP: If the instance is an ECS: The ECS must be in the running or stopped status. The ECS must be in the same region as that of the EIP. The ECS has no EIP bound to it.
Global EIP Overview Global Internet Gateways After a global EIP is bound to an ECS, a global internet gateway is required to connect the VPC of the ECS to the global EIP so that the ECS can access the Internet through the global EIP.
More Connectivity What Are the Priorities of the Custom Route and EIP If Both Are Configured for an ECS to Enable the ECS to Access the Internet? How Do I Handle the EIP Connection Failure?
You need to unbind the EIP from the ECS before binding it to another cloud resource in the same region. The EIP and the ECS must be in the same region.
Public services, such as Elastic Cloud Server (ECS), Elastic Volume Service (EVS), Object Storage Service (OBS), Virtual Private Cloud (VPC), Elastic IP (EIP), and Image Management Service (IMS), are shared within the same region.
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?
You can specify a global region to assign a global EIP, and bind a global EIP to an instance (such as an ECS or a load balancer) in any region on the cloud. Flexibility Global EIP binding and unbinding take effect immediately.