What is VPC (Virtual Private Cloud)?
An isolated virtual network within a cloud provider where you can launch resources with full control over IP addressing, routing, and security.
A VPC is your private network in the cloud. You define the IP range (CIDR block), create subnets (public and private), configure route tables, and set up internet/NAT gateways. Resources in a VPC are isolated from other customers.
Key components include subnets (segment the VPC), security groups (instance-level firewalls), NACLs (subnet-level firewalls), route tables, internet gateways (public access), NAT gateways (outbound-only for private subnets), and VPC peering (connect VPCs).