DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (2024)

Table of Contents
Activity Guide 1: Linux & Shell/Bash Scripting Activity Guide 2: How to setup the GitHub and Git local Activity Guide 3: How to do the push and pull from Git to GitHub Activity Guide 4: How to import a new repo from another GitHub to our GitHub Activity Guide 5: Create a FREE AWS Account Activity Guide 6: How to setup a new Jenkins Server in VM Activity Guide 7: How to set up a new project in Jenkins to pull the code from GitHub Activity Guide 8: How to setup the CICD with Git, Maven, artifacts Activity Guide 9: How to setup the CICD with Apache tomcat for java applications Activity Guide 10: How to install Docker Activity Guide 11: Working With Docker Images Activity Guide 12: Work on containers and execute some commands inside it Activity Guide 13: How to install Ansible in VM Activity Guide 14: How to setup the inventory of Ansible Activity Guide 15: How to run the ansible Ahdoc commands Activity Guide 16: How to run a playbook in Ansible Activity Guide 17: Register For Azure Free Trial Account Activity Guide 18: Azure DevOps Services walkthrough Activity Guide 19: AWS DevOps Services walkthrough Activity Guide 20: Installing Terraform & Visual Studio Code on Windows Activity Guide 21: Getting Started With Terraform in AWS Activity Guide 22: Creating An EC2 Instance on AWS using Terraform Activity Guide 23: Modifying and Deleting Resources Activity Guide 24: Creating VPC and Subnet Real-Time Projects: These consist of various projects ArgoCD (GitOps CD) to Deploy App to K8s Cluster Azure DevOps Automate Infra Deployment on Azure Cloud with Terraform & Azure Pipeline (CI_CD) Create a Containerized Application Using Azure Kubernetes Service (AKS) Deploy App on AKS Cluster using Jenkins (CI/CD) Automating Azure Infrastructure(Virtual Network, Subnet, and Load Balancer) Setup with Terraform Certifications DevOps Foundations Certified [AZ-400] Microsoft Azure DevOps Certification Exam AWS Certified DevOps Engineer Professional [CKA] Certified Kubernetes Administrator Related/References Next Task For You References

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (1)

This blog post is your pathway to unlocking a rewarding career in the field of DevOps. Explore our comprehensive Step-By-Step Activity Guides within the Job-Oriented training program, meticulously designed to not only elevate your CV but also position you for success in landing your dream job. These resources are crafted to equip you with the sought-after skills by employers, empowering you to create an impressive CV and confidently excel in job interviews.

Here is the list of our activity guides:

    • Lab 2: How to setup the GitHub and Git local
    • Lab 3: How to do the push and pull from Git to GitHub
    • Lab 4 : How to import a new repo from other GitHub to our GitHub
    • Lab 5: Create FREE AWS Account
    • Lab 6: How to setup a new Jenkins Server in VM
    • Lab 7: How to setup a new project in Jenkins to pull the code from GitHub
    • Lab 8: How to setup the CICD with Git, Maven, artifacts
    • Lab 9: How to setup the CICD with Apache tomcat for java applications.
    • Lab 10: How to install Docker in VM
    • Lab 11: Working With Docker Images
    • Lab 12: Work on containers and execute some commands inside it
    • Lab 13: How to install Ansible in VM
    • Lab 14: How to setup the inventory of Ansible
    • Lab 15: How to run the ansible Ahdoc commands
    • Lab 16: How to run a playbook in Ansible
    • Lab 18: Azure DevOps Services walkthrough
    • Lab 19: AWS DevOps Services walkthrough
    • Lab 21: Getting Started With Terraform in AWS
    • Lab 22: Creating An EC2 Instance on AWS using Terraform
    • Lab 23: Modifying and Deleting Resources
    • Lab 24: Creating VPC and Subnet
    • Real-Time Projects
    • ArgoCD (GitOps CD) to Deploy App to K8s Cluster
    • Create a Containerized Application Using Azure Kubernetes Service (AKS)
    • Deploy App on AKS Cluster using Jenkins (CI/CD)
    • Automating Azure Infrastructure(Virtual Network, Subnet, and Load Balancer) Setup with Terraform

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (2)

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (3)

Activity Guide 1: Linux & Shell/Bash Scripting

In this section of Lab guides, we will learn the basics of shell/bash scripting which is the crucial thing in the world of devOps.

The guide will cover:

  • Create a simple Bash Script
  • Define variables in Bash Script
  • Arithmetic Operations & Conditional Statements
  • Comparison & Logical Operators
  • Loops in Bash

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (4)

Activity Guide 2: How to setup the GitHub and Git local

The first thing you must do is open an account on GitHub and then set up Git.

This activity guide covers steps for:

  • Installing Git on Windows.
  • Signing Up for GitHub.
  • Creating a Repository.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (5)

To Download Git Click here

After installing Git, we will create an account on GitHub.

To create an account on GitHub, click here

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (6)

Activity Guide 3: How to do the push and pull from Git to GitHub

Once we are done with installing Git and creating an account on GitHub, we will be learning about how to perform basic operations on GitHub like creating a repo and pushing or pulling anything.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (7)

“git push -u origin master” is used for pushing local content to GitHub.

Activity Guide 4: How to import a new repo from another GitHub to our GitHub

In this lab, we will learn, How to import a new repo from another GitHub to our GitHub

If you have a project hosted on another version control system, you can use the GitHub Importer tool to automatically import it to GitHub.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (8)

Activity Guide 5: Create a FREE AWS Account

Amazon Web Services (AWS) is offering prospective members a free 12-month trial account to obtain hands-on experience with all of the services offered by AWS. Amazon provides a number of various services that we can utilise with certain constraints to gain hands-on experience and gain a better understanding of AWS Cloud services as well as routine business use.

With the AWS Free Tier account, we have a limited amount of time to access the services without being charged. In this section, we will look at how to sign up for an AWS FREE Tier Account.

Check out our step-by-step blog How To Create AWS Free Tier Account to learn how to create a free AWS account.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (9)

Activity Guide 6: How to setup a new Jenkins Server in VM

Jenkins is a free and open-source automation server that connects with a variety of AWS Services, including AWS CodeCommit, AWS CodeDeploy, Amazon EC2 Spot, and Amazon EC2 Fleet. Amazon Elastic Compute Cloud (Amazon EC2) can be used to quickly launch a Jenkins application on AWS.

This Activity guide walks you through the process of deploying a Jenkins application. You will launch an EC2 instance, install Jenkins on that instance, and configure Jenkins to automatically spin up Jenkins build slave instances if build abilities need to be augmented on the instance.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (10)

Activity Guide 7: How to set up a new project in Jenkins to pull the code from GitHub

Jenkins is the most famous CI/CD tool in the DevOps era. We already know that Jenkins can be integrated with version control tools, build tools, continuous integration tools, configuration management tools, and so on. So, let’s get started with Jenkins integration with one of the most common version control tools, Git.

We will learn about Jenkins GitHub Integration in this guide.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (11)

Activity Guide 8: How to setup the CICD with Git, Maven, artifacts

Maven is a prominent open-source build tool created by the Apache Group that allows you to build, publish, and deploy several projects at the same time for improved project management. The tool enables developers to create and document the lifecycle framework.

As we discussed above, Jenkins is the most famous CI/CD tool. In this Activity guide, we will be learning how we can deploy an application using Jenkins, Maven, and Git.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (12)

Activity Guide 9: How to setup the CICD with Apache tomcat for java applications

Apache Tomcat is a Java servlet container that is open source that implements various Java Enterprise Specs, including the Websites API, Java-Server Pages, and, lastly, the Java Servlet.

