...

/

Understand and Configure Subnets

Understand and Configure Subnets

Learn about creating subnets within the Amazon VPC.

Why do we need subnets?

After designing a custom VPC, we can now consider launching resources like EC2 Elastic Compute Cloud instances inside the VPC. However, we still need to configure our VPCs for it.

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 ...