In this recipe, we will add subnets to our VPC. Within our VPCs, we can create subnets with different inbound and outbound rules. For example, a web server may be launched into a public subnet and the database servers may be hosted on a private subnet, thereby only opening its database server ports for the public subnet.