Route Table

Update Route Table

You can turn a subnet into a public subnet by adding a route in your subnet’s route table to an internet gateway. To do this, create and attach an internet gateway to your VPC, then add a route with the destination as 0.0.0.0/0 for IPv4 traffic or ::/0 for IPv6 traffic, and the target as the ID of the internet gateway (igw-xxxxxxxxxxxxxxxxx).

Destination Target
0.0.0.0/0 igw-id
::/0 igw-id

Create VPC

Create VPC

Create VPC