<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tobi Aina on Medium]]></title>
        <description><![CDATA[Stories by Tobi Aina on Medium]]></description>
        <link>https://medium.com/@tobiaina?source=rss-3ad99fd7dc9c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dyNxHrija9ZpUNtWd1hbwA.jpeg</url>
            <title>Stories by Tobi Aina on Medium</title>
            <link>https://medium.com/@tobiaina?source=rss-3ad99fd7dc9c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 19:35:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tobiaina/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Container Orchestration]]></title>
            <link>https://medium.com/@tobiaina/container-orchestration-68236f6b6c5e?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/68236f6b6c5e</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[container-orchestration]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Sat, 18 Dec 2021 17:53:34 GMT</pubDate>
            <atom:updated>2021-12-19T08:35:03.410Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V569WQdC1NfH-fA4HUdRBA.jpeg" /></figure><p>Container orchestration is the management of individual web servers operating in containers through virtual partitions on data center hardware. Container orchestration is a means of maintaining the elastic framework for web servers in a data center on an automated basis in production. Administrators can establish resources that can be automatically started if web traffic increases over the capacity of a single server. For SaaS applications, this can scale to support millions of simultaneous users.</p><blockquote>Container orchestration is the automation of much of the operational effort required to run containerized workloads and services. This includes a wide range of things software teams need to manage a container’s lifecycle, including provisioning, deployment, scaling (up and down), networking, load balancing and more</blockquote><h3><strong>Why Do We Need Container Orchestration</strong></h3><p>Because containers are lightweight and ephemeral by nature, running them in production can quickly become a massive effort. Particularly when paired with microservices — which typically each run in their containers — a containerized application might translate into operating hundreds or thousands of containers, especially when building and operating any large-scale system.</p><h3>How Does Container Orchestration Work?</h3><p>Container orchestration works with tools like Kubernetes and Docker Swarm. Configurations files tell the container orchestration tool how to network between containers and where to store logs. The orchestration tool also schedules the deployment of containers into clusters and determines the best host for the container. After a host is decided, the orchestration tool manages the lifecycle of the container based on predetermined specifications. Container orchestration tools work in any environment that runs containers.</p><p>Orchestration tools for Docker include the following:</p><ul><li>Docker Machine — Provisions hosts and installs Docker Engine.</li><li>• Docker Swarm — Clusters multiple Docker hosts under a single host. It can also integrate with any tool that works with a single Docker host.</li><li>• Docker Compose — Deploys multi-container applications by creating the required containers.</li></ul><p>Orchestration tools for Kubernetes include the following features:</p><ul><li>Automated deployment and replication of containers.</li><li>• Online scale-in or scale-out of container clusters.</li><li>• Load balancing groups of containers.</li><li>• Automated rescheduling of failed containers.</li><li>• Controlled exposure of network ports to systems outside of the cluster.</li></ul><h3>Docker Container Orchestration vs. Kubernetes Container Orchestration</h3><p>In just a few short years, containers have dramatically changed the way software organizations build, ship, and maintain applications.</p><p>Container platforms, led by the seemingly ubiquitous Docker, are now being used to package applications so that they can access a specific set of resources on a physical or virtual host’s operating system. In microservice architectures, applications are further broken up into various discrete services that are each packaged in a separate container. The benefit, especially for organizations that adhere to continuous integration and continuous delivery (CI/CD) practices, is that containers are scalable and ephemeral — instances of applications or services, hosted in containers, come and go as demanded by need.</p><p>When you use a container orchestration tool, like Kubernetes or Docker Swarm (more on these shortly), you typically describe the configuration of your application in a YAML or JSON file, depending on the orchestration tool. These configurations files (for example, docker-compose.yml) is where you tell the orchestration tool where to gather container images (for example, from Docker Hub), how to establish networking between containers, how to mount storage volumes, and where to store logs for that container. Typically, teams will branch and version control these configuration files so they can deploy the same applications across different development and testing environments before deploying them to production clusters.</p><h3>Kubernetes</h3><p>Originally developed by Google as an offshoot of its Borg project, Kubernetes has established itself as the de facto standard for container orchestration. It’s the flagship project of the Cloud Native Computing Foundation, which is backed by such key players as Google, Amazon Web Services (AWS), Microsoft, IBM, Intel, Cisco, and RedHat.</p><p>Kubernetes continues to gain popularity with DevOps practitioners because it allows them to deliver a self-service Platform-as-a-Service (PaaS) that creates a hardware layer abstraction for development teams. Kubernetes is also extremely portable. It runs on Amazon Web Services (AWS), Microsoft Azure, the Google Cloud Platform (GCP), or in on-premise installations. You can move workloads without having to redesign your applications or completely rethink your infrastructure — which helps you to standardize on a platform and avoid vendor lock-in.</p><h3>Docker Swarm</h3><p>A hardy bit player, Even though Docker has fully embraced Kubernetes as the container orchestration engine of choice, the company still offers Swarm, its own fully integrated container orchestration tool. Slightly less extensible and complex than Kubernetes, it’s a good choice for Docker enthusiasts who want an easier and faster path to container deployments. Docker bundles both Swarm and Kubernetes in its enterprise edition in hopes of making them complementary tools.</p><p><strong>Thank you for taking your time to read</strong></p><p><strong>if you have a comment, suggestion, or just want to discuss DevOps please feel free to reach out. I hope to learn from you.</strong></p><p><strong>you can find me here for interesting topics and updates on </strong><a href="https://twitter.com/tobi_aina"><strong>Twitter</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68236f6b6c5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is Kubernetes That Important?]]></title>
            <link>https://medium.com/@tobiaina/is-kubernetes-that-important-34323d0f4e46?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/34323d0f4e46</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[container-orchestration]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[containers]]></category>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Sat, 18 Dec 2021 14:49:09 GMT</pubDate>
            <atom:updated>2021-12-18T17:59:23.567Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*q9SRVg3HZt-QGtskAkwExw.jpeg" /></figure><p>Kubernetes is also known as K8s, is an open-source system for automating deployment, scaling, and management of containerized applications. As an orchestrator, Kubernetes handles the work of scheduling containers on a cluster and also manages the workloads to ensure they run as you intended.</p><blockquote>“Container-based infrastructures and microservices offer a frontier for software deployment, creating significant potential for enterprises looking to deliver massively scalable, flexible, and distributed applications. Recently they have started to standardize around Kubernetes as a single target architecture, creating opportunities to align DevOps practices around a specific deployment target.”</blockquote><p>Kubernetes makes it easy to deploy and operate applications in a microservice architecture. It does so by creating an abstraction layer on top of a group of hosts so that development teams can deploy their applications and let Kubernetes manage the following activities:</p><ul><li>Controlling resource consumption by application or team</li><li>Evenly spreading application load across a hosting infrastructure</li><li>Automatically load balancing requests across the different instances of an application</li><li>Monitoring resource consumption and resource limits to automatically stop applications from consuming too many resources and restarting the applications again</li><li>Moving an application instance from one host to another if there is a shortage of resources in a host, or if the host dies</li><li>Automatically leveraging additional resources made available when a new host is added to the cluster</li><li>Easily performing <a href="https://medium.com/google-cloud/kubernetes-canary-deployments-for-mere-mortals-13728ce032fe">canary deployments</a> and rollbacks</li></ul><h3>Kubernetes History</h3><p>Kubernetes was originally developed and designed by engineers at Google. Google was one of the early contributors to Linux container technology and has talked publicly about how <a href="https://speakerdeck.com/jbeda/containers-at-scale">everything at Google runs in containers</a>. (This is the technology behind Google’s <a href="https://www.redhat.com/en/topics/cloud-computing/what-are-cloud-services">cloud services</a>.)</p><p>Google generates more than 2 billion container deployments a week, all powered by its internal platform, <a href="http://blog.kubernetes.io/2015/04/borg-predecessor-to-kubernetes.html">Borg</a>. Borg was the predecessor to Kubernetes, and the lessons learned from developing Borg over the years became the primary influence behind much of Kubernetes technology.</p><h3>What is the difference between Kubernetes and Docker?</h3><p>While it is common to compare Kubernetes with Docker, a more apt comparison is Kubernetes vs. Docker Swarm. Docker Swarm is Docker’s orchestration technology that focuses on clustering for Docker containers — tightly integrated into the Docker ecosystem and using its own API.</p><p>A fundamental difference between Kubernetes and Docker is that Kubernetes is meant to run across a cluster while Docker runs on a single node. Kubernetes is more extensive than Docker Swarm and is meant to coordinate clusters of nodes at scale in production in an efficient manner. Kubernetes pods — scheduling units that can contain one or more containers in the Kubernetes ecosystem — are distributed among nodes to provide high availability.</p><h3>Kubernetes Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6XHQsdSqtM3zn9_yAbdoRg.jpeg" /></figure><h3>The Kubernetes Master</h3><p>The Kubernetes master is the access point (or the control plane) from which administrators and other users interact with the cluster to manage the scheduling and deployment of containers. A cluster will always have at least one master but may have more depending on the cluster’s replication pattern.</p><h3>Nodes</h3><p>All nodes in a Kubernetes cluster must be configured with a container runtime, which is usually <a href="https://www.docker.com/">Docker</a>. The container runtime starts and manages the containers as Kubernetes deploys them to nodes in the cluster. Your applications (web servers, databases, API servers, etc.) run inside the containers.</p><h3>Deployments and Replicas</h3><p>A <a href="https://kubernetes.io/docs/concepts/workloads/controllers/deployment/">deployment</a> is a YAML object that defines the pods and the number of container instances, called replicas, for each pod. You define the number of replicas you want to have running in the cluster with a <a href="https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/">ReplicaSet</a>, which is part of the deployment object. So, for example, if a node running a pod dies, the replica set ensures that another pod is scheduled on another available node.</p><h3>Namespaces</h3><p>Namespaces allow you to create virtual clusters on top of a physical cluster. Namespaces are intended for use in environments with many users spread across multiple teams or projects. They assign resource quotas and logically isolate cluster resources.</p><h3>Labels</h3><p><a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/">Labels</a> are key/value pairs that you can assign to pods and other objects in Kubernetes. Labels allow Kubernetes operators to organize and select a subset of objects. For example, when monitoring Kubernetes objects, labels let you quickly drill down to the information you’re most interested in.</p><h3>Challenges To Kubernetes Adoption</h3><p>Kubernetes clearly has come a long way since it was first released. That kind of rapid growth, though, also involves occasional growing pains. Here are a few challenges with Kubernetes adoption:</p><p>1. The Kubernetes technology landscape can be confusing. One thing developers love about open-source technologies like Kubernetes is the potential for fast-paced innovation. But sometimes too much innovation creates confusion, especially when the central Kubernetes code base moves faster than users can keep up with it. Add a plethora of platforms and managed service providers, and it can be hard for new adopters to make sense of the landscape.</p><p>2. Forward-thinking dev and IT teams don’t always align with business priorities. When budgets are only allocated to maintain the status quo, it can be hard for teams to get funding to experiment with Kubernetes adoption initiatives, as such experiments often absorb a significant amount of time and team resources. Additionally, enterprise IT teams are often averse to risk and slow to change.</p><p>3. Teams are still acquiring the skills required to leverage Kubernetes. It wasn’t until a few years ago that developers and IT operations folks had to readjust their practices to adopt containers — and now, they have to adopt container orchestration, as well. Enterprises hoping to adopt Kubernetes need to hire professionals who can code, as well as know-how to manage operations and understand application architecture, storage, and data workflows.</p><p>4. Kubernetes can be difficult to manage. In fact, you can read any number of Kubernetes horror stories — everything from DNS outages to “a cascading failure of distributed systems” — in the <a href="https://github.com/hjacobs/kubernetes-failure-stories">Kubernetes Failure Stories GitHub repo</a>.</p><p><strong>Kubernetes architecture</strong> is straightforward and intuitive. The loose coupling between control plane and node allows for nearly infinite flexibility and the ability for an application to scale out virtually instantaneously to meet changing needs, to migrate users to new builds, and to support migration from on-premises to cloud-based nodes or between multiple clouds to take advantage of desired features of each cloud provider. Kubernetes can be very complex so it’s not every container orchestration that you need to use, cause of the kind of problems it solves only when it’s when need.</p><p><strong>Thank you for taking your time to read</strong></p><p><strong>if you have a comment, suggestion, or just want to discuss DevOps please feel free to reach out. I hope to learn from you.</strong></p><p><strong>you can find me here for interesting topics and updates on Twitter</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34323d0f4e46" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction To Docker: Deploying An Application — Part 2]]></title>
            <link>https://medium.com/@tobiaina/introduction-to-docker-deploying-an-application-part-2-df4140efd1e?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/df4140efd1e</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[docker-compose]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Sat, 04 Dec 2021 18:46:59 GMT</pubDate>
            <atom:updated>2021-12-04T18:50:10.432Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction To Docker: Deploying An Application — Part 2</h3><p>In the previous, <a href="https://medium.com/@tobiaina/introduction-to-docker-part-1-7282a418527">article </a>I touched on the components that make up the docker architecture; that is docker client, docker host, and docker registry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*U-N8jAGkNHi11e6E21mQBw.jpeg" /></figure><h3>Docker Host</h3><p>the docker host is made up of</p><ol><li>docker container</li><li>docker images</li></ol><h4>Docker Container</h4><p>A container is a runnable instance of an image. You can create, start, stop, move, or delete a container using the Docker API or CLI. You can connect a container to one or more networks, attach storage to it, or even create a new image based on its current state.</p><h4>Images</h4><p>An <em>image</em> is a read-only template with instructions for creating a Docker container. Often, an image is <em>based on</em> another image, with some additional customization. each docker container runs as an isolated process in the user space and takes up less space than regular VMs due to their layered architecture.</p><h3>How To Deploy An Application</h3><p>Docker Desktop it&#39;s an easy-to-install application for your Mac or Windows environment that enables you to build and share containerized applications and microservices. once you download <a href="https://www.docker.com/products/docker-desktop">Docker Desktop</a></p><pre>docker version</pre><p>you will get</p><pre>(env) aina@Tobis-MacBook-Air Docker example % docker version<br>Client:<br> Cloud integration: v1.0.22<br> Version: 20.10.11<br> API version: 1.41<br> Go version: go1.16.10<br> Git commit: dea9396<br> Built: Thu Nov 18 00:36:09 2021<br> OS/Arch: darwin/arm64<br> Context: default<br> Experimental: true</pre><pre>Server: Docker Engine — Community<br> Engine:<br> Version: 20.10.11<br> API version: 1.41 (minimum version 1.12)<br> Go version: go1.16.9<br> Git commit: 847da18<br> Built: Thu Nov 18 00:34:44 2021<br> OS/Arch: linux/arm64<br> Experimental: false<br> containerd:<br> Version: 1.4.12<br> GitCommit: 7b11cfaabd73bb80907dd23182b9347b4245eb5d<br> runc:<br> Version: 1.0.2<br> GitCommit: v1.0.2–0-g52b36a2<br> docker-init:<br> Version: 0.19.0<br> GitCommit: de40ad0</pre><p>so now we are going to build a docker image to print out “hello world”</p><p>I created an empty folder called it docker example (you can name anything you want) and inside of the folder I create a file which I name Dockerfile</p><pre>touch Dockerfile</pre><p>after that, I opened up my editor (I use visual studio code; you can use anyone you’re comfortable with ) to access the <em>Dockerfile </em>I opened</p><pre>FROM alpine</pre><pre>CMD [“echo”, “hello world”]</pre><p>go to the terminal and build your docker file</p><pre>docker build .</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pC80RDEaDpEE71YN6vYDUA.jpeg" /></figure><p>now that we have gotten to the point, we don’t have a named image, what we have here is an image ID</p><pre>94ae80a6c02f029fc83082701db78511d69c60d3dca1e</pre><pre>docker  run —-name test 94ae80a6c02f029fc83082701db78511d69c60d3dca1e</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RbCSP38beFeCIWAfgoP29g.jpeg" /></figure><p>there you have it, <em>hello world</em></p><p><strong>Thank you for taking your time to read</strong></p><p><strong>if you have a comment, suggestion, or just want to discuss DevOps please feel free to reach out. I hope to learn from you.</strong></p><p><strong>you can find me here for interesting topics and updates on </strong><a href="https://twitter.com/home"><strong>Twitter</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df4140efd1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction To Docker — Part 1]]></title>
            <link>https://medium.com/@tobiaina/introduction-to-docker-part-1-7282a418527?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/7282a418527</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[containers]]></category>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Fri, 03 Dec 2021 13:02:02 GMT</pubDate>
            <atom:updated>2021-12-06T19:54:18.678Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction To Docker: For Beginner— Part 1</h3><p><em>In this article we will be looking at what docker is, what can docker do, why docker is so important in DevOps</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6CuZoTy-PllVreequ-PDLA.png" /><figcaption><a href="https://www.docker.com/">https://www.docker.com</a></figcaption></figure><h3><strong>What Are Containers?</strong></h3><p>containers are software packages that have all the necessary components an application needs to run in any environment, whether it’s a private data center, a public cloud, or even the developer&#39;s personal machine you will get the same result across the board which solves one of the oldest problems between developers and operations. containers are completely isolated environment that has their own processor, services, network interfaces, mounts, etc. all sharing one operating system kernel.</p><p>there is a difference between containers and virtual machine, one of the major difference is that virtual machine runs on a hypervisor used to virtualize hardware component, each VM runs its own operating system (OS), a virtual copy of the hardware that the OS requires to run. while containers do not virtualize the hardware components, they virtualize the operating system; they sit on the physical servers and host its operating system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wIqcoVhN4BmRMp6deyRiuA.jpeg" /><figcaption><a href="https://www.netapp.com/blog/containers-vs-vms/">https://www.netapp.com/blog/containers-vs-vms/</a></figcaption></figure><h3>What Is Docker?</h3><p>docker is an open-source platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure in the same way you manage your application. it enables developers to package applications into containers with each container running its own dependency and its own libraries all on the same virtual machine (VM) and operating system (os) but within separate environments or containers.</p><h4><strong>The Advantage Of Using Docker</strong></h4><ol><li>it is lightweight.</li><li>you get a consistent and isolated environment.</li><li>it is cost-effective (compared to virtual machines).</li><li>its ability to run anywhere.</li><li>repeatability and automation</li></ol><h4>Docker Architecture</h4><p>docker follows a client-server architecture, which has 3 main components</p><ol><li>Docker Client</li><li>Docker Host</li><li>Docker Registry</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QqxpZx8nNRILZ__rQU-HZw.jpeg" /><figcaption><a href="https://morioh.com/p/47719a08c1e8">https://morioh.com/p/47719a08c1e8</a></figcaption></figure><h4>Docker Client</h4><p>The Docker client (docker) is the primary way that many Docker users interact with Docker. When you use commands such as docker run, the client sends these commands to dockerd, which carries them out. The docker command uses the Docker API. The Docker client can communicate with more than one daemon.</p><h4>Docker Host</h4><p>Docker Host is used to providing an environment to execute and run applications. It contains the docker daemon, images, containers, networks, and storage.</p><h4>Docker Registry</h4><p>A Docker <em>registry</em> stores Docker images. Docker Hub is a public registry that anyone can use, and Docker is configured to look for images on Docker Hub by default. You can even run your own private registry.</p><p>When you use the docker pull or docker run commands, the required images are pulled from your configured registry. When you use the docker push command, your image is pushed to your configured registry.</p><h4>List Of Docker Command</h4><ul><li>docker run — Runs a command in a new container.</li><li>docker start — Starts one or more stopped containers</li><li>docker stop — Stops one or more running containers</li><li>docker build — Builds an image from a Docker file</li><li>docker pull — Pulls an image or a repository from a registry</li><li>docker push — Pushes an image or a repository to a registry</li><li>docker export — Exports a container’s filesystem as a tar archive</li><li>docker exec — Runs a command in a run-time container</li><li>docker search — Searches the Docker Hub for images</li><li>docker attach — Attaches to a running container</li><li>docker commit — Creates a new image from a container’s changes</li></ul><p>Check out the complete list of commands in the <a href="https://docs.docker.com/engine/reference/commandline/docker/"><strong>Docker documentation</strong></a></p><p><strong>Thank you for taking your time to read</strong></p><p><strong>if you have a comment, suggestion, or just want to discuss DevOps please feel free to reach out. I hope to learn from you.</strong></p><p><strong>you can find me here for interesting topics and updates on </strong><a href="https://twitter.com/home"><strong>Twitter</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7282a418527" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Is YAML So Important?]]></title>
            <link>https://medium.com/@tobiaina/why-is-yaml-so-important-42cbdb04e0f2?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/42cbdb04e0f2</guid>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Sat, 27 Nov 2021 19:47:41 GMT</pubDate>
            <atom:updated>2021-12-03T12:41:07.047Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/216/1*X9mze_w_fdKDd1hsAl4zaA.png" /><figcaption><a href="https://www.vectorstock.com/royalty-free-vector/yaml-file-document-icon-vector-24700670">https://www.vectorstock.com/royalty-free-vector/yaml-file-document-icon-vector-24700670</a></figcaption></figure><h3>What is YAML?</h3><p>YAML (YAML Ain’t Markup Language) is a data serialization language that is used to write configurations files, that is applications written with different technologies, languages, etc, most times have different data structures. For you to be able to transfer files to one another you have to use a standards format that everyone can read.</p><p><em>Data serialization is the process of converting structured data to a format that allows sharing or storage of the data in a form that allows recovery of its original structure. In some cases, the secondary intention of data serialization is to minimize the data’s size which then reduces disk space or bandwidth requirements.</em></p><p>Most configuration files for DevOps tools like Kubernetes, Ansible, Terraform, etc. use serialization languages like JSON, XML, and YAML (they’re the most popular ones), and below I will explain briefly the differences between them</p><h3>JSON</h3><p>JSON(javascript object notation) is a data serialization written on javascript object syntax, it comes in a lightweight data-interchange format than xml. It is most commonly used on web applications, with JSON it uses a map data structure rather than a tree (xml is structured like a tree), JSON uses less data — which reduces cost and increases parse speed. The extension of JSON file is .json.</p><p>The beginning and close of an element are identified with tags ({}), with other elements and data inside the tags</p><p>Below is a simple JSON structure</p><pre>{</pre><pre>       “microservices”: [</pre><pre>            {</pre><pre>                “app”: “user-authentication”,</pre><pre>                “port”: 9000,</pre><pre>                “version”: “1.0”</pre><pre>            }</pre><pre>                       ]</pre><pre>}</pre><h3>XML</h3><p>XML is an extensible language that is designed to transfer and store data (doesn’t necessarily allow you to display that data), xml allows you to define markup elements and you can use your tag. The beginning and close of an element are identified with tags (&lt;&gt;), with other elements and data inside the tags. Xml is strict on formatting and if the formatting is wrong, the program that processes the data will return an error message. One of the few disadvantages of xml is that the file size due to its repetition in the syntax leads to higher storage and transportation cost. The extension of XML file is .xml.</p><pre>&lt;microservices&gt;</pre><pre>      &lt;microservices&gt;</pre><pre>         &lt;app&gt;user-authentication&lt;/app&gt;</pre><pre>         &lt;port&gt; 9000&lt;/port&gt;</pre><pre>         &lt;version&gt;1.0&lt;/version&gt;</pre><pre>      &lt;/microservices&gt;</pre><pre>&lt;/microservices&gt;</pre><h3>YAML</h3><p>I personally use and like YAML cause it is human-readable and intuitive, very straightforward great for writing configuration, and it is very compatible with DevOps tools like Ansible, Kubernetes, etc. YAML is a superset of JSON: any valid JSON file is also a valid YAML file</p><p>Below is an example of a YAML file (YAML files are stored in .yml or .yaml)</p><pre>microservices</pre><pre>     - app: user-authentication</pre><pre>       port: 9000</pre><pre>       verison: 1.0</pre><p>It is always a good idea to use a YAML validator or install a yml extension on your preferred IDE</p><h3>YAML Syntax</h3><h4>Key-Value Pairs</h4><p>Key-value pairs are the backbone of almost every YAML file, they are the architecture of YAML files. . Each pair is written as key: value, the key is a string that stores different datatypes, what is being stored in the value</p><p>key: value</p><p>app: user-authentication</p><h4>Comments</h4><p>Everything that starts with # yaml interprets it as a comment, it uses to explain why the key-value pair was written and give clarification to the next person reading, it can be written a comment anywhere in the YAML file before or after any attributes</p><pre>#comment here</pre><pre>- app: user-authentication</pre><pre>  port: 9000</pre><pre>#comment here</pre><pre>  verison: 1.0</pre><h4>Object</h4><p>An object is a group of key values</p><pre>microservices</pre><pre>- app: user-authentication</pre><pre>  port: 9000</pre><pre>  verison: 1.0</pre><h4>List</h4><p>The list item is a combination of a list of key-value pairs</p><pre>- app: user-authentication</pre><pre>  port: 9000</pre><pre>  verison: 1.0</pre><h4>Bolen</h4><p>In YAML you can have boolean values, where if its true, on and yes or its false, off and no</p><pre>light: yes</pre><pre>internet: no</pre><pre>football: false</pre><pre>basketball: true</pre><p>With xml (&lt;&gt;) or JSON ({} ) you have a special character to define the data structure but you don’t need or have that with YAML, the data structure in YAML is defined through line separation and spaces with indentation, you can space indent and space in xml and JSON as you wish but you get a validation error if you have one single space in the data structure wrong, this can come with its issue but this makes it the most human-readable and cleanest format of them all.</p><p><strong>Thank you for taking your time to read</strong></p><p><strong>if you have a comment, suggestion, or just want to discuss DevOps please feel free to reach out. I hope to learn from you.</strong></p><p><strong>you can find me here for interesting topics and updates on </strong><a href="https://twitter.com/home"><strong>Twitter</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42cbdb04e0f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction Into Terraform — Part 1]]></title>
            <link>https://medium.com/@tobiaina/introduction-into-terraform-part-1-73178229fa55?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/73178229fa55</guid>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Sat, 27 Nov 2021 19:04:54 GMT</pubDate>
            <atom:updated>2021-11-29T19:47:27.029Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction Into Terraform — Part 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*jS4FYUwWOtyx-rmljxAfZQ.jpeg" /></figure><h3><strong>What Is Terraform?</strong></h3><p><em>Terraform is an infrastructure as code (IaC) tool that allows you to build, change, and version infrastructure safely and efficiently.</em></p><p>Terraform allows you to automate and manage the infrastructure of your platform and service through code rather than hardware configuration.</p><h3><strong>What Is Infrastructure As Code?</strong></h3><p><em>infrastructure as code is the process of managing and provisioning computer data centers through a script or declarative tools, rather than physical hardware configuration or interactive configuration tools. </em>declarative tools are tools that you don’t have to define every step of how to automation is done, you just declare what you want or end result and terraform (as infrastructure as code) will figure out and compute it.</p><h3><strong>Advantage Of Terraform</strong></h3><ul><li>1) Improve multi-cloud infrastructure deployment.</li><li>2) Automated infrastructure management.</li><li>3) all Infrastructure is in one place.</li><li>4) Reduced development costs.</li><li>5) Reduced time to provision.</li></ul><h3><strong>Terraform Architecture</strong></h3><p>Terraform has 2 main components</p><ol><li>terraform core</li><li>providers</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BKqMHYB2yvEP4BtAqzp2QQ.png" /><figcaption><a href="https://www.devopsschool.com/blog/terraform-architecture-and-components-through-diagram/">https://www.devopsschool.com/blog/terraform-architecture-and-components-through-diagram/</a></figcaption></figure><p>Terraform core uses two input sources in order to achieve it with function. the first input source is the <strong><em>terraform configuration </em></strong>that is configured by the user. the user writes what he/she wants to be created or configured; written in a <strong><em>main.tf</em></strong><em> </em>file . and the second input source is terraform state where terraform holds current information about the infrastructure</p><p>So terraform core takes the input and figures out various plans for what steps to follow to get the desired output.</p><p>The second component are <strong><em>providers</em></strong>, such as cloud providers like AWS, GCP, Azure, or other Infrastructure as service platforms. It helps to create infrastructure on different levels. Let’s take an example where users create an AWS infrastructure, deploy Kubernetes on top of it, and then create services inside the cluster of Kubernetes. Terraform has multiple providers for various technologies; users can access resources from these providers through terraform. This is the basic working terminology of terraform that helps to provision and cover the complete application set up from infrastructure to fully developed application.</p><h3><strong>How Terraform Works</strong></h3><ol><li>Create project folder</li><li>Create the main.tf file with the contents</li></ol><pre>provider &quot;aws&quot; {<br>  region = &quot;eu-west-1&quot;<br>  access_key = &quot;my-access-key&quot;<br>  secret_key = &quot;my-secret-key&quot;<br>}</pre><p>3. Run terraform init</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WZjLlOw5dT8RAcqdLdlYNQ.jpeg" /></figure><p>We now have the project ready to deploy infrastructure in AWS,</p><p>In part 2 of this article series, I will show you how to deploy infrastructure in AWS</p><p><strong>Thank you for taking your time to read</strong></p><p><strong>if you have a comment, suggestion, or just want to discuss python please feel free to reach out. I hope to learn from you.</strong></p><p><strong>you can find me here for interesting topics and updates on </strong><a href="https://twitter.com/home"><strong>Twitter</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73178229fa55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Build A Calculator]]></title>
            <link>https://medium.com/@tobiaina/how-to-build-a-calculator-9f2bcd0c21fa?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f2bcd0c21fa</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Tue, 21 Sep 2021 09:54:02 GMT</pubDate>
            <atom:updated>2021-09-21T09:54:02.446Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eXv-QrWtS0bziv7YBSYRGw.jpeg" /></figure><p>I wrote on how to build a <a href="https://medium.com/@tobi.aina96/how-to-build-a-basic-calculator-with-python-45fc1ac4b9cd">basic calculator</a> that can only perform one function, now we are going to build a more advanced calculator that gives the user more choice to choose from to perform what kind of arithmetic expression he/she wants.</p><p>Now with our basic understanding of subtracting integers, we will apply the same principle but this time use the if statement.</p><p>what is an if statement?</p><p><em>an if statement evaluates whether an expression is true or false</em></p><p>If a statement is true the system executes it, if it’s not ideal an error message should pop up but the if-else statements execute it. I.e any input you put in will fall into another one of those categories either it’s true or not.</p><p>With this technique, we will be able to run multiple scenarios</p><h4>Multiple Scenarios</h4><pre># function to add two numbers</pre><pre>def add (num1, num2):</pre><pre>num1 + num2</pre><pre># function to subtract two numbers</pre><pre>def subtract (num1, num2):</pre><pre>num1 — num2</pre><pre># function to multiply two numbers</pre><pre>def multiply (num1, num2):</pre><pre>num1 * num2</pre><pre># functionto divide two numbers</pre><pre>def divide (num1, num2):</pre><pre>num1 / num2</pre><h4>Print Out</h4><p>This is used to execute the command line to give you an output</p><pre>print (“Please select operation -\n”</pre><pre>“1. Add \n”</pre><pre>“2. Subtract \n”</pre><pre>“3. Multiply \n”</pre><pre>“4. Divide \n “)</pre><h4>If Statement</h4><pre># Take input from the user</pre><pre>select = float(input(“Select operations from 1, 2, 3, 4 :”))</pre><pre>number_1 = float(input(“Enter first number: “))</pre><pre>number_2 = float(input(“Enter second number: “))</pre><pre>if select == 1:</pre><pre>result = float(number_1) + float(number_2)</pre><pre>print(result)</pre><pre>elif select == 2:</pre><pre>result = float(number_1) — (number_2)</pre><pre>print(result)</pre><pre>elif select == 3:</pre><pre>result = float(number_1) * (number_2)</pre><pre>print(result)</pre><pre>elif select == 4:</pre><pre>result = float(number_1) / (number_2)</pre><pre>print (result)</pre><pre>else:</pre><pre>print(“Invalid input”)</pre><h4>Output</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5vQhYomKDQt31QIM4IRl1w.jpeg" /></figure><h4>Upload The Code To Github</h4><ul><li>sign-in into your Github</li><li>open a new repository</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yv3H87Q86dkhsYTDnt2yCQ.jpeg" /></figure><p>add the code “<em>Add file”</em> from your system (localhost) into your repository</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A-JIZfLDNtyQFK2cNay9bw.jpeg" /></figure><p>here is the link to my <a href="https://github.com/tobey133/calculatorpy">code</a></p><h4>Conclusion</h4><p>I hope you have been able to understand the use of the if statement and its benefits, we have been able to cover both whole numbers and decimals with different scenarios from addition to multiplying.</p><p><strong>Thank you for taking your time to read</strong></p><p><strong>if you have a comment, suggestion, or just want to discuss python please feel free to reach out. I hoping to learn from you.</strong></p><p><strong>you can find me here for interesting topics and updates on </strong><a href="https://twitter.com/home"><strong>Twitter</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f2bcd0c21fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Build A Basic Calculator With Python]]></title>
            <link>https://medium.com/@tobiaina/how-to-build-a-basic-calculator-with-python-45fc1ac4b9cd?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/45fc1ac4b9cd</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Tue, 21 Sep 2021 05:02:36 GMT</pubDate>
            <atom:updated>2021-09-21T05:02:36.947Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q3wyUXSjiAiSWZHzoMAv2g.jpeg" /></figure><p>Python has gained a lot of popularity and has become the go-to programming language because it’s easy to learn its syntax emphasizing readability and it’s a great tool for arithmetic expression.</p><p>In these tutorials, I will be showing you how to build a basic calculator with python. I will be showing you how to subtract 2 numbers, this tutorial will give you knowledge on how to get input from users. Once we have successfully built our calculator I will push my code to my git repository and I will show you how it is done.</p><h3>Steps On How To Build a Calculator</h3><h4>Step 1: Creating Variables</h4><p>The first we want to do is create 2 variables where we can store inputs from a user</p><pre>num1 = input(“Enter a number: “)</pre><pre>num2 = input (“Enter another number: “)</pre><h4>Step 2: Inputting Our Variables</h4><p>They are two way to go about this, with either function int or float</p><p>the int function can only print out whole numbers, so once there’s an input with a decimal result is an error code. While with the function float () converts stored in a string into a decimal point; that means any number inputted or stored the function will interpret it with it having decimals (eg 10 =10.0)</p><p>My preferred method is using floats</p><pre>num1 = input(“Enter a number: “)</pre><pre>num2 = input (“Enter another number: “)</pre><pre>result = float (num1) — float (num2)</pre><h4>Step 3: Print Out The Result</h4><p>The print function is used to displace what we see on the screen i.e the final result/product</p><pre>print (result)</pre><p>When we join all these steps together</p><pre>num1 = input(“Enter a number: “)</pre><pre>num2 = input (“Enter another number: “)</pre><pre>result = float (num1) - float (num2)</pre><pre>print (result)</pre><p>output</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iUdyDnytk2bpCwP8yaINJw.jpeg" /></figure><h3>How To Push To Github</h3><p>there are two methods using the command line or github and github desktop, for this tutorial I will be using github and github desktop</p><ul><li>download github for desktop</li><li>if you are having issues setting up your githhub, I recommend you read this <a href="https://5minutebi.com/2020/03/15/setup-vscode-and-github-integration-on-macos/"><em>article</em></a><em>,</em> it’s give you a detail step on how to setup.</li><li>sign in into your github account or signup if you don’t have an account.</li><li>set up an connect git to your visual studio code.</li><li>there are two ways here on how to push your code to github, you can push it through visual studio code or you sign in into your github and push your code. for this toturial i will be signing into my github to push my code.</li><li>go to your repository and start a new one</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7psfachHgcSzzNhoZZmW-g.jpeg" /></figure><ul><li>create repository</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*diVFbrEmiMbX0FDvsLTbHQ.jpeg" /></figure><p>here is the link to my <a href="https://github.com/tobey133/calculatorpython">code</a></p><p>I hope this helps you understand variables and the use of arithmetic functions in the next article we will be looking at how to use loops to create a calculator with multi functions.</p><p><strong>Thank you for taking your time to reading</strong></p><p><strong>if you have a comment, suggestion or just want to discuss on python please feel free to reach out. i hoping to learn from you.</strong></p><p><strong>you can find me here for interesting topics and updates </strong><a href="https://twitter.com/home"><strong>twitter</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45fc1ac4b9cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VERSION CONTROL SYSTEM]]></title>
            <link>https://medium.com/@tobiaina/version-control-system-fe8d95947cd9?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe8d95947cd9</guid>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[version-control]]></category>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Tue, 21 Sep 2021 03:47:50 GMT</pubDate>
            <atom:updated>2021-09-21T03:47:50.479Z</atom:updated>
            <content:encoded><![CDATA[<h4>Today we will be looking at what a version control system is, why it is important for you as a DevOps engineer to understand it and its benefits, and the different types of version control systems we have.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*WW6aSR1AWNN5pVRc06VyYA.png" /></figure><p>I use to work in the construction industry as an electrical engineer and most of the time my work is at the mercy of the civil engineers, I have to wait for their work to get to a certain level before we collaborate to achieve the end goal, now just imagine if I don’t have to wait on/for them, I just do my work and they do theirs and then when we are done we just join it together and voila we have a house (wishful thinking) or when there’s a plumbing issue we don’t have to break a lot of walls to find out where the linkage is. Now with software development problems like this are solved with version control systems.</p><p>so what’s a version control system?</p><blockquote>A version control system records all the changes made to a file or set of files, so a specific version may be called later if needed. The system makes sure that all team members are working on the latest version of the file (everybody is on the same page) and is working simultaneously on the same project.</blockquote><h3>Benefits Of Version Control System</h3><ul><li>It helps with working simultaneously on the same source code</li><li>It helps with collaboration between employees storing different version</li><li>It helps with the modification of codes</li><li>It helps with having backups</li><li>It helps with rolling back the previous version (it archives all previous versions)</li><li>It helps in comparing previous and current versions to solves problems (eg. bugs)</li></ul><h3>Type Of Version Control System</h3><ol><li>Local version control system</li><li>Centralized version control system</li><li>Distributed version control system</li></ol><p><strong>Local Version Control system</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/0*39Js-HgVQxmicIT5" /></figure><p>Local version control system stores files on your local machine and every change made to that file are saved and only that version will be available, to be able to have the previous version of your file every change is stored as a patch (different versions showing the change made on it).</p><p><strong>Centralized version control system</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*GKgy5ayaXsH9XTN9x77OXw.jpeg" /></figure><p>Centralized version control system stores the file in a centralized location (server) where multiple people can have access to it, make the changes they want, and commit to the centralized copy.</p><p><strong>Distributed Version Control System</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*x6W70PmDJTxORzAnRW10MQ.jpeg" /></figure><p>Distributed version control system when cloning from the repository, the whole history of the file is copied to your local server, that is any changes made will be saved on your local server until they are explicitly shared, this was created just in case the centralized repository goes down, co-workers can still work together without the need of the centralized repository</p><p>There are a lot of very good version control systems like Github,GitLab, beanstalk perforce, apache subversion, aws code commit, etc</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe8d95947cd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is A Version Control System?]]></title>
            <link>https://medium.com/@tobiaina/version-control-system-39b72795f519?source=rss-3ad99fd7dc9c------2</link>
            <guid isPermaLink="false">https://medium.com/p/39b72795f519</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[version-control-system]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Tobi Aina]]></dc:creator>
            <pubDate>Sun, 12 Sep 2021 20:26:00 GMT</pubDate>
            <atom:updated>2021-09-12T21:12:07.156Z</atom:updated>
            <content:encoded><![CDATA[<h4>Today we will be looking at what a version control system is, why it is important for you as a devops engineer to understand it and it’s benefits and the different types of version control systems we have.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*WW6aSR1AWNN5pVRc06VyYA.png" /><figcaption><a href="https://opensource.com/article/19/3/move-your-dotfiles-version-control">https://opensource.com/article/19/3/move-your-dotfiles-version-control</a></figcaption></figure><p>I use to work in the construction industry as an electrical engineer and most of the times my work is at the mercy of the civil engineers, i have to wait for their work to get to a certain level before we collaborate to achieve the end goal, now just imagine if i don’t have to wait on/for them, i just do my work and they do theirs and then when we are done we just join it together and voila we have a house (wishful thinking) or when there’s a plumbing issue we don’t have to break a-lot of walls to find out were the linkage is. Now with software development problems like this are solved with version control systems.</p><p>so what’s a version control system?</p><blockquote>A version control system records all the changes made to a file or set of files, so a specific version may be called later if needed. The system makes sure that all team members are working on the latest version of the file (everybody is on the same page) and is working simultaneously on the same project.</blockquote><h3>Benefits Of Version Control System</h3><ul><li>It helps with working simultaneously on the same source code</li><li>It increases collaboration between employees</li><li>It helps with modification of codes</li><li>It doesn’t restrict workflow, you can write your code anywhere comfortable for you</li><li>It helps in comparing previous and current version to solves problems and understand your code better.</li></ul><p>Version control system importance in deveops can’t not be overemphasised with creating collaboration between teams that increases productive, efficiency which leads to less error and conflicting within teams. pushing of updates or new software into the repository can be done faster and by anyone within the team (accountability) and the most important benefits to me is it let me monitor and see the status of each step in the pipeline.</p><h4>Type Of Version Control System</h4><ol><li>Local version control system</li><li>Centralized version control system</li><li>Distributed version control system</li></ol><p><strong>Local Version Control system</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/0*39Js-HgVQxmicIT5" /></figure><p>Local version control system stores files on your local machine, and every change made to that file is saved and only that version will be available, to be able to have the previous version of your file every change is stored as a patch (different versions showing the change made on it).</p><p><strong>Centralized Version Control System</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*GKgy5ayaXsH9XTN9x77OXw.jpeg" /></figure><p>Centralized version control system stores the file in a centralized location (server) where multiple people can have access to it, make the changes they want and commit to the centralized copy.</p><p><strong>Distributed Version Control System</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*x6W70PmDJTxORzAnRW10MQ.jpeg" /></figure><p>Distributed version control system when cloning from the repository, the whole history of the file is copied to your local server, that is any changes made will be saved on your local server until they are explicitly shared, this was created just in case the centralized repository goes down, co-workers can still work together without the need of the centralized repository</p><p>There are alot of very good version control system like github, gitlab, beanstalk, perforce, apache subversion, aws codecommit, etc.</p><p>you can also run your code without version control system but just know you won’t have backups of your code and maintenance of your project will be very very tasking and almost impossible to achieve in a quick time, with so many demanding tasks like fixing bugs, working on consumers demand, updates, upscaling your skills. it’s not worth it risking your project and time working without it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39b72795f519" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>