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

demandé il y a 4 ans646 vues
1 réponse
0

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

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions