Home >Operation and Maintenance >Linux Operation and Maintenance >How to detach the elastic network card from the instance when the instance is stopped or running
The content of this article is about how to detach the elastic network card from the instance when the instance is stopped or running. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. help.
Detach the elastic NIC from the instance
You can detach the secondary NIC from the instance, but you cannot detach the primary NIC.
Restrictions
When detaching the secondary network card from an instance, there are the following restrictions:
The secondary network card must be bound state.
The instance must be in stopped or running state.
Prerequisite
Your elastic network card must be attached to an instance. Before detaching an ENI from an instance, the instance must be in Stopped or Running state.
Operation steps
Follow the following steps to detach the secondary network card from the instance:
Log in to the ECS management console.
In the left navigation bar, select Network and Security > Elastic Network Adapter.
Select a region.
Find the bound network card, and in the operation column, click Unbind the instance.
In the Unbind Instance dialog box, confirm the information and click OK.
Refresh the list. When the status of the elastic network card is displayed as available, it means that the elastic network card has been successfully detached from the instance.
Follow-up operations
You can perform the following operations on the available elastic network cards:
Attach the elastic network card to other instances
Delete elastic network card
Modify elastic network card properties
The above is the detailed content of How to detach the elastic network card from the instance when the instance is stopped or running. For more information, please follow other related articles on the PHP Chinese website!