SlideShare a Scribd company logo
DevOps
Tutorial
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Module 1:
DevOps Overview
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why DevOps?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Waterfall Model
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Requirements
Designing
Implementation
Testing
Deployment
Maintenance
In the early year of software
development when it was just
coming up, waterfall model was
used.
Waterfall model is a very standard
model used in many different fields,
not just software development.
It was very useful when the
requirements were concrete and the
development cycles were long.
New Methodologies
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Spiral Model
Agile
Extreme Programming
Develop an
overall model
Build a
feature list
Plan by
feature
Design by
feature
Build by
feature
Feature Driven Development
Lean Methodology
What is DevOps?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is DevOps?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Way of software
development
Values & Principle Methodologies Tools
What is DevOps?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
The name DevOps comes from Developer and Operations. DevOps bridges
the communication gap between the software developers and the It operation
teams.
Developers Operations
DevOps
What is DevOps?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
“DevOps is a set of practices that combines software development (Dev)
and IT operations (Ops). It aims to shorten the systems development life
cycle and provide continuous delivery with high software quality. DevOps is
complementary with Agile software development; several DevOps aspects
came from Agile methodology.”
Benefits of DevOps
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Productivity
Excellence
Returns
DevOps Phases
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Continuous
Monitoring
Continuous
Deployment
Continuous
Integration
DevOps Phases
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Continuous
Testing
Continuous
Development
Who is a DevOps Engineer?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
DevOps Engineer
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
- Basically a DevOps engineer is responsible for designing, maintaining the
software development pipeline. He also makes sure that a software is
deployed properly without any issues. A DevOps engineer knows how to
automate processes and writing automation scripts. He also knows how to
keep the whole infrastructure secure and robust.
- A DevOps engineer has excellent communication skills that help him to
convey ideas and exchange information between different teams.
- On daily level, a DevOps engineer is responsible for makes sure scaling
needs of cloud are fulfilled, optimisation, managing permissions,
documentations.
DevOps Engineer
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
A DevOps engineer has a wealth of knowledge such as:
• Knowledge of Linux, Windows Operating Systems
• Database Tech
• Server Tech
• Orchestration
• Cloud tech
• Source Control
• Continuous integration & Deployment
• Automation
• Scripting
• Networking
• Excellent Communication
Version Control - GIT
What is Version Control?
These days when software is developed, It is not developed with the mind-set
that there will only be one piece of code that will be deployed and that’s it.
These days smaller snippets of code are deployed in regular successions with
regular feedbacks. This leads to many different versions of the code.
And that creates a need to organise the code and all of its different version of
it. This is where Version Control comes in. It is a practice of managing and
storing different version of a source code.
This is especially the case with Larger companies that have multiple projects
and multiple teams working within it.
What is Version Control?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
A1, A2, A3 B1, B2, B3 C1,C2,C3
What is Git
What is Git?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Git is an open source version control system that allows the user to keep track
of all the changes that have been made to the source code of the software.
Developer 1
GitHub
Developer 2
Staging
What is Git?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
The lifecycle of the code within Git.
GitHub
Working Directory Local Storage
Initialization
Getting started with GitHub
Installing & Configuring Git
Git Installation & Setup
Windows
Linux MAC
Git Common Commands
Branches
Microsystems & Containerization
– Docker
Issues we faced before Containerization
Issues we faced before Containerization
Developer Tester
Standard Delivery Pipeline
Issues we faced before Containerization
Developer’s Environment
Operating
System
Pytest 5.4.3
Backend Developer
Backend Code Dependencies
Pycharm IDE
Issues we faced before Containerization
Tester’s Environment
Operating
System
Pytest 5.3.0
Tester
Backend Code Dependencies
Spyder IDE
Issues we faced before Containerization
Developer Tester
- This Code runs fine on my computer - This Code does not run on my system
Issues we faced before Containerization
Developer Tester
Operating
System
Pytest 5.4.3
Backend Code Dependencies
Pycharm IDE
Operating
System
Pytest 5.3.0
Backend Code Dependencies
Spyder IDE
Issues we faced before Containerization
- Now Let’s see what happens
when we introduce Containers.
Issues we faced before Containerization
Developer Tester
Similar Delivery Pipeline but with containers
Prod
- This Code runs fine on my computer
- This Code runs fine on my computer
What is a Container?
What is a Container?
Code Libraries
Container Systems & Servers
Containers are software that wrap up all the parts of a code and all its
dependencies into a single deployable unit that can be used on
different systems and servers.
What is Docker?
What is Docker?
Docker is a tool that helps in developing, building, deploying and executing software in
isolation. It does so by creating containers that completely wrap a software.
The Isolation provided by container gives a layer of security to the
containers.
Why Docker?
Fast Easy Collaboration
Built for Developers, by
Developers
Docker Community
Simple
Docker Installation & Setup
Docker Installation & Setup
Windows
Linux MAC
Docker Environment
Docker Objects
Docker Environment
Docker Compose Docker Swarm
Docker Engine Docker Registry
Docker Engine
Docker Engine
Docker engine is as the name suggests, its technology that allows for
the creation and management of all the Docker Processes. It has three
major parts to it.
Docker API
Docker CLI Docker Daemon
Docker Objects
Docker Objects
Docker Swarm Nodes &
Services
Docker Images Docker Containers Docker Volumes
Docker Networks
Docker Objects - Images
Docker images are sets of instructions that are used to create
containers and execute code inside it.
Let’s pull an image and work with
it.
Docker Objects - Images
Docker Common Commands
Continuous Integration - Jenkins
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
1. Why Continuous integration?
2. What is Jenkins?
3. What are Jenkins Features?
4. Jenkins architecture
5. Jenkins installation & setup
6. Setting up a CI/CD pipeline
Agenda
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why continuous integration?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why continuous integration?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Standard Delivery Pipeline
Deployment
Tester
Code
Source Code
Manager
What is Jenkins?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Jenkins is an Open Source continuous integration tool written in java
that allows us to automate the software development process, making
sure that there is minimum involvement from us. It also integrates all
the different parts of the development.
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is Jenkins?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is Jenkins?
Deployment
Tester
Code
Source Code
Manager Jenkins
- Jenkins is a community tool – Its open source and has a very very
large community that contributes to it regularly.
- It’s free, so you don’t have to accrue anymore subscription costs.
- It is highly modifiable and adaptable and has a support for a very
large number of plugins.
- It can run on any major platform without any compatibility issues.
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Benefits of Jenkins
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Jenkins Pipeline
Code
Source Code
Manager
Jenkins
building
Testing
Staging
Production
feedback
Jenkins Installation & Setup
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Continuous Monitoring – ELK &
Prometheus & grafana
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why Continuous Monitoring?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why Continuous Monitoring?
Continuous Monitoring is an important part of Software Development. It
is something we take up as measure to maintain the health of a
software and to improve the quality of the software, and this is based
on the feed back we get from the insights gained from monitoring.
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why Continuous Monitoring?
Continuous Monitoring is an important part of Software Development. It
is something we take up as measure to maintain the health of a
software and to improve the quality of the software, and this is based
on the feed back we get from the insights gained from monitoring.
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why Continuous Monitoring?
Continuous Monitoring is an important part of Software Development. It
is something we take up as measure to maintain the health of a
software and to improve the quality of the software, and this is based
on the feed back we get from the insights gained from monitoring.
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Why Continuous Monitoring?
Continuous Monitoring is an important part of Software Development. It
is something we take up as measure to maintain the health of a
software and to improve the quality of the software, and this is based
on the feed back we get from the insights gained from monitoring.
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is ELK stack?
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
What is ELK stack?
ELK stack is a set of open-source tools that allow us to monitor, collect, process
analyze & visualize data, this data can be of different types and formats and
from almost any source. It was developed by Elastic co. iteratively. They started
with Elastic search and kept on adding more tools to the stack. The primary
purpose of ELK stack is log management.
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
ELK features
Scalability and
Resiliency
Dashboards &
Visualisations
Stack Security &
Alerting
Logging
System & Application
Performance
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
ELK Stack
Elastic search
Logstash
Kibana
Filebeat
X-Pack
Security
Alerting
Reporting
ML
Elastic Cloud / Infrastructure
©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
Ad

