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 ?

gefragt vor 2 Jahren277 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen