Amazon AWS-Step 1: Create the VPC

In this step, you’ll use the Amazon VPC wizard in the Amazon VPC console to create a VPC. The wizard performs the following steps for you:

 

 

 

 

The following diagram represents the architecture of your VPC after you’ve completed this step.

VPC

 

 

[bs_icon name=”glyphicon glyphicon-pencil”] Note

This exercise covers the first scenario in the VPC wizard.

 

To create a VPC using the Amazon VPC Wizard

1.Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

 

2.In the navigation bar, on the top-right, take note of the region in which you’ll be creating the VPC. Ensure that you continue working in the same region for the rest of this exercise, as you cannot launch an instance into your VPC from a different region.

3.In the navigation pane, choose VPC dashboard, and then choose Start VPC Wizard.

 

[bs_icon name=”glyphicon glyphicon-pencil”] Note
Do not choose Your VPCs in the navigation pane; you cannot access the VPC wizard from this page.

 

 

 

4.Choose the first option, VPC with a Single Public Subnet, and then choose Select.

 

 

 

5.On the configuration page, enter a name for your VPC in the VPC name field; for example, my-vpc, and enter a name for your subnet in the Subnet name field. This helps you to identify the VPC and subnet in the Amazon VPC console after you’ve created them. For this exercise, you can leave the rest of the configuration settings on the page, and choose Create VPC.

(Optional) If you prefer, you can modify the configuration settings as follows, and then choose Create VPC.

 

 

 

 

 

6.A status window shows the work in progress. When the work completes, choose OK to close the status window.
7.The Your VPCs page displays your default VPC and the VPC that you just created. The VPC that you created is a nondefault VPC, therefore the Default VPC column displays No.

 

 

Viewing Information About Your VPC

After you’ve created the VPC, you can view information about the subnet, the Internet gateway, and the route tables. The VPC that you created has two route tables — a main route table that all VPCs have by default, and a custom route table that was created by the wizard. The custom route table is associated with your subnet, which means that the routes in that table determine how the traffic for the subnet flows. If you add a new subnet to your VPC, it uses the main route table by default.

 

 

To view information about your VPC

1.Open the Amazon VPC console at https://console.aws.amazon.com/vpc/.

 

2.In the navigation pane, choose Your VPCs. Take note of the name and the ID of the VPC that you created (look in the Name and VPC ID columns). You will use this information to identify the components that are associated with your VPC.

 

 

3.In the navigation pane, choose Subnets. The console displays the subnet that was created when you created your VPC. You can identify the subnet by its name in Name column, or you can use the VPC information that you obtained in the previous step and look in the VPC column.

 

 

4.In the navigation pane, choose Internet Gateways. You can find the Internet gateway that’s attached to your VPC by looking at the VPC column, which displays the ID and the name (if applicable) of the VPC.

 

 

5.In the navigation pane, choose Route Tables. There are two route tables associated with the VPC. Select the custom route table (the Main column displays No), and then choose the Routes tab to display the route information in the details pane:

    • The first row in the table is the local route, which enables instances within the VPC to communicate. This route is present in every route table by default, and you can’t remove it.

 

  • The second row shows the route that the Amazon VPC wizard added to enable traffic destined for an IP address outside the VPC (0.0.0.0/0) to flow from the subnet to the Internet gateway.

 

6.Select the main route table. The main route table has a local route, but no other routes.

 

Related Pages:

 

WHAT IS AMAZON VPC?
GETTING STARTED WITH AMAZON VPC

 

Source By: <docs.aws.amazon.com>

To Become AWS Certified please Check out the Link

Exit mobile version