More Related Content

Similar to DevOps_1698587929.pdf cours ciCd automatique (20)

DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
Simplilearn
 
Understanding DevOps in simpler way with Continuous Delivery
Understanding DevOps in simpler way with Continuous DeliveryUnderstanding DevOps in simpler way with Continuous Delivery
Understanding DevOps in simpler way with Continuous Delivery
Swapnil Jain
 
intro to DevOps
intro to DevOpsintro to DevOps
intro to DevOps
Mujahed Al-Tahle
 
Continous delivvery devops Tools Technologies.pptx
Continous delivvery devops Tools  Technologies.pptxContinous delivvery devops Tools  Technologies.pptx
Continous delivvery devops Tools Technologies.pptx
projectsasd125
 
DEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONS
DEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONSDEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONS
DEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONS
Sprintzeal
 
Become a Master in DevOps_ Guide For Beginners and Professionals - Google Doc...
Become a Master in DevOps_ Guide For Beginners and Professionals - Google Doc...Become a Master in DevOps_ Guide For Beginners and Professionals - Google Doc...
Become a Master in DevOps_ Guide For Beginners and Professionals - Google Doc...
Microsoft azure
 
Devops Interview Question PDF By ScholarHat
Devops Interview Question PDF By ScholarHatDevops Interview Question PDF By ScholarHat
Devops Interview Question PDF By ScholarHat
Scholarhat
 
