Help Center/ Virtual Private Cloud/ User Guide (Ankara Region)/ Elastic Network Interface and Supplementary Network Interface/ Elastic Network Interface/ Detaching a Network Interface from an Instance or Unbinding an EIP from a Network Interface
Updated on 2024-04-15 GMT+08:00

Detaching a Network Interface from an Instance or Unbinding an EIP from a Network Interface

Scenarios

This section describes how to detach a network interface from an instance or unbind a network interface from an EIP.

Notes and Constraints

  • If Instance-dependent Deletion is enabled for a network interface, the network interface will be deleted if it is detached from its instance.
    • Deleting a network interface will also delete any supplementary network interfaces and VLAN sub-interfaces attached to it.
    • Deleting a network interface will also unbind its EIP.
  • If Instance-dependent Deletion is disabled for a network interface, the network interface will not be deleted if it is detached from its instance.

    If a network interface has an EIP bound, detaching the network interface from its instance will also unbind the EIP from the network interface.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose Virtual Private Cloud > Network Interfaces.
  4. In the network interface list, locate the row that contains the target network interface, and click Detach Instance or Unbind EIP in the Operation column.
  5. Click Yes.

    If you no longer need an EIP, you can release the EIP after unbinding it.