Deleting a Network Interface
Scenarios
This section describes how to delete a network interface.
Notes and Constraints
- A primary network interface is created together with an instance by default, and cannot be detached from the instance. If you want to delete a primary network interface, you need to delete its instance first, which will also delete the primary network interface.
- If you want to delete an extended network interface that is attached to an instance, detach the interface from the instance first.
- Deleting a network interface will also delete its supplementary network interfaces.
- Deleting a network interface will also unbind its EIP. You can choose to release the EIP if needed.
If you do not release the EIP, the EIP will continue to be billed, but you can still bind it to other cloud resources.
- If a network interface has resources associated, deleting the interface will also delete any rules for associated resources that reference it.
For example, if the next hop of a custom route in a VPC route table is a network interface, deleting the network interface will also delete the route.
Procedure
- Log in to the management console.
- Click in the upper left corner and choose Networking > Virtual Private Cloud.
The Virtual Private Cloud page is displayed.
- In the navigation pane on the left, choose Virtual Private Cloud > Network Interfaces.
- Locate the row that contains the network interface, click More in the Operation column, and click Delete.
A confirmation dialog box is displayed.
- Confirm the information and click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.