Help Center/ Elastic IP/ User Guide/ Elastic IP/ Unbinding an EIP from an Instance
Updated on 2024-08-02 GMT+08:00

Unbinding an EIP from an Instance

Scenarios

Unbind an EIP from an instance, if:

  • Your instance does not need to use an EIP.

    If you do not release the EIP after unbinding it, the EIP will be billed. For details, see Releasing or Unsubscribing an EIP.

  • You want to bind the EIP to another instance.

Notes and Constraints

  • An EIP cannot be unbound if its server is suspected of violations and the EIP is frozen by the national supervision department.

Unbinding an EIP from an ECS, BMS, or Virtual IP Address

Unbinding a single EIP

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner and choose Networking > Elastic IP.
  4. On the displayed page, locate the row that contains the target EIP, and click Unbind in the Operation column.

    A confirmation dialog box is displayed.

  5. Click Yes in the displayed dialog box.

    In the EIP list, the target EIP has no associated instance.

Unbinding multiple EIPs at a time

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner and choose Networking > Elastic IP.
  4. On the displayed page, select the EIPs to be unbound.
  5. In the upper left corner of the EIP list, click Unbind.

    A confirmation dialog box is displayed.

  6. Click Yes in the displayed dialog box.

    In the EIP list, the target EIPs have no associated instances.

Unbinding an EIP from Other Instances

Unbinding an EIP from a NAT gateway

You can unbind an EIP from a NAT gateway by deleting the SNAT and DNAT rules. For details, see Deleting a DNAT Rule and Deleting an SNAT Rule.

Unbinding an EIP from a load balancer

You can unbind an EIP from a load balancer on the ELB console. For details, see Binding or Unbinding an EIP.

If a pay-per-use EIP is unbound from an instance, the EIP will be billed to keep it allocated to your account unless it is released.

If an EIP billed by bandwidth is unbound from an instance, the bandwidth will continue to be billed.

If you have any questions about the billing, see Why Am I Still Being Billed After My EIP Has Been Unbound or Released?