Posts

Terraform (Infrastructure As Code)

Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions. Configuration files describe to Terraform the components needed to run a single application or your entire datacenter. Terraform generates an execution plan describing what it will do to reach the desired state, and then executes it to build the described infrastructure. As the configuration changes, Terraform is able to determine what changed and create incremental execution plans which can be applied. The infrastructure Terraform can manage includes low-level components such as compute instances, storage, and networking, as well as high-level components such as DNS entries, SaaS features, etc. Infrastructure as Code Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other cod

DevOps Interview Questions

Questions from GIT, Jenkins, Ansible, Dockers & Containers, Kubernetes, OpenShift, AWS, CI/CD, Scripting, Linux (RHEL), Monitoring, Python GIT ########### * What is GIT ? * What is difference between GIT & Github ? * Why we use GIT ? * What is SCM & VCS ? * What are the process of pushing the code to Github Repository ? * Why do we commit ? * What are the commands of GIT to push the code ? * How you can merge a git repository with another ?  * What is branching in git ? * Different types of branching in GIT ? * What is merge conflict in git ? * How you can resolve merge conflict if you are merging same    project and in the same branch ?    Jenkins ########## * What is Jenkins ? * Why we use Jenkins ? * What are the other tools/technologies present in market other than    Jenkins for CI/CD ? * How to move Jenkins from one server to another ?    * How to create Jenkins backup ?  * What are plugins in Jenkins ? * What are

Ansible Dynamic Inventory

Getting started with Ansible Dynamic Inventory for AWS Cloud Install Python Boto : ################## # yum install Python-pip #pip install python-boto AWS CLI  Installation  : ###################         # pip  install  awscli          AWS CLI  CONFIGURATION : ########################      # aws configure        AWS Access Key ID [****************W5UQ]:        AWS Secret Access Key [****************0QTW]:        Default region name [us-west-2]:        Default output format [None]:  Downloading  Ec2.py and  Ec2.ini  file  for Dynamic  Inventory : ################################################# #   cd  /etc/ansible/ #  wget  https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/ec2.py #  wget  https://raw.githubusercontent.com/ansible/ansible/devel/contrib/inventory/ec2.ini #  chmod  +x   ec2.py  ec2.ini Exporting some variables : ####################### # export ANSIBLE_HOSTS = / etc / ansible / ec2 . py # export ANSIBLE