published: true
description: "What a VPC is, how CIDR notation works, and how to choose a CIDR block that won't cause problems later with subnets, peering or VPN."
tags: aws, devops, networking, beginners
canonical_url: https://builder.aws.com/content/3MUND2CiPe78JKgXIysnCjkevcC/aws-vpc-and-cidr-blocks-explained-plan-your-network-the-right-way
This article was first published on AWS Builder Center. Sharing it here for the dev.to community.
Introduction
Every resource you launch on AWS, such as an EC2 instance, an RDS database or a Jenkins server, lives inside a VPC (Virtual Private Cloud) . And every VPC starts with one important decision: its CIDR block .
Beginners often click "Create VPC", accept a default range, and move on. Later they hit problems: no free IP addresses, subnets that overlap, or two VPCs that can't be connected.β¦