How to create a VPC - Kahuna915/Capstone-Cloud-Integration GitHub Wiki

GUI

image

  1. Search VPC and select "VPC Isolated Cloud Resources"
    image
  2. Once at the VPC dashboard, select "Create VPC"
    image
  • This is the Create VPC landing page
    image
  1. Under VPC settings select VPC and more

Naming the VPC

image
4. Enter a name for the VPC

IPv4, IPv6 CIDR Block

image
5. What address range and how big do we want it to be? In this section, this is where it would be defined.
image

  • For this example, I chose 10.0.1.0/24

Availability Zone

image

  • For this, I chose to go with one, since we will only need one public and one private network now.

Subnets

image
We will be using one Public and one Private
image

NAT Gateways and VPC Endpoints

image

  • For now, we will keep these at default, none, and S3 Gateway. Later we will go in and add a NAT Gateway.

DNS Options

image

Creat the VPC

image

  • Once all the settings are configured, select "Create VPC"
    If set up correctly, there should be success all the way through
    image

Creating a routing table

image

  • On the VPC dashboard tab, there will be a Route Tables Option, select that to continue
    image
  • After you are there, select "Create route table"
    image
  • Give the routing table a name, in this step, I am creating a private route table.
    image
  • Assign it to the proper VPC, for this example, we are using cyber.aws-vpc
  • Once this is done, select "Create route table"

Associate the routing table with the proper subnet

Once the routing table is created, we are able to associate it with the Subnet we want. For this example, we are creating a private route, so we will want to attach it to the private subnet.

  1. Select Subenet associations
    image
  2. Create a Subnet Association image
  3. Select the private subnet image
  4. Save the association and check that it is listed after! image

Create an internet gateway

image

  • Name the gateway and select Create
    image
  • Under the actions attach the new Internet Gateway to the VPC
    image

Edit Routes

We will connect an Internet Gateway to the public subnet for this example. image

  • Select Add Route image
  • Select 0.0.0.0/0 so that all traffic from this subnet can reach the internet gateway.
    image
  • Select the Internet gateway created in the previous step and save the changes.
    image
    As you can see the new route has been created.