After EIPs are assigned, you can bind them to resources such as ECSs, virtual IP addresses, NAT gateways, and load balancers to allow them to communicate with the Internet.
If your instance no longer requires an EIP, you can unbind the EIP from it. To bind an EIP to a new instance, you need to first unbind it from the current one.
You can bind EIPs to resources such as ECSs, virtual IP addresses, NAT gateways, and load balancers to allow them to communicate with the Internet.
in the upper left corner and choose Network > Elastic IP.To bind an instance to an EIP:
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.
You can bind an EIP to a NAT gateway by configuring SNAT and DNAT rules for the gateway. Sections "Allowing a Private Network to Access the Internet Using SNAT" and "Allowing Internet Users to Access a Service in a Private Network Using DNAT" in the NAT Gateway User Guide.
If you want to bind a load balancer to an EIP, the load balancer must be in the same region as that of the EIP. Then, the load balancer can receive requests over the Internet. For details, see section "Binding or Unbinding an IPv4 EIP" in the Elastic Load Balance User Guide.
If an EIP is no longer required, you can unbind it from your instance.
Unbinding a single EIP
in the upper left corner and choose Network > Elastic IP.A confirmation dialog box is displayed.
In the EIP list, the target EIP has no associated instance.
Unbinding multiple EIPs at a time
in the upper left corner and choose Network > Elastic IP.A confirmation dialog box is displayed.
In the EIP list, the target EIPs have no associated instances.
You can unbind an EIP from a NAT gateway by deleting the SNAT and DNAT rules. For details, see sections "Deleting an SNAT Rule" and "Deleting a DNAT Rule" in the NAT Gateway User Guide.
You can unbind an EIP from a load balancer on the ELB console. For details, see section "Binding or Unbinding an IPv4 EIP" in the Elastic Load Balance User Guide.