Updated on 2024-04-18 GMT+08:00

Changing an EIP

Scenarios

You can change the EIP bound to your ECS as needed.

Currently, the EIP bound to the ECS cannot be directly replaced. You need to unbind the EIP first and then bind a new one to the ECS.

If there are no available EIPs, purchase one first.

Restrictions

To avoid unintended actions, the system caches the EIP that you released for 24 hours. If you change the EIP within this period, the system preferentially assigns this EIP.

If you want to purchase a new EIP and bind it to your ECS, you are advised to purchase one first before unbinding the original EIP.

For details, see What Is the EIP Assignment Policy?

Prerequisites

An EIP has been assigned.

For details, see Assigning an EIP.

Unbinding an EIP

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Locate the row containing the target ECS. Click More in the Operation column and select Manage Network > Unbind EIP.
  4. Confirm the displayed information and click Yes.

    Unreleased EIPs will continue to be billed. To stop the EIPs from being billed, release them.

Binding a New EIP

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Locate the row containing the target ECS. Click More in the Operation column and select Manage Network > Bind EIP.
  4. Select the desired EIP and click OK.

    If no EIP is available in the current region, the EIP list is empty. In such a case, purchase an EIP and then bind it.

    Figure 1 Binding a new EIP