Terraform Provisioner

Write a Terraform script which create a ubuntu ec2-instance and copy a ansible playbook, install ansible and run it. Step 1 – Create ec2-instance with key and group Step 2 – COpy playbook using file prov* Step 3 – Install Ansible using remote prov* Step 4 – RUn Ansinle playbook command using remote prv*

Read more

Working With Terraform 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 and Decare variables in – Terraform file – Override through Command Line

Read more

Working With Terraform

Write a comparison between Ansible Vs Docker Vs Terraform Write a terraform script where you create a linux ec2 instance with Security group and key defined so you should be able to use key to login to ec2 instance. Terraform VS Ansible Terraform focus on infrastructure provisioning where as ansible fits well in traditional automation. Terraform acts perfectly in configuring cloud infrastructure where as ansible is employed for configuring servers. Using terraform one can deploy load balancers, VPCs, etc. where

Read more

Jenkins

Introduction to Jenkins Open Source Automation Tool Written in Java with plug ins built for continuous integration purposes Allows Continuous Delivery Of Software Software Integrating with large number of testing and deployment technologies Accelerate the software development process through automation Plugins allow the integration of Various DevOps stages  Has 1000+ plugins to ease the work  Portable to all the major platforms Only need to commit changes to the source code and Jenkins will automate the rest Helps to know the

Read more

Working With Prometheus

What is Time Series database? How prometheus is good for time series metrix? What are components of prometheus? How prometheus works? Time Series Database Time series data is the sequence of data points collected at a regular intervals over a period of time (metrics). For eg:- device data, weather data, etc. The data require aggregation and analysis. Prometheus For Time Series Metrix Optimized for Time Series Data Built in service discovery Flexible Query Language Works in a Pull Model Uses

Read more

Ansible Playbook Programs

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

Read more

Ansible Adhoc Commands Lab & Excercise

Program 1 – Write a Ansible Adhoc Commands to create a group called “deploy“ Program 2 – 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. Program 4 – Write a Ansible Adhoc commands to start and enable the service named “httpd” Program 5 – Write a Ansible commands to create a file called “index.html” in

Read more

Services In Kubernetes

Services in Kubernetes are logical abstraction for a deployed group of pod in cluster. A service is responsible for exposing an interface to those pods, which enables network access from either within the cluster or between external processes and the service. Types Of Services In Kubernetes ClusterIP – exposes a service which is only accessible from within the cluster NodePort – exposes a services via static port on each node’s IP which help to access service from outside the cluster LoadBalancer

Read more

Declarative Languages Ruling the Cloud Environment

So, How does Declarative Language differ from compiled and interpreted language? Declarative languages, also called nonprocedural or very high level, are programming languages in which (ideally) a program specifies what is to be done rather than how to do it. In such languages there is less difference between the specification of a program and its implementation than in the procedural languages described so far. Where as a compiled language is a programming language which are generally compiled and an interpreted

Read more

POD – Kubernetes Life Line

A POD is basically an executing unit containing one or more containers . Even if one container inside the POD fails the entire POD fails. Types Of POD- POD in kuberenetes are generally used in two ways that is:- 1.POD that run Single Container 2. POD that run multiple Container Inside the POD The POD contains containers . Different POD are assigned with different IPs and the containers inside each POD shares the POD’s IP with different ports . All

Read more

Kubernetes : A boon for engineers

So, What exactly is Kubernetes ??? Born in google and later donated to CNCF as an open source system, Kubernetes is an open-source container-orchestration system which is used for automating computer application deployment, scaling, and management. Kubernetes a necessity ? So why do we need kubernetes if we have docker and containers . Generally with many features attached with docker and containers there were some problems too that included scalability and some networking issues. Kubernetes has the solution for these

Read more