Help Center/ Elastic IP/ User Guide/ Elastic IP/ Unbinding an EIP from an Instance
Updated on 2024-11-12 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.

    For details, see Why My EIPs Are Frozen? How Do I Unfreeze My EIPs?

  • Your account will be frozen if it is in arrears and you cannot perform any operations on pay-per-use resources in the retention period. After you top up your account, you will be billed for expenditures generated by the pay-per-use EIPs. You can view the expenditures on the Overview page of the Billing Center.

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

Unbinding a single EIP

  1. Go to the EIP list page.
  2. 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.

  3. 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. Go to the EIP list page.
  2. On the displayed page, select the EIPs to be unbound.
  3. In the upper left corner of the EIP list, click Unbind.

    A confirmation dialog box is displayed.

  4. 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?