You have some resources in the VPC that have been assigned a Public IP address, such as:
- Amazon EC2 instances
- Amazon RDS instances
- Amazon Redshift cluster
- VPC NAT Gateways
- etc.
These IP addresses might have been assigned as an Elastic IP address or as an "auto-assign Public IP address" no instance creation.
You will need to delete these Elastic IP addresses before the Internet Gateway can be removed. If they were auto-assigned IP addresses, then Stop the instances to remove the public IP addresses.
You might also need to edit your Route Tables so that they do not refer to the Internet Gateway.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…