This topic describes how to unbind a secondary elastic network interface (ENI) from your Elastic Compute Service (ECS) instance.
Prerequisites
Before you unbind an ENI, make sure that the following requirements are met:
- The ENI to be unbound is a secondary ENI. Primary ENIs cannot be unbound from instances.
- The instance from which you want to unbind an ENI is in the Stopped or Running state.
Note ENIs can be unbound from instances of specific instance types only when the instances are in the Stopped state. For more information about instance types, see the "Instance types for which instances must be in the Stopped state" section in Instance types for which instances must be in the Stopped state.
Background information
After ENIs are created, deleted, bound to instances, or unbound from instances, ENI operation events are triggered. You can use CloudMonitor to set notifications of ENI operation events to obtain the ENI operation results such as whether ENIs are created. For more information, see ENI operation event notifications.
Unbind an ENI on the Network Interfaces page
Unbind an ENI on the Security Groups page
What to do next
You can perform the following operations on an ENI that is in the available state: