AWS Builder Center

What is a VPC?

A VPC (Virtual Private Cloud) is your own private network inside AWS. It keeps your servers safe and separated from everyone else on the cloud.

The 4 Main Parts

  • CIDR Block: Your network's IP address range (e.g.,  10.0.0.0/16 ).
  • Subnets: Smaller rooms inside your network.
  • Public Subnet: Connected to the internet (for your website front-end).
  • Private Subnet: Hidden from the internet (for your database).
  • Internet Gateway (IGW): The front door that allows traffic between your VPC and the internet.
  • Security Group: A virtual firewall that rules who can enter or leave your server.

Quick Example

You put your Web App in a Public Subnet (so users can visit it) and your Database in a Private Subnet (so hackers cannot access it directly).
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article