1

I am trying to delete my vpc and I first need to delete my network interface. However, those cannot be deleted because they are still in use. I terminated all my ec2 instances and still, the interfaces are in use and cannot be detached even cannot be forced detached. They are of the type efs mount target.enter image description here Here is a view of the network interface

3
  • Suspect that if you want to delete the ENIs you first need to delete the related EFS mount targets. Commented Feb 11, 2020 at 0:52
  • @jarmod and how do you do that? Commented Oct 5, 2022 at 22:47
  • @koFTT see the accepted answer below. Commented Oct 5, 2022 at 23:00

1 Answer 1

5

Those interfaces are currently in-use and you cannot delete them directly.

  1. You can select each interface and check which resources are using right now. As I can see at the description part, EFS service and it's not related to EC2 services.
  2. Each EFS filesystem has a network interface (ENI) per its subnet for communication. If you want to remove those interfaces, you need to delete the EFS filesystem first.

EFSENIs

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.