Posts

readme.md

  ### Markdown Syntax Reference - **Headers**: Use `#` for headers. The number of `#` symbols indicates the level of the header.   ```markdown   # H1   ## H2   ### H3   #### H4   ##### H5   ###### H6 Emphasis: Use * or _ for italic, ** or __ for bold. *Italic* or _Italic_ **Bold** or __Bold__ Blockquotes: Use > for blockquotes. > This is a blockquote. Lists: Use - or * for unordered lists, and numbers for ordered lists. - Item 1 - Item 2   - Subitem 1   - Subitem 2 1. Item 1 2. Item 2    1. Subitem 1    2. Subitem 2 Code: Use backticks for inline code and triple backticks for code blocks. `inline code` code block ```javascript function example() {   console.log("Hello, World!"); } Horizontal Rule: Use ---, ***, or ___. --- Links: Use [text](URL) for links. [Google](http://www.google.com) Images: Use ![alt text](URL) for images. ![Logo](http://www.example.com/logo.png) Tables: Use pipes | and hyphens - to cr...

Terraform Commands

terraform init  - initializes the current directory terraform init -- What is terraform init ? The terraform init command is used to initialize a Terraform working directory. This command performs several important tasks: Download Provider Plugins : Terraform will download and install the provider plugins specified in the configuration files. Providers are responsible for managing the lifecycle of a resource (e.g., AWS, Azure, Google Cloud). Initialize Backend : If a backend configuration is specified, terraform init will initialize the backend, which is used to store the state of your infrastructure. This is particularly important for collaboration and for maintaining state consistency. Install Modules : If your configuration includes modules, terraform init will download and install these modules from the specified sources (e.g., a local path, a Git repository, or the Terraform Registry). Validate Configuration : It checks for errors in the configuration files and ensures that...

Terraform Interview -ALL

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ What is HashiCorp Vault ? What are Meta Argument's ? Terraform Backend configuration ? What are provisioners ? what does .terraform contain ? what does .terraform.lock.hcl ? when does the terraform.tfstate gets created ? ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  What is HashiCorp Vault ? https://www.youtube.com/watch?v=nG8fCdWkLzc Vault is an Open source secret management tool that is used to automate access to Secrets | Data & Systems. Securely storing and controlling access for tokens , passwords , certificates & encryption keys. Vault can be used to protect sensitive data  in the CLI ( command line interface) / http API calls / even in UI (user Interface) it is commonly used with platforms such as AWS / GCP / OCI / Azure. And it can be used with many other types of services  General Use Case :  1. General Secret Storage 2. Employee Credential Storage 3....

Terraform Commands

 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ It looks like you're asking about various Terraform commands that are commonly used for managing infrastructure using HashiCorp Terraform. Here's a list of some important Terraform commands and their descriptions: terraform init : Initializes a Terraform working directory by downloading the necessary provider plugins and setting up the environment for the configuration. terraform plan : Generates an execution plan that shows the changes Terraform will make to the infrastructure without actually making any changes. This is useful for reviewing the planned modifications before applying them. terraform apply : Applies the changes specified in your Terraform configuration to the actual infrastructure. This command can create, update, or delete resources as needed. terraform destroy : Destroys the infrastructure managed by Terr...

EKS -- Terraform EKA - Interview Questions

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++   +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  

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