cloudalibaba-cloudalibaba-cloud-ecs

How to modify the parameters of ENI attached to the ECS Instance?


When I am trying to change the security group for the ENI attached to the ECS Instance, It shows you can`t change the parameter of Primary ENI. I understand the parameter of the primary ENI cannot be changed. Is there any workaround available? Can I able to add new ENI as primary?


Solution

  • You can modify attributes of a secondary ENI, but not the primary ENI, of an instance. You can modify the following attributes of an ENI:

    You can modify attributes of an ENI when it is in the Available or the InUse status. This document describes how to modify attributes of an ENI in the ECS console.

    To modify attributes of an ENI, follow these steps:

    1. Log on to the ECS console.
    2. In the left-side navigation pane, selectNetworks & Security > Network Interfaces.
    3. Select a region.
    4. Find an ENI, and in the Actions column, click Modify.
    5. In the Modify dialog box, modify the following optional configurations:
      • Network Interface Name: Specify a new name for the selected ENI.
      • SecurityGroup: Select more security groups for the ENI, or remove security groups. Retain at least one security group.
      • Description: Give a brief description for the ENI. After you finish the modification, click OK.

    Alibaba Cloud Official Documentation Available Here