All Products
Search
Document Center

Elastic Compute Service:Delete a secondary ENI

Last Updated:Oct 14, 2024

You can delete a secondary elastic network interface (ENI) that is no longer needed to prevent resource waste. This topic describes how to delete a secondary ENI.

Prerequisites

The secondary ENI that you want to delete is in the to be bound state.

If the secondary ENI that you want to delete is bound to an Elastic Compute Service (ECS) instance, the secondary ENI is unbound from the instance. For more information, see Unbind a secondary ENI.

Usage notes

Important
  • After you enable the release with instance feature for a secondary ENI, if the secondary ENI is not unbound from the instance, the secondary ENI is deleted along with the instance when the instance is released.

  • If a secondary ENI is deleted, the secondary ENI is automatically removed from all security groups and all private IP addresses of the secondary ENI are automatically released.

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Network & Security > Elastic Network Interfaces.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. Find the required ENI that is in the Available state and choose 更多 > Delete in the Actions column.

  5. In the message that appears, click OK.

    On the Elastic Network Interfaces page, refresh the ENI list. If the ENI is deleted, the ENI is no longer displayed.

References

You can call the DeleteNetworkInterface operation to delete an ENI.