Question: what is difference between public and private subnet in aws?
Answer: A public subnet is a subnet that's associated with a route table that has a route to an Internet gateway. A private subnet with a size /24 IPv4 CIDR block (example: 10.0. ... This connects the VPC to the Internet and to other AWS services. Instances with private IPv4 addresses in the subnet range (examples: 10.0.