CloudGuild · Blog · Cheat sheets · Lessons · Certifications

Amazon VPC — Networking Foundations: When to Use What (and How the Exam Tests It)

Master Amazon VPC networking essentials for the SAA-C03 exam. Understand when to choose public or private subnets, and key architectural decisions.

Amazon VPC allows you to create a logically isolated network within the AWS cloud. You define IP ranges, subnets, routing, and gateways. This foundational component is critical for any AWS architecture.

When to Choose What

Understanding the roles of public and private subnets is essential. Here’s a simple breakdown:

Subnet Type Use Cases Connectivity
Public Subnet Resources that need direct internet access Route to an Internet Gateway
Private Subnet Resources that don’t require direct access Outbound via NAT Gateway

Public Subnet

Use a public subnet when your resources need direct access to the internet. Typical examples include web servers or load balancers. The route to an Internet Gateway allows these resources to send and receive traffic from the internet.

Private Subnet

For resources that do not need direct internet access, such as databases or application servers, a private subnet is ideal. Outbound internet access is achieved through a NAT Gateway. Remember, for high availability, deploy one NAT Gateway per Availability Zone (AZ).

Key Architectural Decisions

Several architectural decisions can significantly impact your design:

Gotchas & Exam Traps

Be aware of common pitfalls that can show up on the exam:

How the Exam Tests This

Exam questions often focus on practical scenarios. Here are a few patterns to look out for:

The Rule to Remember

Get the subnet and routing model right, and everything downstream, including security and cost, falls into place. Treat the network as the foundation, not an afterthought.

For further preparation, Take the free SAA-C03 mock exam.

Take a free mock exam →