Followers

Terraform VPC

 

Design AWS VPC using AWS Management Console

Step-01: Introduction

  1. Create VPC
  2. Create Public and Private Subnets
  3. Create Internet Gateway and Associate to VPC
  4. Create NAT Gateway in Public Subnet
  5. Create Public Route Table, Add Public Route via Internet Gateway and Associate Public Subnet
  6. Create Private Route Table, Add Private Route via NAT Gateway and Associate Private Subnet

Step-02: Create VPC

  1. Name: my-manual-vpc
  2. IPv4 CIDR Block: 10.0.0.0/16
  3. Rest all defaults
  4. Click on Create VPC

Step-03: Create Subnets

Step-03-01: Public Subnet

  1. VPC ID: my-manual-vpc
  2. Subnet Name:: my-public-subnet-1
  3. Availability zone: us-east-1a
  4. IPv4 CIDR Block: 10.0.1.0/24

Step-03-02: Private Subnet

  1. Subnet Name:: my-private-subnet-1
  2. Availability zone: ap-south-1a
  3. IPv4 CIDR Block: 10.0.101.0/24
  4. Click on Create Subnet

Step-04: Create Internet Gateway and Associate it to VPC

  1. Name Tag: my-igw
  2. Click on Create Internet Gateway
  3. Click on Actions -> Attach to VPC -> my-manual-vpc

Step-05: Create NAT Gateway

  1. Name: my-nat-gateway
  2. Subnet: my-public-subnet-1
  3. Allocate Elastic Ip: click on that
  4. Click on Create NAT Gateway

Step-06: Create Public Route Table and Create Routes and Associate Subnets

Step-06-01: Create Public Route Table

  1. Name tag: my-public-route-table
  2. vpc: my-manual-vpc
  3. Click on Create

Step-06-02: Create Public Route in newly created Route Table

  1. Click on Add Route
  2. Destination: 0.0.0.0/0
  3. Target: my-igw
  4. Click on Save Route

Step-06-03: Associate Public Subnet 1 in Route Table

  1. Click on Edit Subnet Associations
  2. Select my-public-subnet-1
  3. Click on Save

Step-07: Create Private Route Table and Create Routes and Associate Subnets

Step-07-01: Create Private Route Table

  1. Name tag: my-private-route-table
  2. vpc: my-manual-vpc
  3. Click on Create

Step-07-02: Create Private Route in newly created Route Table

  1. Click on Add Route
  2. Destination: 0.0.0.0/0
  3. Target: my-nat-gateway
  4. Click on Save Route

Step-07-03: Associate Private Subnet 1 in Route Table

  1. Click on Edit Subnet Associations
  2. Select my-private-subnet-1
  3. Click on Save

Step-08: Clean-Up

  1. Delete my-nat-gateway
  2. Wait till NAT Gateway is deleted
  3. Delete my-manual-vpc

COMMENTS

Name

Ansible,6,AWS,1,Azure DevOps,1,Containerization with docker,2,DevOps,2,Docker Quiz,1,Docker Swarm,1,DockerCompose,1,ELK,2,git,2,git quiz,1,Git Worksheet,1,ITIL,1,ITSM,1,Jira,3,Kubernetes,1,Kubernetes Quiz,5,SAST DAST Security Testing,1,SDLC Quiz,5,SonarQube,3,Splunk,2,vagrant kubernetes,1,YAML Basics,1,
ltr
static_page
DevOpsWorld: Terraform VPC
Terraform VPC
DevOpsWorld
https://www.devopsworld.co.in/p/terraform-vpc.html
https://www.devopsworld.co.in/
https://www.devopsworld.co.in/
https://www.devopsworld.co.in/p/terraform-vpc.html
true
5997357714110665304
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content