Devops phase-1
Devops phase-1Devops phase-1
Devops phase-1
G R VISHAL
 
Continuous Integration
Continuous IntegrationContinuous Integration
Continuous Integration
XPDays
 
Top DevOps Tools for Automation_ Enhancing Efficiency in Your Workflow.pdf
Top DevOps Tools for Automation_ Enhancing Efficiency in Your Workflow.pdfTop DevOps Tools for Automation_ Enhancing Efficiency in Your Workflow.pdf
Top DevOps Tools for Automation_ Enhancing Efficiency in Your Workflow.pdf
khushnuma khan
 
devop, developement operations agile software developement
devop, developement operations agile software developementdevop, developement operations agile software developement
devop, developement operations agile software developement
ahmed948311
 
Comprehensive Guide to Hire DevOps Engineer.pdf
Comprehensive Guide to Hire DevOps Engineer.pdfComprehensive Guide to Hire DevOps Engineer.pdf
Comprehensive Guide to Hire DevOps Engineer.pdf
EcosmobTechnologies1
 
Top 5 dev ops tools
Top 5 dev ops toolsTop 5 dev ops tools
Top 5 dev ops tools
mithranmithran1
 
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Edureka!
 
How Azure DevOps can boost your organization's productivity
How Azure DevOps can boost your organization's productivityHow Azure DevOps can boost your organization's productivity
How Azure DevOps can boost your organization's productivity
Ivan Porta
 
An introduction to DevOps
An introduction to DevOpsAn introduction to DevOps
An introduction to DevOps
Adithya Krishnakant
 
Top 20 Devops Engineer Interview Questions And Answers For 2023 | Devops Tuto...
Top 20 Devops Engineer Interview Questions And Answers For 2023 | Devops Tuto...Top 20 Devops Engineer Interview Questions And Answers For 2023 | Devops Tuto...
Top 20 Devops Engineer Interview Questions And Answers For 2023 | Devops Tuto...
Simplilearn
 
probe-into-the-key-components-and-tools-of-devops-lifecycle
probe-into-the-key-components-and-tools-of-devops-lifecycleprobe-into-the-key-components-and-tools-of-devops-lifecycle
probe-into-the-key-components-and-tools-of-devops-lifecycle
Cuneiform Consulting Pvt Ltd.
 
Devops
DevopsDevops
Devops
Janu Jahnavi
 
Top 20 DevOps Interview Questions.pdf
Top 20 DevOps Interview Questions.pdfTop 20 DevOps Interview Questions.pdf
Top 20 DevOps Interview Questions.pdf
AnanthReddy38
 
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
DevOps Interview Questions Part - 1 | Devops Interview Questions And Answers ...
Simplilearn
 
