Unable to delete my VPC

0

Hi,
I am unable to delete a VPC which has one public subnet, one routing table, one internet gateway, nat gateway and it comes with few network interfaces as well.

I deleted nat gateway and that delete one network interface

When I try to delete VPC, I get this error:
Unable to delete this VPC:
The VPC contains one or more in-use network interfaces, and cannot be deleted until those network interfaces have been deleted.
View in-use network interfaces in the VPC

When I try to detach network interfaces I get this error:
Error detaching network interface
You do not have permission to access the specified resource

When I try to delete subnet I get this error:
Note that the following subnets cannot be deleted:
The following subnets contain one or more network interfaces, and cannot be deleted until those network interfaces have been deleted. Click here to view your network interfaces

When I try to detach internet gateway get this error:
Network vpc has some mapped public address(es). Please unmap those public address(es) before detaching the gateway

I need help with how I can delete these components in VPC.

Edited by: Harry1805 on May 11, 2020 12:28 AM

asked 3 years ago96 views
1 Answer
0

I deleted the ELB and it allowed me to delete this VPC and other components in VPC.

answered 3 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.

Guidelines for Answering Questions