Creating a VPC and subnets
This section shows you how to create an AWS VPC and create two subnets in it. For many of the steps, you have a choice to make that can be specific to your own environment.
- Change your language to English and log into the AWS Management Console.
- In the Networking & Content Delivery section, select VPC.
- In the Virtual Private Cloud menu, select Your VPCs, then select Create VPC.
- In the Name tag field, set a name for your VPC.
- In the CIDR block field, specify an IPv4 address range for your VPC.
- In the Tenancy field, select Default.
- Select Yes, Create.
- In the Virtual Private Cloud menu, select Subnets, then select Create Subnet. Create a public subnet (in this example, Subnet1) and a private subnet (Subnet2), as shown in this example. Both subnets belong to the VPC that you created.