<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>megha &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/author/megha/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bestdevops.com</link>
	<description>Lets Learn, Do it &#38; Share! Thats a Best DevOps!!!</description>
	<lastBuildDate>Fri, 27 May 2022 11:38:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>Assignment5.2(OpenShift)</title>
		<link>https://www.bestdevops.com/assignment5-2openshift/</link>
					<comments>https://www.bestdevops.com/assignment5-2openshift/#respond</comments>
		
		<dc:creator><![CDATA[megha]]></dc:creator>
		<pubDate>Fri, 27 May 2022 11:38:33 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24192</guid>

					<description><![CDATA[OpenShift: OpenShift is a cloud development Platform as a Service (PaaS) hosted by Red Hat. It’s an open source cloud-based [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">OpenShift:</h2>



<p class="wp-block-paragraph">OpenShift is a cloud development Platform as a Service (PaaS) hosted by Red Hat. It’s an open source cloud-based user-friendly platform used to create, test, and run applications, and finally deploy them on cloud. OpenShift is capable of managing applications written in different languages, such as Node.js, Ruby, Python, Perl, and Java. One of the key features of OpenShift is it is extensible, which helps the users support the application written in other languages.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/assignment5-2openshift/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Assignment5.1(Chef)</title>
		<link>https://www.bestdevops.com/assignment5-1chef/</link>
					<comments>https://www.bestdevops.com/assignment5-1chef/#respond</comments>
		
		<dc:creator><![CDATA[megha]]></dc:creator>
		<pubDate>Fri, 27 May 2022 11:30:29 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24081</guid>

					<description><![CDATA[Chef: Chef is a tool used for Configuration Management. Chef is an automation tool that provides a way to define [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Chef:</h2>



<p class="wp-block-paragraph">Chef is a tool used for Configuration Management. Chef is an automation tool that provides a way to define infrastructure as code. Infrastructure as code simply means that managing infrastructure by writing code rather than using manual processes. It can also be termed as programmable infrastructure. Chef uses a pure-Ruby, domain-specific language  for writing system configuration.</p>



<h2 class="wp-block-heading">Advantages of Chef:</h2>



<ol class="wp-block-list"><li>Accelerating Software Delivery</li><li>Increasing Service Resiliency</li><li>Improving Risk Management</li><li>Accelerating Cloud Adoption</li><li>Managing Both Data Center and Cloud Environments</li><li>Delivering All Your Infrastructure</li><li>Reduction of work time</li><li>Application to multiple servers at once</li><li>Reduction of operation cost</li><li>Redecoration of construction</li></ol>



<h2 class="wp-block-heading">Installation of chef workstation:</h2>



<ul class="wp-block-list"><li>wget https://packages.chef.io/files/stable/chef-workstation/22.5.923/el/7/chef-workstation-22.5.923-1.el7.x86_64.rpm</li></ul>



<ul class="wp-block-list"><li>ls</li><li>rpm -ivh chef-workstation-22.5.923-1.el7.x86_64.rpm</li><li>which chef</li><li>ls /usr/bin/chef*</li><li>chef version</li></ul>



<h2 class="wp-block-heading">Example program for recipe:</h2>



<p class="wp-block-paragraph">$ chef-apply filename.rb</p>



<p class="wp-block-paragraph">In file.rb type:</p>



<p class="wp-block-paragraph">file &#8216;/opt/first.txt&#8217;</p>



<p class="wp-block-paragraph">file &#8216;/opt/first.txt&#8217; do</p>



<p class="wp-block-paragraph">       action :delete</p>



<p class="wp-block-paragraph">end</p>



<p class="wp-block-paragraph">file &#8216;/opt/content.txt&#8217; do</p>



<p class="wp-block-paragraph">      content &#8220;This is my first program of chef&#8221;</p>



<p class="wp-block-paragraph">      mode 755</p>



<p class="wp-block-paragraph">      owner root</p>



<p class="wp-block-paragraph">end</p>



<p class="wp-block-paragraph">httpd</p>



<p class="wp-block-paragraph">create a index.html</p>



<p class="wp-block-paragraph">copy index.htmkl</p>



<p class="wp-block-paragraph">start</p>



<p class="wp-block-paragraph">package &#8216;name&#8217; do</p>



<p class="wp-block-paragraph">         package_name               &#8220;httpd&#8221;</p>



<p class="wp-block-paragraph">end</p>



<p class="wp-block-paragraph">file &#8216;index.html&#8217; do</p>



<p class="wp-block-paragraph">        content                         &#8220;&lt;h1&gt; Welcome to DevOpsSchool Chef Class&lt;/h1&gt;&#8221;</p>



<p class="wp-block-paragraph">end</p>



<p class="wp-block-paragraph">bash &#8216;extract_module&#8217; do</p>



<p class="wp-block-paragraph">           code &lt;&lt;-EOH</p>



<p class="wp-block-paragraph">                             cp index.html /var/www/html/</p>



<p class="wp-block-paragraph">           EOH</p>



<p class="wp-block-paragraph">end</p>



<p class="wp-block-paragraph">service &#8216;httpd&#8217; do</p>



<p class="wp-block-paragraph">           service_name           &#8220;httpd&#8221;</p>



<p class="wp-block-paragraph">             action                 :start</p>



<p class="wp-block-paragraph">end</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/assignment5-1chef/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Assignment4(Terraform)</title>
		<link>https://www.bestdevops.com/assignment4terraform/</link>
					<comments>https://www.bestdevops.com/assignment4terraform/#respond</comments>
		
		<dc:creator><![CDATA[megha]]></dc:creator>
		<pubDate>Thu, 26 May 2022 13:59:23 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=24033</guid>

					<description><![CDATA[Terraform: Terraform is an open source “Infrastructure as Code” tool, created by HashiCorp. A declarative coding tool, Terraform enables developers to use [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Terraform:</h2>



<p class="wp-block-paragraph">Terraform is an open source “Infrastructure as Code” tool, created by HashiCorp. A <em>declarative</em> coding tool, Terraform enables developers to use a high-level configuration language called HCL (HashiCorp Configuration Language) to describe the desired “end-state” cloud or on-premises infrastructure for running an application. It then generates a plan for reaching that end-state and executes the plan to provision the infrastructure.</p>



<h2 class="wp-block-heading">Example for Terraform Program:</h2>



<p class="wp-block-paragraph">provider “aws” {</p>



<p class="wp-block-paragraph">region = “us-west-1”</p>



<p class="wp-block-paragraph">}</p>



<p class="wp-block-paragraph">resource “aws instance” myec2″ {</p>



<p class="wp-block-paragraph">ami = “ami-12345qwert”</p>



<p class="wp-block-paragraph">instance_type = “t2.micro”</p>



<p class="wp-block-paragraph">}</p>



<h2 class="wp-block-heading">Terraform Commands:</h2>



<ul class="wp-block-list"><li><strong>Terraform apply </strong>: it executes the actions proposed in a terraform plan.</li><li><strong>Terraform plan</strong> :creates an execution plan, which let’s us to preview the changes that terraform plans to make to your infrastructure.</li><li><strong>Terraform init</strong> : it is used to initialize a working directory containing configuration files.</li><li><strong>Terraform destroy</strong> : terminates resources defined in terraform configuration.</li><li><strong>Terraform show</strong> :used to provide human readable output from a state or plan file.</li></ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/assignment4terraform/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Assignment3(Kubernetes)</title>
		<link>https://www.bestdevops.com/assignment3kubernetes/</link>
					<comments>https://www.bestdevops.com/assignment3kubernetes/#respond</comments>
		
		<dc:creator><![CDATA[megha]]></dc:creator>
		<pubDate>Wed, 25 May 2022 06:50:56 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=23922</guid>

					<description><![CDATA[Kubernetes: Kubernetes is an open-source container &#8211; orchestration system for automating application deployment, scaling, and management. It was originally designed by [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Kubernetes:</h2>



<p class="wp-block-paragraph">Kubernetes  is an open-source container &#8211; orchestration system for automating application deployment, scaling, and management. It was originally designed by Google, and is now maintained by the Cloud Native Computing Foundation. Kubernetes is also known as k8s or kube. Kubernetes was first developed by engineers at Google before being open sourced in 2014.</p>



<h2 class="wp-block-heading">Reasons to use Kubernetes are:</h2>



<ol class="wp-block-list"><li>Vendor-agnostic</li><li>Service discovery</li><li>Invocation</li><li>Elasticity</li><li>Resilience</li></ol>



<h2 class="wp-block-heading">Components of Kubernetes:</h2>



<ul class="wp-block-list"><li><strong>Kubernetes Cluster</strong>: When we have Kubernetes set up on our systems, we get a cluster. A Cluster can be considered as a set of worker machines or VMs, called nodes, that would run the containerized applications. Every cluster node has at least a worker node in it and a manager node.</li><li><strong>Pods</strong>: The smallest unit of deployment of an application. It is ephemeral in nature.</li><li><strong>Worker nodes</strong>: The worker nodes are the worker machines or VMs host and runs the pods of the deployed workload on them.</li><li><strong>Workloads</strong>: The application-related deployment that needs to bind the services and other features to the application is configured by workload.</li><li><strong>Control Plane</strong> : The control plane manages the worker nodes, pods, and all the communication between the network and services.</li><li><strong>Node components</strong>: These components run actively on every node within the cluster to ensure the orchestration of the running pods and services.</li></ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/assignment3kubernetes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Assignment2(Docker)</title>
		<link>https://www.bestdevops.com/assignment2docker/</link>
					<comments>https://www.bestdevops.com/assignment2docker/#respond</comments>
		
		<dc:creator><![CDATA[megha]]></dc:creator>
		<pubDate>Tue, 24 May 2022 12:46:08 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=23797</guid>

					<description><![CDATA[Docker: Docker&#160;is a set of&#160;platform as a service&#160;(PaaS) products that use OS level virtualization&#160;to deliver software in packages called&#160;containers.&#160;The service [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Docker:</h2>



<p class="wp-block-paragraph">Docker&nbsp;is a set of&nbsp;platform as a service&nbsp;(PaaS) products that use OS level virtualization&nbsp;to deliver software in packages called&nbsp;<em>containers</em>.&nbsp;The service has both free and premium tiers. The software that hosts the containers is called&nbsp;Docker Engine. Docker can package an application and its dependencies in a virtual container that can run on any Linux, Windows, or macOS computer. This enables the application to run in a variety of locations. Docker containers are lightweight, a single server or virtual machine can run several containers simultaneously.</p>



<figure class="wp-block-image size-large is-resized"><img fetchpriority="high" decoding="async" src="http://www.bestdevops.com/wp-content/uploads/2022/05/docker-architecture-100726627-large-1024x575.jpg" alt="" class="wp-image-23819" width="911" height="511" srcset="https://www.bestdevops.com/wp-content/uploads/2022/05/docker-architecture-100726627-large-1024x575.jpg 1024w, https://www.bestdevops.com/wp-content/uploads/2022/05/docker-architecture-100726627-large-300x169.jpg 300w, https://www.bestdevops.com/wp-content/uploads/2022/05/docker-architecture-100726627-large-768x431.jpg 768w, https://www.bestdevops.com/wp-content/uploads/2022/05/docker-architecture-100726627-large-375x210.jpg 375w, https://www.bestdevops.com/wp-content/uploads/2022/05/docker-architecture-100726627-large.jpg 1200w" sizes="(max-width: 911px) 100vw, 911px" /></figure>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Container:</h2>



<p class="wp-block-paragraph">A Docker container is a standardized, encapsulated environment that runs applications. A container is managed using the Docker API or CLI. Containers are an abstraction at the app layer that packages code and dependencies together. Multiple containers can run on the same machine and share the OS kernel with other containers, each running as isolated processes in user space. Containers take up less space than VMs  can handle more applications and require fewer VMs and Operating systems.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="815" src="https://www.bestdevops.com/wp-content/uploads/2022/05/docker-container-1024x815.png" alt="" class="wp-image-23882" srcset="https://www.bestdevops.com/wp-content/uploads/2022/05/docker-container-1024x815.png 1024w, https://www.bestdevops.com/wp-content/uploads/2022/05/docker-container-300x239.png 300w, https://www.bestdevops.com/wp-content/uploads/2022/05/docker-container-768x611.png 768w, https://www.bestdevops.com/wp-content/uploads/2022/05/docker-container-1536x1222.png 1536w, https://www.bestdevops.com/wp-content/uploads/2022/05/docker-container.png 1888w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2 class="wp-block-heading">Advantages of Docker:</h2>



<ul class="wp-block-list"><li>Return on Investment and Cost Savings&nbsp;</li><li>Standardization and Productivity</li><li>Continuous Deployment and Testing</li><li>Compatibility and Maintainability</li><li>Simplicity and Faster Configurations</li></ul>



<h2 class="wp-block-heading">Commands used:</h2>



<p class="wp-block-paragraph">curl -fsSL get.docker.com -o get-docker.sh<br>sudo sh get-docker.sh<br>sudo systemctl enable docker<br>sudo systemctl start docker<br>docker version<br>docker info </p>



<p class="wp-block-paragraph"><strong>Installation of docker using above commands</strong></p>



<p class="has-text-align-left wp-block-paragraph">docker images<br> docker pull httpd</p>



<p class="wp-block-paragraph">docker ps -a<br>docker stop eed09d3f6193<br>docker ps -a<br> docker restart eed09d3f6193<br>docker ps -a<br> docker kill eed09d3f6193<br> docker ps -a<br> docker start eed09d3f6193<br> docker ps -a<br> docker pause eed09d3f6193<br> docker ps -a<br> docker unpause eed09d3f6193<br> docker ps -a<br> docker stop eed09d3f6193<br> docker ps -a<br> docker rm eed09d3f6193<br> docker ps -a</p>



<p class="wp-block-paragraph"><strong>Pulling the image and performing operations like start, stop, pause, unpause, kill, remove using above commands.</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/assignment2docker/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Assignment1(DevOps)</title>
		<link>https://www.bestdevops.com/23625-2/</link>
					<comments>https://www.bestdevops.com/23625-2/#respond</comments>
		
		<dc:creator><![CDATA[megha]]></dc:creator>
		<pubDate>Mon, 23 May 2022 10:35:47 +0000</pubDate>
				<category><![CDATA[DevOps]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=23625</guid>

					<description><![CDATA[DevOps is a Culture of practices that collaborates Development and Operational Team. Advantages of DevOps are: 1.Continuous Delivery 2.Innovation 3.Process [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>DevOps is a Culture of practices that collaborates Development and Operational Team.</strong></p>



<figure class="wp-block-image size-large is-resized is-style-default"><img decoding="async" src="http://www.bestdevops.com/wp-content/uploads/2022/05/DevOps-processes-1024x538.png" alt="" class="wp-image-23643" width="309" height="134" /></figure>



<p class="wp-block-paragraph"><strong>Advantages</strong> <strong>of DevOps are:</strong></p>



<p class="wp-block-paragraph">1.Continuous Delivery</p>



<p class="wp-block-paragraph">2.Innovation</p>



<p class="wp-block-paragraph">3.Process Optimization</p>



<p class="wp-block-paragraph">4.Fast Delivery</p>



<p class="wp-block-paragraph">5.Correction of Defects</p>



<p class="wp-block-paragraph">6.Digital Transformation</p>



<p class="wp-block-paragraph">7.Collaboration</p>



<p class="wp-block-paragraph">8.Quality</p>



<p class="wp-block-paragraph">9. Visibility </p>



<p class="wp-block-paragraph">10.Reduced Risk of Change</p>



<p class="wp-block-paragraph"><strong>Tools we use in DevOps are:</strong></p>



<p class="wp-block-paragraph">-&gt; Jenkins</p>



<p class="wp-block-paragraph">-&gt; Docker</p>



<p class="wp-block-paragraph">-&gt; Nagios</p>



<p class="wp-block-paragraph">-&gt; Ansible</p>



<p class="wp-block-paragraph">-&gt; GitHub</p>



<p class="wp-block-paragraph">-&gt; Bitbucket</p>



<p class="wp-block-paragraph">-&gt; Vagrant</p>



<p class="wp-block-paragraph">-&gt; Phantom</p>



<p class="wp-block-paragraph">-&gt; Slack</p>



<p class="wp-block-paragraph">-&gt; Sentry</p>



<p class="wp-block-paragraph"><strong>Implementation of DevOps:</strong></p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" src="http://www.bestdevops.com/wp-content/uploads/2022/05/devops-implementation.png" alt="" class="wp-image-23688" width="544" height="272" srcset="https://www.bestdevops.com/wp-content/uploads/2022/05/devops-implementation.png 800w, https://www.bestdevops.com/wp-content/uploads/2022/05/devops-implementation-300x150.png 300w, https://www.bestdevops.com/wp-content/uploads/2022/05/devops-implementation-768x384.png 768w" sizes="auto, (max-width: 544px) 100vw, 544px" /></figure>



<p class="wp-block-paragraph">First we have to Organize DevOps Initiatives and then develop the strategy. Containerizing, Integrating Infrastructure automation with CI/CD tools. Increasing the amount of test automation and aligning QA with development and finally total application performance monitoring.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bestdevops.com/23625-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