Understanding DevOps in simpler way with Continuous Delivery
Understanding DevOps in simpler way with Continuous DeliveryUnderstanding DevOps in simpler way with Continuous Delivery
Understanding DevOps in simpler way with Continuous Delivery
Swapnil Jain
 
Continous delivvery devops Tools Technologies.pptx
Continous delivvery devops Tools  Technologies.pptxContinous delivvery devops Tools  Technologies.pptx
Continous delivvery devops Tools Technologies.pptx
projectsasd125
 
DEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONS
DEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONSDEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONS
DEVOPS ENGINEER - CAREER PATH, JOB SCOPE, AND CERTIFICATIONS
Sprintzeal
 
Become a Master in DevOps_ Guide For Beginners and Professionals - Google Doc...
Become a Master in DevOps_ Guide For Beginners and Professionals - Google Doc...Become a Master in DevOps_ Guide For Beginners and Professionals - Google Doc...
Become a Master in DevOps_ Guide For Beginners and Professionals - Google Doc...
Microsoft azure
 
Devops Interview Question PDF By ScholarHat
Devops Interview Question PDF By ScholarHatDevops Interview Question PDF By ScholarHat
Devops Interview Question PDF By ScholarHat
Scholarhat
 
Devops phase-1
Devops phase-1Devops phase-1
Devops phase-1
G R VISHAL
 
Continuous Integration
Continuous IntegrationContinuous Integration
Continuous Integration
XPDays
 
Top DevOps Tools for Automation_ Enhancing Efficiency in Your Workflow.pdf
Top DevOps Tools for Automation_ Enhancing Efficiency in Your Workflow.pdfTop DevOps Tools for Automation_ Enhancing Efficiency in Your Workflow.pdf
Top DevOps Tools for Automation_ Enhancing Efficiency in Your Workflow.pdf
khushnuma khan
 
devop, developement operations agile software developement
devop, developement operations agile software developementdevop, developement operations agile software developement
devop, developement operations agile software developement
ahmed948311
 
Comprehensive Guide to Hire DevOps Engineer.pdf
Comprehensive Guide to Hire DevOps Engineer.pdfComprehensive Guide to Hire DevOps Engineer.pdf
Comprehensive Guide to Hire DevOps Engineer.pdf
EcosmobTechnologies1
 
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Edureka!
 
How Azure DevOps can boost your organization's productivity
How Azure DevOps can boost your organization's productivityHow Azure DevOps can boost your organization's productivity
How Azure DevOps can boost your organization's productivity
Ivan Porta
 
Top 20 Devops Engineer Interview Questions And Answers For 2023 | Devops Tuto...
Top 20 Devops Engineer Interview Questions And Answers For 2023 | Devops Tuto...Top 20 Devops Engineer Interview Questions And Answers For 2023 | Devops Tuto...
Top 20 Devops Engineer Interview Questions And Answers For 2023 | Devops Tuto...
Simplilearn
 
probe-into-the-key-components-and-tools-of-devops-lifecycle
probe-into-the-key-components-and-tools-of-devops-lifecycleprobe-into-the-key-components-and-tools-of-devops-lifecycle
probe-into-the-key-components-and-tools-of-devops-lifecycle
Cuneiform Consulting Pvt Ltd.
 
Top 20 DevOps Interview Questions.pdf
Top 20 DevOps Interview Questions.pdfTop 20 DevOps Interview Questions.pdf
Top 20 DevOps Interview Questions.pdf
AnanthReddy38
 

Recently uploaded (20)

15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...15th International Conference on Computer Science, Engineering and Applicatio...
15th International Conference on Computer Science, Engineering and Applicatio...
IJCSES Journal
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
Metal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistryMetal alkyne complexes.pptx in chemistry
Metal alkyne complexes.pptx in chemistry
mee23nu
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
theory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptxtheory-slides-for react for beginners.pptx
theory-slides-for react for beginners.pptx
sanchezvanessa7896
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Ad

