How to remove network interfaces?


I created 3 EC2 instances within 3 subnets. Meanwhile, I created 3 network interfaces in the subnets for the 3 EC2 instances. I terminated the 3 EC2 instances. However, the 3 subnets and network interfaces can not be deleted because their status is in use.

How to remove them?

2 Answers
answered a year ago
  • It does not work. When I attempted to detach the network interface, there is an error--The network interface can't be detached, Network interface is in use by another service.


Which was the use case for these ENIs? Did you use them to connect to any other service? Can you review in the Network interface ID Under Description you can see which is the service is attached. It seems you have any other service attached to it, first you need to find that service before being able to delete the ENI.

profile pictureAWS
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions