If an elastic network interface (ENI) is no longer needed, you can delete it. This topic describes how to delete an ENI. Secondary ENIs can be deleted, whereas primary ENIs cannot.
Prerequisites
- The 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 has been unbound from the instance. For more information, see Unbind an ENI.
Note When an instance is released, the ENIs bound to the instance are deleted.
Background information
When an ENI is deleted, the following results occur:
- All private IP addresses of the ENI are automatically released.
- The ENI is removed from all security groups to which it was added.