Posts

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