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

gefragt vor 4 Jahren663 Aufrufe
1 Antwort
0

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

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen