2. AWS VPC Setup Guide

2. AWS VPC Setup Guide

ยท

2 min read

Welcome to the AWS VPC Setup Guide! This guide will walk you through the process of creating a Virtual Private Cloud (VPC) along with its components such as subnets, Internet Gateway, and Routing tables.

What is VPC?

A Virtual Private Cloud (VPC) is a virtual network environment within AWS that allows you to create a logically isolated section of the AWS Cloud where you can launch AWS resources in a virtual network that you define.

Creating VPC

To create a VPC:

  1. Go to the AWS Management Console.

  2. Navigate to the VPC dashboard.

  3. Click on "Create VPC" and specify the VPC details such as CIDR block.

Creating Subnets & Internet Gateway

Subnets

Subnets are subdivisions of a VPC's IP address range. They help organize and manage different parts of your network.

Imagine a large plot of land that you want to develop into a residential area. Subnets are like individual buildings within this plot, each containing multiple flats.

To create subnets:

  1. Navigate to the VPC dashboard.

  2. Click on "Subnets" and then "Create Subnet".

  3. Specify the subnet details including CIDR block and Availability Zone (AZ).

Internet Gateway (IGW)

An Internet Gateway allows communication between instances in your VPC and the internet.

To create an Internet Gateway:

  1. Navigate to the VPC dashboard.

  2. Click on "Internet Gateways" and then "Create Internet Gateway".

  3. Attach the Internet Gateway to your VPC.

Creating Routing Tables

Routing tables define how traffic is directed within the VPC. They control the flow of traffic between subnets, internet gateways, and other network devices within the VPC.

To create a routing table:

  1. Navigate to the VPC dashboard.

  2. Click on "Route Tables" and then "Create Route Table".

  3. Define the routing rules, ensuring that traffic flows efficiently and securely to its intended destination.

On a high level, each company's data and applications are kept separate and secure within their own VPC. Subnets help organize different stages of the software development lifecycle.

Now you have a fully functional VPC with its components set up properly! Happy networking!

ย