It started out as the reference implementation for the initial Java-Server Pages and Java Servlet API. It is still one of the most extensively used java servers due to features such as high extensibility, a solid core engine, and a well-tested and durable design.

We used the term “servlet” several times in this article; what is a java servlet? It is a type of software that allows the webserver to process dynamic (java-based) content utilizing HTTP protocols.

In this Activity guide, we cover How to set up the CI/CD with Apache tomcat for java applications.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (13)

Activity Guide 10: How to install Docker

Docker is an open platform for app development, shipping, and running. Docker allows you to decouple your apps from your infrastructure, allowing you to release software more quickly. Docker allows you to manage your infrastructure in the same manner that you control your applications. You may drastically minimize the time between writing code and executing it in production by utilizing Docker’s methodology for fast shipping, testing, and deploying code.

Docker is available for download and installation on Windows Os, Linux, and macOS.

To know how to install docker on your machine read our blog onDocker Installation.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (14)

Activity Guide 11: Working With Docker Images

Docker images serve as a template for creating a Docker container. Images are read-only templates that provide Docker container creation instructions. A Docker image is a multi-layered file that is used to execute code in a Docker container.

In this Activity guide, we coverhow to Create/Push an Image, how to Tag images, Inspect Image details, Listing out Images, Delete Images from Local repo.

Read our blog to get an idea ofDocker Image

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (15)

Activity Guide 12: Work on containers and execute some commands inside it

A Docker container is a runnable version of an image. Containers can be built, started, stopped, paused, and removed using the Docker API and CLI. You can attach storage to a container, connect it to one or more networks, and even create a new image based on its existing state.

This Activity guide covers how to create/delete a container, the container’s lifecycle, inspecting container details, listing containers, and executing inside a container.

Read our blog to get an idea of theDocker container.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (16)

Know more:aboutContainer Orchestrationand Management Options

Activity Guide 13: How to install Ansible in VM

Ansible is a software program that provides cross-platform computer assistance through simple yet effective automation. It is primarily aimed at IT professionals, who use it for application deployment, workstation and server updates, cloud provisioning, configuration management, intra-service orchestration, and practically anything else that a systems administrator does on a weekly or daily basis. Ansible does not rely on agent software and does not require any additional security infrastructure, making it simple to set up.

In this Lab, you will learn how to install Ansible on AWS EC2 Linux Instance (VM) and check the Ansible version. You can create and configure the Ansible locally on your own Linux VM or your Linux Machine.

AWS is in demand with Ansible in the Industry, and for this reason, we are working on AWS Cloud for configuring Ansible.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (17)

Activity Guide 14: How to setup the inventory of Ansible

Ansible runs on many systems in your infrastructure simultaneously. It does it by picking portions of Ansible’s inventory file systems, which defaults to being stored in the location/etc/ansible/hosts. You can define a different inventory file using the-i <path>option on the command line.

In this activity guide, we will set up an Ansible controller that communicates with 2 target machines.

We will also configure inventory files and run commands to test if our configuration is working.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (18)

Activity Guide 15: How to run the ansible Ahdoc commands

Ansible ad hoc commands are one-liners composed to perform a particular task, like performing a quick task over various machines.

In this Lab, we will learn how to use Ad-hoc commands in Ansible Playbook.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (19)

Activity Guide 16: How to run a playbook in Ansible

Playbooks register and perform Ansible’s configuration, deployment, and orchestration functions. They can specify a policy you want your remote systems to implement or a set of actions in a standard IT process.

Modules are script-like programs written to specify the desired state of the system. A code editor is used to write Modules. Modules are written by the developer and executed via SSH. Modules are part of a more extensive program called Playbook. Ansible module is a standalone script that is used inside an Ansible Playbook.

Here, you’ll learn how to create an Ansible Playbook from Scratch and test the same playbook.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (20)

Activity Guide 17: Register For Azure Free Trial Account

