not able to delete network interfaces linked with dead

0

Hello,

I'm not able to delete network interfaces which are still linked to dead EC2 instances: I have a "Network interface is currently in use." error message; it concerns the following ones:

  • eni-09ed4eced1fe1524e
  • eni-0c285e58524faf501

Could you please help ?

demandé il y a 2 ans277 vues
1 réponse
0
Réponse acceptée

Generally you should not post the IDs of your ENI on re:Post because this is a public forum.

That said, you do want to ensure you know what you are doing and not deleting ENIs that are needed by your application.

If you do need to delete an ENI, that's say from a failed instance, you will be able to use the

aws ec2 detach-network-interface --attachment-id <VALUE> --force

CLI command. [1]

Jason_S
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions