All Products
Document Center

Elastic Compute Service:Delete a secondary ENI

Last Updated:Sep 20, 2023

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.


  • The secondary ENI that you want to delete is in the Available state.

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


    When an instance is released, the ENIs that are bound to the instance are deleted.


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


Delete a secondary ENI in the ECS console

  1. Log on to the ECS console.

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

  3. In the upper-left corner of the top navigation bar, select a region. 地域

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

  5. In the message that appears, click OK.

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

Delete a secondary ENI by calling API operations

Configure the NetworkInterfaceId parameter for the DeleteNetworkInterface operation and then call the operation to delete an ENI.