DevOps_1698587929.pdf cours ciCd automatique

  • 1. DevOps Tutorial ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 2. Module 1: DevOps Overview ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 3. Why DevOps? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 4. Waterfall Model ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Requirements Designing Implementation Testing Deployment Maintenance In the early year of software development when it was just coming up, waterfall model was used. Waterfall model is a very standard model used in many different fields, not just software development. It was very useful when the requirements were concrete and the development cycles were long.
  • 5. New Methodologies ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Spiral Model Agile Extreme Programming Develop an overall model Build a feature list Plan by feature Design by feature Build by feature Feature Driven Development Lean Methodology
  • 6. What is DevOps? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 7. What is DevOps? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Way of software development Values & Principle Methodologies Tools
  • 8. What is DevOps? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited The name DevOps comes from Developer and Operations. DevOps bridges the communication gap between the software developers and the It operation teams. Developers Operations DevOps
  • 9. What is DevOps? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited “DevOps is a set of practices that combines software development (Dev) and IT operations (Ops). It aims to shorten the systems development life cycle and provide continuous delivery with high software quality. DevOps is complementary with Agile software development; several DevOps aspects came from Agile methodology.”
  • 10. Benefits of DevOps ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Productivity Excellence Returns
  • 11. DevOps Phases ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 12. Continuous Monitoring Continuous Deployment Continuous Integration DevOps Phases ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Continuous Testing Continuous Development
  • 13. Who is a DevOps Engineer? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 14. DevOps Engineer ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited - Basically a DevOps engineer is responsible for designing, maintaining the software development pipeline. He also makes sure that a software is deployed properly without any issues. A DevOps engineer knows how to automate processes and writing automation scripts. He also knows how to keep the whole infrastructure secure and robust. - A DevOps engineer has excellent communication skills that help him to convey ideas and exchange information between different teams. - On daily level, a DevOps engineer is responsible for makes sure scaling needs of cloud are fulfilled, optimisation, managing permissions, documentations.
  • 15. DevOps Engineer ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited A DevOps engineer has a wealth of knowledge such as: • Knowledge of Linux, Windows Operating Systems • Database Tech • Server Tech • Orchestration • Cloud tech • Source Control • Continuous integration & Deployment • Automation • Scripting • Networking • Excellent Communication
  • 17. What is Version Control?
  • 18. These days when software is developed, It is not developed with the mind-set that there will only be one piece of code that will be deployed and that’s it. These days smaller snippets of code are deployed in regular successions with regular feedbacks. This leads to many different versions of the code. And that creates a need to organise the code and all of its different version of it. This is where Version Control comes in. It is a practice of managing and storing different version of a source code. This is especially the case with Larger companies that have multiple projects and multiple teams working within it. What is Version Control? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited A1, A2, A3 B1, B2, B3 C1,C2,C3
  • 20. What is Git? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Git is an open source version control system that allows the user to keep track of all the changes that have been made to the source code of the software. Developer 1 GitHub Developer 2
  • 21. Staging What is Git? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited The lifecycle of the code within Git. GitHub Working Directory Local Storage Initialization
  • 24. Git Installation & Setup Windows Linux MAC
  • 28. Issues we faced before Containerization
  • 29. Issues we faced before Containerization Developer Tester Standard Delivery Pipeline
  • 30. Issues we faced before Containerization Developer’s Environment Operating System Pytest 5.4.3 Backend Developer Backend Code Dependencies Pycharm IDE
  • 31. Issues we faced before Containerization Tester’s Environment Operating System Pytest 5.3.0 Tester Backend Code Dependencies Spyder IDE
  • 32. Issues we faced before Containerization Developer Tester - This Code runs fine on my computer - This Code does not run on my system
  • 33. Issues we faced before Containerization Developer Tester Operating System Pytest 5.4.3 Backend Code Dependencies Pycharm IDE Operating System Pytest 5.3.0 Backend Code Dependencies Spyder IDE
  • 34. Issues we faced before Containerization - Now Let’s see what happens when we introduce Containers.
  • 35. Issues we faced before Containerization Developer Tester Similar Delivery Pipeline but with containers Prod - This Code runs fine on my computer - This Code runs fine on my computer
  • 36. What is a Container?
  • 37. What is a Container? Code Libraries Container Systems & Servers Containers are software that wrap up all the parts of a code and all its dependencies into a single deployable unit that can be used on different systems and servers.
  • 39. What is Docker? Docker is a tool that helps in developing, building, deploying and executing software in isolation. It does so by creating containers that completely wrap a software. The Isolation provided by container gives a layer of security to the containers.
  • 40. Why Docker? Fast Easy Collaboration Built for Developers, by Developers Docker Community Simple
  • 42. Docker Installation & Setup Windows Linux MAC
  • 44. Docker Objects Docker Environment Docker Compose Docker Swarm Docker Engine Docker Registry
  • 46. Docker Engine Docker engine is as the name suggests, its technology that allows for the creation and management of all the Docker Processes. It has three major parts to it. Docker API Docker CLI Docker Daemon
  • 48. Docker Objects Docker Swarm Nodes & Services Docker Images Docker Containers Docker Volumes Docker Networks
  • 49. Docker Objects - Images Docker images are sets of instructions that are used to create containers and execute code inside it.
  • 50. Let’s pull an image and work with it. Docker Objects - Images
  • 52. Continuous Integration - Jenkins ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 53. 1. Why Continuous integration? 2. What is Jenkins? 3. What are Jenkins Features? 4. Jenkins architecture 5. Jenkins installation & setup 6. Setting up a CI/CD pipeline Agenda ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 54. Why continuous integration? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 55. Why continuous integration? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Standard Delivery Pipeline Deployment Tester Code Source Code Manager
  • 56. What is Jenkins? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 57. Jenkins is an Open Source continuous integration tool written in java that allows us to automate the software development process, making sure that there is minimum involvement from us. It also integrates all the different parts of the development. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited What is Jenkins?
  • 58. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited What is Jenkins? Deployment Tester Code Source Code Manager Jenkins
  • 59. - Jenkins is a community tool – Its open source and has a very very large community that contributes to it regularly. - It’s free, so you don’t have to accrue anymore subscription costs. - It is highly modifiable and adaptable and has a support for a very large number of plugins. - It can run on any major platform without any compatibility issues. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Benefits of Jenkins
  • 60. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited Jenkins Pipeline Code Source Code Manager Jenkins building Testing Staging Production feedback
  • 61. Jenkins Installation & Setup ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 62. Continuous Monitoring – ELK & Prometheus & grafana ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 63. Why Continuous Monitoring? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 64. Why Continuous Monitoring? Continuous Monitoring is an important part of Software Development. It is something we take up as measure to maintain the health of a software and to improve the quality of the software, and this is based on the feed back we get from the insights gained from monitoring. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 65. Why Continuous Monitoring? Continuous Monitoring is an important part of Software Development. It is something we take up as measure to maintain the health of a software and to improve the quality of the software, and this is based on the feed back we get from the insights gained from monitoring. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 66. Why Continuous Monitoring? Continuous Monitoring is an important part of Software Development. It is something we take up as measure to maintain the health of a software and to improve the quality of the software, and this is based on the feed back we get from the insights gained from monitoring. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 67. Why Continuous Monitoring? Continuous Monitoring is an important part of Software Development. It is something we take up as measure to maintain the health of a software and to improve the quality of the software, and this is based on the feed back we get from the insights gained from monitoring. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 68. What is ELK stack? ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited
  • 69. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited What is ELK stack? ELK stack is a set of open-source tools that allow us to monitor, collect, process analyze & visualize data, this data can be of different types and formats and from almost any source. It was developed by Elastic co. iteratively. They started with Elastic search and kept on adding more tools to the stack. The primary purpose of ELK stack is log management.
  • 70. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited ELK features Scalability and Resiliency Dashboards & Visualisations Stack Security & Alerting Logging System & Application Performance
  • 71. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited ELK Stack Elastic search Logstash Kibana Filebeat X-Pack Security Alerting Reporting ML Elastic Cloud / Infrastructure
  • 72. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited