Skip to content

The network interface can't be deleted

0

Delete network interface

The network interface can't be deleted The selected network interface can't be deleted.

Network interface ID

Reason

eni-0410c51190259489f Network interface is currently in use and is of type "interface".

Cancel Delete

2 Answers
1

Hello.

Isn't that ENI used by another AWS resource?
For example, if ALB or NAT Gateway is being used, you need to delete ALB etc.
Therefore, please check if there are any remaining AWS services running on the VPC.
You can search for active services in AWS by following the steps "Confirm you have terminated all active resources" in the document below.
https://repost.aws/knowledge-center/check-for-active-resources

Also, please check the following documents as they may be helpful.
https://repost.aws/knowledge-center/troubleshoot-dependency-error-delete-vpc

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
1

Hi,

This script provided by AWS allows you to find resource still linked to an ENI: https://github.com/awslabs/aws-support-tools/tree/master/Lambda/FindEniMappings

You will be able then to find the attached resource and destroy it before destroying the ENI.

Best,

Didier

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years 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.