Terraform Script for Modules
Terraform Script to setup web server ( using local module) and setup VPC module (using remote module)
Read moreDevOps – DevSecOps – SRE – DataOps – AIOps
Lets Learn, Do it & Share! Thats a DevOps!!!
Terraform Script to setup web server ( using local module) and setup VPC module (using remote module)
Read moreNumber String List Map Boolean
Read moreComparison B/W Ansible, Docker and Terraform Ansible Docker Terraform Ansible is a configuration management tool Docker is a container tool Terraform is an Orchestration tool It provides support for mutable infrastructure It provides support for immutable infrastructure It provides support for immutable infrastructure It follows a procedural language It follows a declarative language It follows a declarative language It provides complete support for packaging and templating It provides support for packaging and templating It provides partial support for packaging and
Read moreWhat is Jenkins ? Jenkins is an open-source automation tool it is an continues integration tool. It lets you execute a series of actions to achieve the continuous integration process. Jenkins can integrate every Devops tools such as Jira, git,Sonarqube etc. it can perform automatically the build and test and gives immediate feedback  making it easier for users to obtain a fresh build. it can also schedule and gives feedback. Jenkins releases are, Jenkins, enterprise Jenkins, Jenkinsx, and blueocean. Jenkins is
Read moreWhat is Time Series database ? A time series database is a database optimized for time stamped or time series data. 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. A time series database is built specifically for handling metrics and events or measurements that are time-stamped. How Prometheus is good for time series metrics ? Prometheus fundamentally stores all data as time series: streams of
Read moreWrite a Ansible Playbook to create a group called “deploy” 2.Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “deploy” and with /bin/bash shell. 3. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. 4. Write a Ansible Playbook to start and enable the service named “httpd” 5. Write a Ansible Playbook to create a file called “index.html” in /var/www/html with some dummy html contents. 6. Write a Ansible Playbook to
Read moreProgram 1 – Write a Ansible Adhoc Commands to create a group called “deploy” $ ansible -m groupadd -a”name=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. $ ansible -m usseradd -a”name=deploy-user group=deploy” 3. Ansible Adhoc commands install package named “httpd” in RHEL/centos. $ ansible localhost -m yum -a “name=httpd state=present”  4. Ansible Adhoc commands to start and enable the service named
Read moreWhat is a Service ?  A service is responsible for enabling network access to a set of pods. The set of Pods targeted by a Service is usually determined by a selector. What are the types of Services? 1.Cluster Ip : A service which is only accessible within the cluster. 2.NodePort : A service which is accessible outside the cluster via node ip. 3.NodePort :  A service which is accessible via the cloud provider’s load balancer. 4.ExternalName : External names are ones that are visible to
Read moreCreating a Pod with two containers in yaml
Read moreCompiled Language: It executes entire program in a single shot It is faster and more effecient eg : c, c++ … Interpreted Language: It executes one line at a time It is slow compare to complied language eg: python, … Declarative Language: it is non-procedular language declarative languages are fact oriented eg : json, xml, sql
Read moreWhat is Pod ? Pod is atomic unit of scheduling in the Kubernetes, It contains one or more containers. Types Of Pods : There are two methods in pods : loose coupling – Pod with one container 2. tight coupling – pod with multiple containers What pod contains ? Inside a Pod we can have one or more containers . Life cycle of Pod : There are three stages in life cycle of pod: 1.pending – when the pod is
Read moreWhat is Kubernetes ? Kubernetes is a open source container orchestration platform and supports datacenters outsourcing to public cloud service providers Why Kubernetes? Kubernetes provides services, support and tools are widely used. Kubernetes Architecture Kubernetes Architecture contains Master Node composed of etcd cluster, api-server, controller manager, scheduler and nodes composed of kublet and kube-proxy How Kubernetes Works ? Kubernetes keeps track of container application that are deployed into the cloud and it restarts, shutdown the containers .
Read more