If you do not require an ENI, you can delete it. But you can only delete a secondary ENI, but not the primary ENI of an instance.

After an ENI is deleted,

  • the primary private IP address of the ENI is released automatically,
  • and the ENI is automatically removed from all associated security groups.

An ENI will be deleted along with an instance if you did not detach it from the instance before you release the instance.


You can only delete an ENI in the Available status.


If an ENI is attached to an instance, detach it from the instance.


To delete an ENI, follow these steps:

  1. Log on to the ECS console.
  2. In the left-side navigation pane, select Networks and Security > ENI.
  3. Select a region.
  4. Find an available ENI, and in the Actions column, click Delete.
  5. In the dialog box, click OK.

In the Network Interfaces page, refresh the table. If the ENI disappears, it is deleted successfully.