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 Risposte
0
con risposta 2 anni fa
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
TECNICO DI SUPPORTO
con risposta 2 anni fa
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.

con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande