Menu
Amazon Virtual Private Cloud
User Guide

Scenarios and Examples

This section has examples for creating and configuring a VPC, including scenarios for how to use the VPC wizard in the Amazon VPC console.

ScenarioUsage

Scenario 1: VPC with a Single Public Subnet

Use the VPC wizard to create a VPC for running a single-tier, public-facing web application such as a blog or simple web site.

Scenario 2: VPC with Public and Private Subnets (NAT)

Use the VPC wizard to create a VPC for running a public-facing web application, while still maintaining non-publicly accessible back-end servers in a second subnet.

Scenario 3: VPC with Public and Private Subnets and Hardware VPN Access

Use the VPC wizard to create a VPC for extending your data center into the cloud, and also directly access the Internet from your VPC.

Scenario 4: VPC with a Private Subnet Only and Hardware VPN Access

Use the VPC wizard to create a VPC for extending your data center into the cloud, and leverage Amazon's infrastructure without exposing your network to the Internet.

Example: Create an IPv4 VPC and Subnets Using the AWS CLI

Use the AWS CLI to create a VPC and and a public and private subnet.

Example: Create an IPv6 VPC and Subnets Using the AWS CLI

Use the AWS CLI to create a VPC with an associated IPv6 CIDR block, and a public and private subnet each with an associated IPv6 CIDR block.