Тёмный

Oct 15 Git N Terraform Intro 

Sankar Ramalingam
Подписаться 17
Просмотров 9
50% 1

Git:
1. What is the use of Git as a tool and why its important?
2. Most used Git commands - git config, clone, pull, add, commit, push and checkout
3. Git repositories - GitLab and GitHub
4. Authentication mechanisms - HTTPS and SSH
5. SSH - Public and Private key combination used for authentication
6. HTTPS - Username and Password used for authentication
7. Which teams are using Git in the organization?
8. Which Git operation enables/runs the CI/CD pipeline?
9. What is the first step before working on any code changes?
Terraform:
1. What is Terraform?
Infrastructure as Code tool to declaratively write the required resources
Create them by calling the ".tf" files, with terraform apply command
It requires access/secret key of an AWS IAM user, with necessary permissions
Access/secret keys can be passed on to Provider block or
It can use the credentials and config file from "~/.aws" folder
2. What is IaC tool? other IaC tools - CFT, ARM and CDM
Infrastructure creation tool by Hashicorp, supports multiple clouds
Cloud agnostic; CFT(CloudFormation Template) - AWS native; AWM - Azure, CDM - Gcp
Cloud resource management tool - creation, updation and deletion
Language used, similar to JSON, but its a HCL - Hashicorp Configuration Language
Stages: Init, Validate, Plan, Apply and Destroy
Different blocks: provider, variable, data, resource, output
3. What is the Terraform state file?
Store the information about the resources created in a text file
It helps you to destroy the resources based on the state file
Store it in S3 bucket, when you are working on remote storage
Useful when you are running from GitLab CI pipeline
4. What is ".terraform" folder?
Its created when you initialize the terraform to install the plugin and connect to AWS
5. What is the use of DynamoDB lock file?
It creates the lock when you are working remote storage of state files.
It locks the state file being modified from other user
It allows only one user to update the infrastructure at any time.
To avoid conflicting updates to the infrastructure

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии