In the AWS Command Console, I have two VPCs, as shown by the following screenshot:

But when I create a new Internet Gateway to allow outside traffic into this VPC, it seems that I can't find the VPC and I can only create a new one:

This is frustrating because the original, "stand-alone" way of creating a VPC allows me to put in public subnet I.P as well as availability zone and others, while the "Create VPC" option doesn't give me much. What mistake am I making here?
This message will appear if your existing VPCs already have an internet gateway attached.
This happens because you can only have a single internet gateway attached to a VPC at once, although this error message does not make that clear.
Only one internet gateway can be attached to a VPC at a time.
Your VPC might have been automatically configured with IGW. You can identify that by VPC ID. In the internet Gateway, you will see if that VPC ID is attached to an IGW. You simply need to detach that particular IGW from your VPC.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With