Understand and Configure Subnets
Explore the fundamentals of subnets within Amazon VPC, including their types such as public, private, and VPN-only subnets. Learn how to configure subnets across availability zones for fault tolerance, and understand reserved IP addresses. Gain practical skills with AWS CLI commands to create and delete subnets to design resilient and secure cloud networks.
Why do we need subnets?
After designing a custom VPC, we can now consider launching resources like
Although a VPC offers a private network environment, resources can’t be directly added to a VPC. In order to add the resources, we must first create a subnet.
A subnet, also known as a subnetwork, is a smaller network within a VPC that is built using the subset of the VPC CIDR block. A subnet is always created within one AWS Availability Zone, making it AZ-resilient. If the selected AZ fails, the subnet and any resources inside will also fail.
It’s crucial to place the resources in different subnets within various Availability ...