Cannot Delete Network Interface

0

I have a network interface that was attached to an instance. Once the instance was terminated, I tried to delete this network interface. The error was: "The network interface is currently in use." The interface was reported as available but also reported as attached to the old, dead instance. The network interface only has a static IP and is not associated to an Elastic IP. When I try to associate the network interface with a new instance, the error is: "An internal error has occurred." Any ideas how to force delete a network interface?

3개 답변
0
답변함 2년 전
0

Hello data-hyper,

You may wish to try forcing a detachment with the "--force" flag set on a detach-network-interface command as per these docs: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/detach-network-interface.html

As this issue relates to a specific resource under your account, I would recommend that you reach out to AWS Support for further assistance if the above recommendation does not resolve the issue.

AWS
지원 엔지니어
답변함 2년 전
0

I got an error trying to delete the network interface

aws ec2 detach-network-interface --force --attachment-id ela-attach-#########

An error occurred (OperationNotPermitted) when calling the DetachNetworkInterface operation: You are not allowed to manage 'ela-attach' attachments.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