Binding ENI to CVM

Last updated: 2021-09-01 11:57:09

    This document describes how to bind an ENI to a CVM.

    Note:

    • If your CVM is based on a CentOS 8.0, 7.8, 7.6, 7.5 or 7.4 image, you can directly refer to the “Method 1: tool-based configuration” section in the Configuring an ENI on a Linux CVM. Namely, you need to install the tool before binding an ENI. Then, the ENI information will be automatically configured in the ENI file, and the routing policy will be automatically distributed.
    • If your CVM is based on another type of image, bind an ENI to the CVM as instructed below. And then, configure it on a Linux CVM or a Windows CVM.

    Binding a CVM

    1. Log in to the VPC console.
    2. Choose IP and ENI > ENI in the left sidebar to go to the ENI list page.
    3. Locate the ENI you want to configure and bind to a CVM, and click Bind CVM in the Operation column.
      Note:

      • ENI can only be bound to CVMs in the same availability zone.
      • ENI cannot be bound to BM (Bare Metal) 2.0.
    4. In the pop-up window, select the CVM to be bound with the ENI and click OK.