Selfnotes/ansible playbook, install ansible

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now 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

Selfnotes/terraform-variables

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Write a terraform script using aws ec2 instance and github and apply following kind of variables – Types of Terraform variable – Number provider “aws” {region = “us-west-2”access_key = “”secret_key = “”} resource “aws_instance” “first-ec2” {ami = “ami-03d5c68bab01f3496” # us-west-2instance_type = “t2.micro” tags = {Name = “Abhishek Reddy”}} variable “numofusers” {type = numberdescription =

Read more

Selfnotes-terraform

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Write a comparison between Ansible Vs Docker Vs Terraform Terraform Ansible D Tool category Orchestration Configuration management Approach Immutable infrastructure Mutable infrastructure Language Declarative Imperative Provisioning Specializes in infrastructure provisioning Limited support for infrastructure provisioning LIfecycle management Lifecycle aware.  Maintains state of deployments. No lifecycle awareness Command line operation Yes Yes Agentless Yes Yes

Read more

Selfnotes/jenkins

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now “What is jenkins”??? Jenkins is an open-source automation tool written in Java with plugins built for Continuous Integration purposes. Jenkins is used to build and test your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. It also

Read more

Selfnotes-prometheus

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now What is Time Series database? time series database stores data as pairs of time(s) and value(s). By storing data in this way, it makes it easy to analyze time series, or a sequence of points recorded in order over time. How prometheus is good for time series metrix? No extensive set up needed. Allows

Read more

selfnotes-ansible/playbook

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now 1.Write 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. Install Apache name=httpd 4.Write a Ansible Playbook to start and enable the

Read more

Self-notes/Ansible

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Program 1 – Write a Ansible Adhoc Commands to create a group called “deploy create group deploy 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 create user deploy-user name=deploy-user shell=/bin/bash Program 3 – Write a Ansible

Read more

Selfnotes-Services

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now What is a Service? A service is a logical abstraction for a deployed group of pods in a cluster (which all perform the same function). 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

Read more

Selfnotes-Declarative lang

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now 1.Diff between Compiled Lang Vs Interpreted Lang Vs Declarative Lang? Compiler Lang : A compiled lang is a programming lang whose implementations are typically compilers (translators that generate machine code from source code), and not interpreters (step-by-step executors of source code, where no pre-runtime translation takes place). Interpreted lang : Interpreted lang is a programming lang which are generally interpreted,

Read more

Selfnote on PODS

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now Types of pod’s?? 1.one-container-per-Pod 2. Pods that runs multiple container that need to work together. What is pod?? Pod is nothing but similar to a group of containers with shared namespaces and shared filesystem volumes and no pod’s are re-deployed what pod contain’s???? 1.A unique IP address (which allows them to communicate with each

Read more

kubernetes-self notes

Limited Time Offer! For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly. Master DevOps, SRE, DevSecOps Skills! Enroll Now 1.What is Kubernet? Cluster together group of hosts running linux container’s i.e container orchestrator and moreover it is a open source platform means anyone can access this tool 2.Why Kubernetes ?? Kubernetes is a portable,workload placement,infrastructure abstraction and desired state that facilitates both declarative configuration and automation. 3.Kubernetes Architecuture??? Kubernetes cluster consists of a

Read more