How do I create a VPC with two subnets, one with access to the public network and one with internal communication?
create vpc
What is CIDR block?
CIDR stands for classless inter-domain routing, which is also known as slash notation. slash notation is a shorter way to create a subnet mask. A CIDR notation of /24 means that the subnet mask is not a subnet mask. notation of /24 means that the subnet mask is 25 bits in length.
A CIDR notation of /24 means that the subnet mask is 25 bits in length.
anything in this subnet(destination) goes to local.
Go to Step 4 to create an internet gateway
edit
click public subnet, find its route table
The first three numbers are not desirable (1, 2, 3)
Ref links:
https://www.youtube.com/watch?v=s_Ntt6eTn94&t=5s