Devops Lab Manual 1
Devops Lab Manual 1
VI Semester
DevOps (BCSL657D)
LAB MANUAL
Preparedby:
2. Prof. Sophia S
Laboratory Certificate
This is to certify that …………………………………………………….bearing USN
…………………. Has satisfactorily completed the experiments in Practical DevOps
prescribed by the Visvesvaraya Technological University for the course with course
code BCSL657D in the Laboratory of this college in the year 2024-25
College-Vision:
To produce technically competent engineers having innovative skills, positive attitude, leadership and
professional ethics, with a focus on developing sustainable and new technology
College- Mission:
Create a conducive environment for teaching, learning and innovation by providing state of the
art infrastructure.
Learn sustainable and new technologies through industry institute collaborations.
Produce technically competent engineers with ethics, discipline and social consciousness through
holistic education.
Dept.-Vision
To produce highly competent and innovative Computer Science professionals through excellence in
teaching, training and research.
Dept.-Mission
2. Problem analysis: Identify, formulate, research literature, and analyze complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural sciences,
and engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering problems and design
system components or processes that meet the specified needs with appropriate consideration for the
public health and safety, and the cultural, societal, and environmental considerations.
4. Conduct investigations of complex problems: Use research-based knowledge and research
methods including design of experiments, analysis andinterpretation of data, and synthesis of the
information to provide valid conclusions.
5. Modern Tool Usage: Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modeling to complex engineering activities with
an understanding of the limitations.
6. The Engineer and Society: Apply reasoning informed by the contextual knowledge to assess
societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to the
professional engineering practice.
7. Environment and Sustainability: Understand the impact of the professional engineering solutions
in societal and environmental contexts, and demonstrate the knowledge of need for sustainable
development.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and norms of
the engineering practice.
9. Individual and Team Work: Function effectively as an individual, and as a member or leader in
diverse teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with the engineering
community and with society at large, such as, being able to comprehend and write effective reports
and design documentation, make effective presentations, and give and receive clear instructions.
11. Project Management and Finance: Demonstrate knowledge and understanding of the engineering
and management principles and apply these to one‘s own work, as a member and leader in a team, to
manage projects and in multidisciplinary environments.
12. Life-long learning: Recognize the need for, and have the preparation and ability to engage in
independent and life-long learning in the broadest context of technological change.
COURSE OBJECTIVES AND OUTCOMES
Course Objectives:
.
This course will enable students to:
CLO2 To understand the different Version control tools like Git, Mercurial
To understand the concepts of Continuous Integration/ Continuous Testing/ Continuous
CLO3
Deployment)
To understand Configuration management using Ansible
CLO4
Illustrate the benefits and drive the adoption of cloud-based Devops tools to solve real world
CLO5
problems
Course Outcomes:
At the end of the course the student will be able to:
CO1 Demonstrate Build Automation and Continuous Integration
In Each Lab, students will be assessed on their participation and performance in the lab. The
marks obtained in each lab will be totaled and combined with Final Lab test or Viva-voce.
The students need to attend 85% of the labs to qualify to be eligible to attend the university
examination.
DEVOPS - BCSL657D
Contents
Exp. Page
Title of the Experiment
No No
Introduction to Maven and Gradle: Overview of Build Automation Tools, Key 1-4
1.
Differences Between Maven and Gradle, Installation and Setup
Working with Maven: Creating a Maven Project, Understanding the POM File,
2. 5-10
Dependency Management and Plugins
Working with Gradle: Setting Up a Gradle Project, Understanding Build Scripts (Groovy and
3. 11-13
Kotlin DSL), Dependency Management and Task Automation
Practical Exercise: Build and Run a Java Application with Maven, Migrate the
4. 14-17
Same Application to Gradle
Introduction to Jenkins: What is Jenkins?, Installing Jenkins on Local or Cloud Environment,
5. 18-24
Configuring Jenkins for First Use
Continuous Integration with Jenkins: Setting Up a CI Pipeline, Integrating Jenkins with
6. 25-32
Maven/Gradle, Running Automated Builds and Tests
Configuration Management with Ansible: Basics of Ansible: Inventory, Playbooks, and
7. 33-39
Modules, Automating Server Configurations with Playbooks, Hands-On: Writing and Running a
Basic Playbook
Practical Exercise: Set Up a Jenkins CI Pipeline for a Maven Project, Use Ansible to Deploy
8.
Artifacts Generated by Jenkins
Introduction to Azure DevOps: Overview of Azure DevOps Services, Setting Up an Azure
9. 40-51
DevOps Account and Project
Creating Build Pipelines: Building a Maven/Gradle Project with Azure Pipelines, Integrating
10. 52-60
Code Repositories (e.g., GitHub, Azure Repos), Running Unit Tests and Generating Reports
Creating Release Pipelines: Deploying Applications to Azure App Services, Managing Secrets
11. 61-63
and Configuration with Azure Key Vault, Hands-On: Continuous Deployment with Azure
Pipelines
Practical Exercise and Wrap-Up: Build and Deploy a Complete DevOps Pipeline, Discussion on
12.
Best Practices and Q&A
VivaQuestions 64-68
Data Visualization with Python (BCS358D) 2024-25
EVALVUATION SHEET
Faculty
Sl. Date of Date of Conduction
TITLE OF THE EXPERIMENT sign with
No Conduction Submission (20)
Date
Introduction to Maven and Gradle: Overview of Build Automation
1 Tools, Key Differences Between Maven and Gradle, Installation
and Setup