I am thinking of building a new AWS VPC with a CIDR block of 184.108.40.206/16.
I don't want this VPC CIDR range to cross my existing VPC's. What CIDR can I use for my new VPC and then how do I decide what subnets I will need to create for 2 private and 2 public subnets.
Does anyone have a template they tend to reuse to keep things nice and tidy?
Top comments (3)
I think a good template is to use a /24 range to divide the VPC CIDR range, here is an example based on your question:
The if you wanted another
From this you can easily determine to have thge subnets use a small or a bigger portion of the CIDR range.
It is mega important to ensure that you don't overlap with on prem or cross cloud/services CIDR blocks. Double, then triple check.
Thanks! Makes total sense!
Here is a great resource for calculating CIDR blocks and subnets