How it works...

The CIDR range decides the internal IPs of the EC2 instances created in the VPC. By default, the instances inside the same VPCs communicate with the internal IP. The number of instances that you can create is based on the CIDR range that you choose. If you want to communicate with an other network/VPC through a private network, the CIDR range of that network must be different.

Get AWS Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.