Let's quickly go through some important concepts related to using internet gateways with AWS VPC:
- We can only attach one internet gateway per VPC.
- In the main route table, two routes are already created by AWS: one for IPv4 subnets and one for IPv6 subnets. These are provided so that our subnets can talk to each other locally. However, this is not enough for an EC2 instance in the public subnet to talk to our private subnet. We also need to allow the required protocols and ports through EC2 security groups.