All Products
Search
Document Center

Elastic Compute Service:Managed ENIs

Last Updated:Apr 27, 2026

Grant Alibaba Cloud services lifecycle control over their ENIs to prevent accidental operations and ensure service availability.

Overview

Managed ENIs are controlled by Alibaba Cloud services. You can view managed ENIs in the ECS console or other service consoles, but cannot modify them.

Note

To create a managed ENI:

After you use STS to grant permissions to an Alibaba Cloud service, the service calls the CreateNetworkInterface operation to create an ENI. The created ENI is managed by that service.

Call the DescribeNetworkInterfaces operation and check ServiceManaged and Description in the response to determine whether an ENI is managed.

Note

For a managed ENI, ServiceManaged is true and Description contains the name of the managing service.

API permissions for managed ENIs

You can only query managed ENIs through API. Attempts to manage a managed ENI return the InvalidOperation.EniServiceManaged error. The following table lists API permissions for your Alibaba Cloud account and for the Alibaba Cloud service that created the managed ENI.

API

API operation

Your account

Creating service

DescribeNetworkInterfaces

Queries ENIs.

Yes

Yes

DeleteNetworkInterface

Deletes an ENI.

No

Yes

ModifyNetworkInterfaceAttribute

Modifies ENI attributes, such as the name, description, and security groups.

No

Yes

AttachNetworkInterface

Attaches an ENI.

No

Yes

DetachNetworkInterface

Detaches an ENI.

No

Yes

AssignPrivateIpAddresses

Assigns one or more secondary private IP addresses to an ENI.

No

Yes

UnassignPrivateIpAddresses

Unassigns one or more secondary private IP addresses from an ENI.

No

Yes

AssignIpv6Addresses

Assigns one or more IPv6 addresses to an ENI.

No

Yes

UnassignIpv6Addresses

Unassigns one or more IPv6 addresses from an ENI.

No

Yes

AssociateEipAddress

Associates an EIP with an ENI.

No

Yes

UnassociateEipAddress

Disassociates an EIP from an ENI.

No

Yes

AssociateEipAddressBatch

Associates multiple EIPs with an ENI.

No

Yes

AllocateIpv6InternetBandwidth

Purchases Internet bandwidth for an IPv6 address.

No

Yes

ModifyIpv6InternetBandwidth

Modifies IPv6 Internet bandwidth.

Yes

Yes

DeleteIpv6InternetBandwidth

Deletes IPv6 Internet bandwidth.

No

Yes