<aside>
💡
Amazon virtual private cloud (VPC) allows the users to use AWS resources in a customized virtual network. The users can customize their virtual netwroking environment
</aside>
Components
- VPC CIDR Block
- Subnet
- Gatewats
- Internet Gateway: Internet is allowed (one/two way)
- NA Gateway: Request sent should be recieved by machine not anything else (from http/https)
- Routing
- Network Access Control Lists
- Security Groups
- Firewalls (what IP to allowed and what not)
<aside>
💡
Except VPC Bearing and NAT Gateway, everthing related to VPC is free
</aside>
Featrues
- Store data in S3 and set permissions such that the cata can only be accessed from within Amazon VPC
- Attach one or more elastic IP addresses to any instance VPC so it can be reached directly from the internet.
- 1$ if used
- 10$ if not used / month
- Privately connect to other AWS services
- Bridge VPC and onsite IT infrastructure

VPC and Subnet Sizing
- 10.0.0.0 Network Address
- 10.0.0.1 VPC Router (Gateway)