Help Center> Elastic IP> User Guide> EIP> Binding an EIP to Cloud Resources

Binding an EIP to Cloud Resources

Scenarios

After EIPs are assigned, you can bind them to resources such as ECSs, BMSs, virtual IP addresses, NAT gateways, and load balancers to allow them to access the Internet.

Procedure

Binding an EIP to an ECSs, a BMS, or a virtual IP address

  1. In the EIP list, locate the row that contains the target EIP, and click Bind.
  2. Select the instance to which you want to bind the EIP.
    Figure 1 Bind EIP
  3. Click OK.

Binding an EIP to a NAT gateway

After an EIP has been 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. For details, see Using SNAT to Access the Internet and Using DNAT to Provide Services Accessible from the Internet.

Binding an EIP to a load balancer

After an EIP is bound to a load balancer, the load balancer can receive requests over the Internet. For details, see Binding or Unbinding an EIP.