issue in deleting VPC and network interface

后端 未结 8 1741
太阳男子
太阳男子 2020-12-29 19:54

I am trying to delete aws vpc (a non default one). I am getting error that \"We could not delete the following VPC (vpc-xxxxxxx (xx.xx.xx.x/16)) Network interface \'eni-xxxx

相关标签:
8条回答
  • 2020-12-29 20:43

    In my case I had to first detach and delete 2 things in EC2 section (of the same region as your VPC):

    1. Network & Security -> Elastic IPs. Delete the Elastic IP associated with your VPC
    2. Network & Security -> Network Interfaces. Detach your VPC's network interface first (This took around a minute). Then delete.

    Now try deleting the VPC.

    0 讨论(0)
  • 2020-12-29 20:51

    Check 2 things.

    • If you have a VPC Elastic IP Address you created in the VPC you are trying to delete.
    • Check if you created a AWS ELB in the VPC.

    Delete above two resources if present then you will be able to delete the VPC.

    0 讨论(0)
提交回复
热议问题