Help Center/ Elastic IP/ User Guide (ME-Abu Dhabi Region)/ FAQs/ Product Consultation/ How Do I Unbind an EIP from an Instance and Bind a New EIP to the Instance?
Updated on 2024-04-18 GMT+08:00

How Do I Unbind an EIP from an Instance and Bind a New EIP to the Instance?

Scenario 1: Unbinding an EIP from an ECS and Binding a New EIP to the ECS

  1. Unbind an EIP.
    1. Log in to the management console.
    2. Click in the upper left corner and choose Network > Elastic IP.
    3. On the displayed page, locate the row that contains the target EIP, and click Unbind.
    4. Click Yes.
  2. Assign an EIP.

    If you already have an EIP that you require, skip this step.

    1. Log in to the management console.
    2. Click in the upper left corner and choose Network > Elastic IP.
    3. On the displayed page, click Assign EIP.
    4. Set the parameters as prompted.
    5. Click Next.
  3. Bind the new EIP to the ECS.
    1. Log in to the management console.
    2. Click in the upper left corner and choose Network > Elastic IP.
    3. On the EIPs page, locate the row that contains the target EIP, and click Bind.
    4. Select the desired ECS.
    5. Click OK.
  4. Release the EIP that is unbound.

    If an unbound EIP is no longer required, you can release it.

    1. Log in to the management console.
    2. Click in the upper left corner and choose Network > Elastic IP.
    3. In the EIP list, locate the row that contains the EIP, and choose More > Release in the Operation column.
    4. Click Yes.

Scenario 2: Unbinding an EIP from a Load Balancer and Binding a New EIP to the Load Balancer

  1. Unbind an EIP.
    1. Log in to the management console.
    2. Click Service List. Under Network, click Elastic Load Balance.
    3. In the load balancer list, locate the target load balancer and choose More > Unbind EIP in the Operation column.
    4. Click Yes.
  2. Assign an EIP by referring to 2.

    If you already have an EIP that you require, skip this step.

  3. Bind the new EIP to the load balancer.
    1. Log in to the management console.
    2. Click Service List. Under Network, click Elastic Load Balance.
    3. In the load balancer list, locate the target load balancer and choose More > Bind EIP in the Operation column.
    4. In the Bind EIP dialog box, select the EIP to be bound and click OK.
  4. Release the EIP that was replaced. For details, see 4.

    If an unbound EIP is no longer required, you can release it.

Scenario 3: Unbinding an EIP from a NAT Gateway and Binding a New EIP to the NAT Gateway

  1. Assign an EIP by referring to 2.

    If you already have an EIP that you require, skip this step.

  2. Modify an SNAT rule.

    For details, see section "Modifying an SNAT Rule" of a public NAT gateway in NAT Gateway User Guide. In the EIP list, select the new EIP and deselect the existing EIP.

  3. Modify a DNAT rule.

    For details, see section "Modifying a DNAT Rule" of a public NAT gateway in the NAT Gateway User Guide.

  4. Release the EIP that was replaced. For details, see 4.

    If an unbound EIP is no longer required, you can release it.