We can add subnets to our VPC with a netmask of /24 each, as follows:
- Go to VPC service in the console.
- Click on Subnets in the left sidebar.
- Click on Create subnet.
- Select our VPC from the drop-down box to select the VPC*. Now, it will display our VPC CIDRs.
- Select No preference for Availability Zone.
- For IPv4 CIDR block*, provide an IP address range that is a subset of our VPC's IP address range. I will be using 10.0.1.0/24.
- For IPv6 CIDR block, select Don't Assign Ipv6.
- Give the subnet a name that will help us infer the IP address range for the subnet; for example, 10.0.1.0/24.
Our Create subnet screen should now look as follows:
- Click on Create to create a subnet.
- Similarly, create a subnet for the IP address range ...