Sep 19, 2018

AWS Public Subnet vs Private Subnet

Public Subnet
If a subnet’s default traffic is routed to an Internet gateway, the subnet is known as a public subnet. For example, an instance launched in this subnet is publicly accessible if it has an Elastic IP address or a public IP address associated with it.
Private Subnet
If a subnet's default traffic is routed to an NAT instance/gateway or completely lacks a default route, the subnet is known as a private subnet. For example, an instance launched in this subnet is not publicly accessible even if it has an Elastic IP address or a public IP address associated with it.