Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 28, 2024 04:37 pm GMT

Learning AWS Day by Day - Day 19 - VPC Hands-on: Part 1

Image description

Exploring AWS !!

Day 19:

VPC Hands-on: Part 1

Task:

  1. Create a VPC with 120.0.0.0/16 CIDR block
  2. Create 1 public subnet, 2 private subnets and make sure you connect a NAT gateway for internet connectivity to private subnet

Now follow the below steps to complete the given task:

  1. Create VPC.

Image description

  1. Create total 3 subnets 2 private and 1 public

Image description

  1. Go to Actions Edit subnet settings Enable auto-assign SaveThis will make the subnet public

Image description

  1. Go to Internet Gateways and click Create Internet Gateway

Image description

  1. Give proper name and click Create.

Image description

  1. Go to Actions Attach VPC

Image description

  1. Attach VPC and click on Attach

Image description

  1. Click on Route Tables Edit Route Add route Internet gateway and Save

Image description

  1. Select subnet association and select the public subnet and click save

Image description

  1. Create a route table for private subnet

Image description

  1. New route table will be created for private subnets

Image description

  1. Go to NAT Gateways and click create

Image description

  1. The NAT Gateway is created.

Image description

  1. Click on private route in Route table

Image description

  1. Add the NAT route

Image description

  1. Edit subnet association and add Private subnets

Image description

  1. The routes are ready now.

Image description


Original Link: https://dev.to/rksalo88/learning-aws-day-by-day-day-19-vpc-hands-on-part-1-2pkj

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To