Posts

Terraform Practicle Questions

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   How to configure AWS CLI ? 1. You need to create in the AWS account . 2. We need to create the security credentials first as below     Goto > services > IAM > Users > "Your Admin User" > Security Credentials > Create Access Key  3. Copy the secret ID ans Access Key.  the credential profile can be found under $HOME/.aws/credentials From the command line tyoe > aws configure : Paste the Access ID and Secret Key Terraform command workflow  ? terraform init terraform validate terraform plan terraform apply  

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...

Terraform-Interview- QUESTIONS

Image
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Terraform - My-Blog https://terraform-learner.blogspot.com/ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  1.What is Terraform, and how does it differ from other Infrastructure as Code tools? ANS Terraform is an open-source Infrastructure as Code (IaC) tool that is used to automate the deployment and management of infrastructure resources in a cloud or on-premises environment. Terraform allows you to define infrastructure resources, such as virtual machines, storage accounts, and networking components, in code using a declarative language. You can then use Terraform to provision, modify, and destroy those resources automatically and repeatably. Terraform differs from other IaC tools in several ways: Multi-Cloud Support: Terraform supports multiple cloud providers, including AWS, Azure, GCP, and others. This allows you to use a single tool to manage infrastructure resourc...