The first thing you must do is toget a Trial Account for Microsoft Azure.(You get200 USD FREE Creditfrom Microsoft to practice)

Microsoft Azure is one of the top choices for any organization due to its freedom to build, manage, and deploy applications. Here, we will look at how to register for theMicrosoft AzureFREE Trial Account,click here.

Check out our blog to know how to create aFree Azure account.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (21)

Activity Guide 18: Azure DevOps Services walkthrough

Azure DevOps offers developer services that enable teams to plan their work, collaborate on code development, and build and deploy apps. Azure DevOps fosters a collaborative culture and set of practices that bring together software engineers, project managers, and contributors. It enables enterprises to produce and enhance products at a far faster rate than traditional software development methodologies allow.

In this Activity Guide, we will be learning about the various services of Azure DevOps.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (22)

Checkout the blog to learn more about Azure DevOps

Activity Guide 19: AWS DevOps Services walkthrough

AWS offers a suite of services designed to help businesses build and deliver products fast and reliably using AWS and DevOps principles. These services make it easier to supply and manage infrastructure, deploy application code, automate software release procedures, and monitor the performance of your application and infrastructure.

In this Activity Guide, we will be learning about the various services of AWS DevOps.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (23)

Checkout the blog to learn more about AWS DevOps

Activity Guide 20: Installing Terraform & Visual Studio Code on Windows

In this section of the Activity guide, we will cover:

This lab guides you in downloading and installing Terraform on your Windows machine. Dive into Infrastructure as Code by crafting Terraform scripts to manage your setup. Enhance your development experience by setting up Visual Studio Code and adding the Terraform extension. This combination streamlines coding, providing syntax highlighting and auto-completion, ensuring a smooth transition to IaC methodologies.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (24)

Activity Guide 21: Getting Started With Terraform in AWS

This Activity guide provides an overview of three key aspects when using Terraform to manage AWS resources. It outlines the process of adding an AWS provider to establish a connection with your AWS account. It highlights the importance of securing your AWS credentials to validate Terraform operations, and lastly, it explains how to generate and manage AWS secret credentials, an essential step in ensuring the security of your infrastructure.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (25)

Activity Guide 22: Creating An EC2 Instance on AWS using Terraform

This Activity guide provides a concise overview of essential aspects when using Terraform to create an EC2 instance on AWS. It introduces the syntax involved in defining an EC2 instance within a Terraform configuration. It also guides you through fundamental Terraform commands, including terraform init for initialization, terraform plan for infrastructure preview, and terraform apply for actual resource provisioning

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (26)

Activity Guide 23: Modifying and Deleting Resources

This Activity guide concisely overviews essential tasks when using Terraform to manage AWS EC2 instances. It encompasses modifying a resource, which allows you to adapt to changing infrastructure needs and removing specific resources to streamline your environment. Additionally, it explains the procedure for destroying all resources, a vital step when resources are no longer required, enabling you to manage your AWS infrastructure with Terraform efficiently.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (27)

Activity Guide 24: Creating VPC and Subnet

This Activity guide provides a concise overview of fundamental tasks when utilizing Terraform to establish an AWS Virtual Private Cloud (VPC) and its associated subnets. It outlines the process of creating the VPC, which serves as a secure network environment and creating subnets within it. These subnets are essential for segmenting your network resources, achieving isolation, and aligning with specific architectural requirements, making it a crucial starting point for building robust cloud infrastructure using Terraform.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (28)

Real-Time Projects: These consist of various projects

In this segment, we’ll delve into hands-on, real-world projects that not only enhance your skill set but also serve as impactful additions to your CV, significantly bolstering your candidacy when applying for jobs

ArgoCD (GitOps CD) to Deploy App to K8s Cluster

In this project, we will employ ArgoCD, a GitOps continuous delivery tool, to automatically synchronize and deploy applications to Kubernetes clusters. This ensures consistency and traceability through version-controlled manifests.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (29)

