Posts

Showing posts from June, 2023

Terraform VPC -AWS - VPC

Image
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  We are build three tier VPC in AWS with Web, App, DB tiers Using the below resources or services. Nategateway is for the EC2 instances in the private subnets to connect to the Internet world Steps  1. We created a VPC 2. Create a Public Subnets , Add one more subnet 3. Create Private Subnet 4. Creating an Internet Gateway 5. Internet Gateway , attaching Internet Gateway to a VPC 6. Create a NAT Gateway and we are going to select the Public subnet that we created (NAT Gateway must always be placed in the Public Subnet 7. Allocate an Elastic IP for your NAT Gateway. 8. Create Public Route Table , Create Routes and Associate Subnets -- A default route table will already be present . We need to create a separate route table or use the existing route table. -- We select the VPC for which we are creating the Route Table...