Networking · AWS SERVICE CHEATSHEET

Virtual Private Cloud (VPC) (VPC)

Foundational infrastructure envelope enclosing all subnets, gateways, compute, databases, and network policies within an AWS Region.

Open Interactive VPC Sandbox → Simulate in Architecture Studio

AWS Container Placement

Regional / Global Managed Scope (Outside VPC Subnets)

Summary

Logically isolated virtual network providing dedicated IP boundaries, subnets, and routing control.

When to Use (SAA-C03)

Use as the foundational container for every private or public workload; avoid overlapping CIDRs (e.g., two 10.0.0.0/16 VPCs) if peering or connecting via Transit Gateway.

Allowed Ingress Connections & Ports

Source ServiceProtocolPortArchitectural Rationale
IGWIPAll PortsBidirectional public internet gateway
TRANSIT-GATEWAYBGP/StaticAllHub-and-spoke interconnect with corporate network
VPNIPsec500, 4500 (UDP)Site-to-site encrypted on-premise tunnel
VPC-PEERINGDirect RouteAllPrivate peering connection to another VPC

Allowed Egress Targets & Ports

Target ServiceProtocolPortData Flow Rationale
IGWIPAllInternet bound traffic from public subnets
S3-ENDPOINTHTTPS443VPC Gateway Endpoint to Amazon S3
TRANSIT-GATEWAYIPAllRouting to shared services and other enterprise VPCs

Key Configuration Parameters & AWS Best Practices

ParameterFormat / ExamplePurpose & Rationale
IPv4 CIDR Block (cidrBlock) (Required)10.0.0.0/16 (65,536 total IPs)The primary private IP address segment allocated to this virtual network. Why: AWS IP routing requires a non-overlapping contiguous CIDR block from RFC 1918 (10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16).
Enable DNS Hostnames (Required)trueAssigns public and private DNS hostnames to instances with public or private IP addresses. Why: Required for services like Application Load Balancers, RDS endpoints, and EC2 public DNS resolution.
Enable DNS Support (Required)trueEnables the Amazon Route 53 Resolver (AmazonProvidedDNS at VPC CIDR + 2, e.g. 10.0.0.2). Why: Required for internal VPC name resolution and private hosted zones.
VPC Flow LogsCloudWatch Logs / S3 BucketCaptures IP traffic metadata (source, dest, port, protocol, action) passing through network interfaces. Why: Crucial for network troubleshooting, intrusion detection, and SOC 2 / FedRAMP auditing.
Instance TenancydefaultEnsures instances run on shared hardware or single-tenant dedicated hardware. Why: Dedicated tenancy is required by specific regulatory licensing agreements.

Practice Labs Using Virtual Private Cloud (VPC)

CLF-01

Missing Internet Gateway Route

Attach or route default outbound traffic 0.0.0.0/0 to the Internet Gateway in the public route table.…

CLF-02

Locked-Out Security Group Ingress

Add an inbound rule allowing TCP port 80 from 0.0.0.0/0 to the web instance Security Group.…

CLF-03

Public Database Exposure Vulnerability

Move or configure RDS to be in a private subnet, disable public accessibility, and restrict ingress exclusivel…

CLF-04

Single Point of Failure (Single-AZ)

Add a secondary subnet in us-east-1b and front instances with an Application Load Balancer across both Availab…

CLF-06

Tight Coupling in Transaction Processing

Decouple the architecture by placing an Amazon SQS queue between the producer and consumer.…

SAA-01

FinTech Payment Ledger: $6,750 NAT Gateway S3 Cost Surge

Add an S3 prefix-list destination route in the private route table targeting the S3 Gateway Endpoint.…

Frequently Asked Questions

Where does Virtual Private Cloud (VPC) live inside an AWS VPC architecture?

Valid container placement: Regional / Global Managed Scope (Outside VPC Subnets). Foundational infrastructure envelope enclosing all subnets, gateways, compute, databases, and network policies within an AWS Region.

When should I use Virtual Private Cloud (VPC) on the AWS SAA-C03 exam?

Use as the foundational container for every private or public workload; avoid overlapping CIDRs (e.g., two 10.0.0.0/16 VPCs) if peering or connecting via Transit Gateway.

Can I simulate Virtual Private Cloud (VPC) packet routing without an AWS account?

Yes. CloudTracer simulates Virtual Private Cloud (VPC) along with 53 AWS services directly in your browser and exports production Terraform HCL.

More Networking Cheatsheets

App Load Balancer → Network Load Balancer → VPC Subnet → VPC Route Table → Internet Gateway → NAT Gateway →