Azure DevOps Automate Infra Deployment on Azure Cloud with Terraform & Azure Pipeline (CI_CD)

In this project, you will learn how to incorporate Terraform into Azure Pipelines (CI/CD) for implementing Infrastructure as Code (IaC) to create Azure WebApp and deployment of .Net Application (same logic can be used to deploy Java or Python or any other application) on Azure WebApp

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (30)

Create a Containerized Application Using Azure Kubernetes Service (AKS)

This project involves the creation of an Azure Kubernetes Service (AKS) cluster and the deployment of a containerized application onto the AKS cluster using Docker images. Kubernetes is a powerful container orchestration platform that simplifies the management, scaling, and deployment of containerized applications in a cloud-native environment.

Deploy App on AKS Cluster using Jenkins (CI/CD)

In this project, we will leverage Jenkins as a CI/CD tool to automate the build and deployment of applications on an AKS cluster. This approach enhances the efficiency and reliability of the software delivery lifecycle.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (31)

Automating Azure Infrastructure(Virtual Network, Subnet, and Load Balancer) Setup with Terraform

In this project, we will be utilizing Terraform, an infrastructure-as-code tool, to create an Application Load Balancer (ALB) in Azure. The ALB plays a crucial role in distributing incoming network traffic across multiple backend resources to enhance the availability and scalability of applications.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (32)

Certifications

DevOps Foundations Certified

This Certification requires professionals who are capable of combining processes, people, and technologies for continuously delivering services and products that meet business objectives and user needsand have completed at least 16 contact hours (instruction and labs)as part of a formal, approved training coursedelivered by an accredited Education Partner of DevOps Institute.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (33)

Know more about DevOps Foundations Certified

[AZ-400] Microsoft Azure DevOps Certification Exam

This exam requires DevOps professionals who are capable of combining processes, people, and technologies for continuously delivering services and products that meet business objectives and user needs. These professionals must be proficient with Agile practices in software development.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (34)

Know more about [AZ-400] Microsoft Azure DevOps Certification Exam

AWS Certified DevOps Engineer Professional

AWS DevOps training is implementing the DevOps philosophy using a Cloud platform with dedicated tools and services. AWS provides a set of services designed to enable companies to more rapidly and reliably build and deliver products using AWS and DevOps practices. These services simplify Provisioning and Managing Infrastructure, Deploying Application Code, Automating Software release Processes, and Monitoring your Application and Infrastructure Performance.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (35)

[CKA] Certified Kubernetes Administrator

The Certified Kubernetes Administrator (CKA) exam is designed for professionals who possess the skills and knowledge necessary to administer Kubernetes clusters. This certification assesses the ability to deploy, maintain, and troubleshoot applications within Kubernetes environments, ensuring the effective orchestration of containerized applications.

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (36)

Know more about [CKA] Certified Kubernetes Administrator exam

Related/References

  • What Is DevOps | DevOps Principles | Advantages Of DevOps | Why DevOps?
  • Agile Methodology and DevOps | DevOps and Agile Relationship
  • DevOps Best Practices
  • What Is DevOps? AWS DevOps For Beginners
  • [AZ-400] Microsoft Azure DevOps Certification Exam: Everything You Need To Know
  • Certified Kubernetes Administrator (CKA) Certification Exam: Everything You Must Know

Next Task For You

Begin your journey towards becoming a DevOps Expert and earn a lot more by landing a high-paying job.

Join FREE CLASS to learn more about the DevOps Roles and Responsibilities, Job opportunities related to DevOps in the market, and what to study Including Hands-On labs and projects you must perform to get your Dream job.

Click on the below image to Register for Our FREE Class on Mastering DevOps on Cloud: How to Build In-Demand Skills and Land High-Paying Jobs

DevOps For Beginners: Step-by-Step Activity Guide | K21Academy (2024)

References

Top Articles
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 5944

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.