deleting vpc and network interface

0

how to delete vpc since it is connected to network interface ? Error in deleting network interface.

Anusha
asked 9 months ago243 views
3 Answers
0
Accepted Answer

Hello.

Deletion may fail if the ENI to be deleted is still being used by an AWS service.
For example, are there any EC2s, ALBs, other VPC endpoints or NAT Gateways left?
Since those services may be using ENI, try deleting the AWS service rather than from deleting the ENI.
https://repost.aws/knowledge-center/troubleshoot-dependency-error-delete-vpc

profile picture
EXPERT
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago
profile pictureAWS
EXPERT
reviewed 9 months ago
0

If you want to delete a VPC then everything that is running inside it has to be deleted beforehand, and this includes network interfaces.

Have a look in the network interfaces section of the EC2 console https://console.aws.amazon.com/ec2/home#NIC:

And also refer to the answer given to a similar question last month https://repost.aws/questions/QUCIjffVdKSm6yC_hrUUkI9A/impossible-to-delete-vpc-network-interface

profile picture
EXPERT
Steve_M
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago
profile picture
EXPERT
reviewed 9 months ago
  • network interfaces not deleting

0

Enter image description here

Anusha
answered 9 months 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