Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of attaching elastic Nic ENI to the instance of proprietary network VPC type

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail the method of attaching elastic Nic ENI to proprietary network VPC type instances. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

AttachNetworkInterface

Description

The elastic Nic must be available (Available).

The instance must be in a running (Running) or stopped (Stopped) state.

The ENI can only be attached to an instance of VPC type and must be in the same VPC as the instance.

An elastic Nic can only be attached to one instance at the same time.

Multiple ENI can be attached to an instance at the same time. See ENI to check the number of ENI that can be attached to the specifications of each instance.

Because the VPC virtual switch cannot span the availability zone, the attached instance of the ENI must belong to the same availability zone as the switch where the ENI is located.

Request parameter

Return parameters

All are common return parameters. See common parameters.

Example

Request example

Https://ecs.aliyuncs.com/?Action=AttachNetworkInterface&RegionId=cn-hangzhou&NetworkInterfaceId=[networkInterfaceId]&InstanceId=AY121018033933eae8xxxxx&

Return the example

XML format

04F0F334-1335-436C-A1D7-6C044FExxxxx

JSON format

{"RequestId": "04F0F334-1335-436C-A1D7-6C044FExxxxx"}

Error code

The following are the error codes specific to this API. For more error codes, please visit the API error Center.

This is the end of the method of attaching the elastic Nic ENI to the proprietary network VPC type instance. I hope the above content can be helpful to you and learn more. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report