TERRAFORM WITH VARIABLES

Write a terraform script using AWS ec2 instance and Github and apply following kind of variables – Types of Terraform variable – Number Types of Terraform variable – String Types of Terraform variable – List Types of Terraform variable – Map Types of Terraform variable – Boolean

Read more

Get into Terraform

Write a comparison between Ansible Vs Docker Vs Terraform : Terraform Terraform focuses on infrastructure automation, and interprets a model described in Hashicorp Configuration Language. Terraform has Immutable infrastructure. Terraform Specializes in infrastructure provisioning. Terraform provides Lifecycle aware.  Maintains state of deployments. Ansible Ansible takes an imperative or procedural approach, which is familiar to anyone experienced in scripting. Ansible has Mutable infrastructure. Ansible gives Limited support for infrastructure provisioning. There is no lifecycle awareness in Ansible. Docker Docker is a

Read more

Jenkins in easy way

What is jenkins ? Jenkins is a fork of a project called Hudson, which was trademarked by Oracle. Jenkins development is now managed as an open source project under the governance of the CD Foundation, an organization within the Linux Foundation. Jenkins is an open source continuous integration or continuous delivery. Jenkins is a deployment (CI/CD) automation software DevOps tool. Jenkins written on JAVA programming language. Jenkins is used to implement CI/CD workflows, called pipelines. Jenkins describes a desired state and

Read more

Learn Prometheus

What is Time Series database? Time series databases are simply measurements or events that are tracked, monitored, downsampled, and aggregated over time. This could be server metrics, application performance monitoring, network data, sensor data, events, clicks, trades in a market, and many other types of analytics data. How prometheus is good for time series metrix? Prometheus fundamentally stores all data as time series: streams of timestamped values belonging to the same metric and the same set of labeled dimensions. Besides

Read more

Selfnote of ANSIBLE PLAYBOOK –

Write a Ansible Playbook to create a group called “deploy” : Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell : Write a Ansible Playbook to install package named “httpd” in RHEL/centos : Write a Ansible Playbook to start and enable the service named “httpd” : Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents : Write a Ansible Playbook

Read more

Ansible Adhoc Commands Excercise –

Write a Ansible Adhoc Commands to create a group called “deploy : Write a Ansible Adhoc Commands to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. Write a Ansible Adhoc commands install package named “httpd” in RHEL/centos. Write a Ansible Adhoc commands to start and enable the service named “httpd” Write a Ansible commands to create a file called “index.html” in /var/www/html with some dummy html contents. Write a Ansible commands to

Read more

Learn Services in Kubernetes

What is a Service? Services in Kubernetes nothing but load balancer. It is load balancer for POD. It enables a group of pods, which provide specific functions (web services, image processing, etc.) to be assigned a name and unique IP address (clusterIP). What is the types Services? ClusterIP. Exposes a service which is only accessible from within the cluster. NodePort. Exposes a service via a static port on each node’s IP. LoadBalancer. Exposes the service via the cloud provider’s load

Read more

Learn POD within few minutes

What is POD ? POD is application or service. POD contains one or more container in it. As long as POD is in running state all containers in it will ne in running state. Types of POD : Single container PODs & Multiple container PODs What POD contains? POD contains one or more containers in it. As you can see in below picture. Lifecycle of the POD : Following below diagram we can see that pending state of a POD

Read more

Easy way to know Kubernetes :

Introduction : Kubernetes actually made by google after some ages it is donated to CNCF in 2014 as a open source. It’s DNA matches with Borg & Omega. It is also called as K8. What is Kubernetes ? kubernetes is a container orchestrator. It handles multiple nodes, multiple virtual machine, multiple physical machine. It can match of your desire state. like example – If we need 100 of container and suddenly the container stop working then kubernetes will be the

Read more