0% found this document useful (0 votes)
3 views

L5 - DevOps Continued

The document outlines the DevOps lifecycle, detailing stages such as Code, Build, Test, Release, Deploy, Operate, Monitor, and Plan, emphasizing the importance of automation and continuous processes. It highlights the benefits of DevOps, including breaking silos, continuous improvement, minimized failures, fostering creativity and innovation, and creating a performance-oriented culture. Additionally, it explains the CI/CD process, which involves regular code integration and automated deployment to enhance efficiency and stability.

Uploaded by

Mazen Essam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

L5 - DevOps Continued

The document outlines the DevOps lifecycle, detailing stages such as Code, Build, Test, Release, Deploy, Operate, Monitor, and Plan, emphasizing the importance of automation and continuous processes. It highlights the benefits of DevOps, including breaking silos, continuous improvement, minimized failures, fostering creativity and innovation, and creating a performance-oriented culture. Additionally, it explains the CI/CD process, which involves regular code integration and automated deployment to enhance efficiency and stability.

Uploaded by

Mazen Essam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

System Analysis and Design -2

(IS-352)
Lecture 5

Dr. Wael Abbas


2023 - 2024
DevOps Lifecycle
DevOps Lifecycle
• Code: developers build the code on any platform.
• Build: Developers build the version of their
program in any extension depending upon the
language they are using.
• Test: For DevOps to be successful, the testing
process must be automated using any
automation tool like Selenium
• Release: A process for managing, planning,
scheduling, and controlling the build in different
environments after testing and before
deployment
DevOps Lifecycle
• Deploy: This phase gets all artifacts/code files of the
application ready and deploys/executes them on the
server
• Operate: The application is run after its deployment,
where clients use it in real-world scenarios.
• Monitor: This phase helps in providing crucial
information that basically helps ensure service uptime
and optimal performance
• Plan: The planning stage gathers information from the
monitoring stage and, as per feedback, implements the
changes for better performance
Different Lifecycle Stages
Continuous Development
• In the Waterfall model, our software product
gets broken into multiple pieces or sub-parts
for making the development cycles shorter,
but in this stage of DevOps, the software is
getting developed continuously.
– Tools used: As we code and build in this stage, we
can use GIT to maintain different versions of the
code. To build/package the code into an
executable file, we can use a reliable tool,
namely, Maven.
Continuous Integration

• In this stage, if our code is supporting a new


functionality, it is integrated with the existing code
continuously. As the continuous development keeps
on, the existing code needs to be integrated with the
latest one ‘continuously,’ and the changed code
should ensure that there are no errors in the current
environment for it to work smoothly.
– Tools used: Jenkins is the tool that is used for
continuous integration. Here, we can pull the latest code
from the GIT repository, of which we can produce the
build and deploy it on the test or the production server.
Continuous Testing
• In this stage, our developed software is getting
tested continuously to detect bugs using
several automation tools.
– Tools used: For the QA/Testing purpose, we can
use many automated tools, and the tool used
widely for automation testing is Selenium as it lets
QAs test the codes in parallel to ensure that there
is no error, incompetencies, or flaws in the
software.
Continuous Monitoring
• It is a very crucial part of the DevOps life cycle where
it provides important information that helps us
ensure service uptime and optimal performance. The
operations team gets results from reliable
monitoring tools to detect and fix the bugs/flaws in
the application.
– Tools used: Several tools such as Nagios, Splunk, ELK
Stack, and Sensu are used for monitoring the application.
They help us monitor our application and servers closely to
check their health and whether they are operating actively.
Any major issue detected by these tools is forwarded to
the development team to fix in the continuous
development phase.
Continuous Deployment
• Continuous Deployment (CD) automates the
process of deploying changes to a staging or prod
environment as soon as they are merged in.
• -- This can save a lot of time and effort that
would otherwise be spent manually deploying
changes, or waiting for scheduled tasks to do it.

.
DevOps Benefits
• DevOps is a contemporary approach that lets
companies utilize numerous benefits. Some of
the major DevOps benefits are as follows:
Breaking Silos
• DevOps breaks down the conventional style of
departmentation where each task is
designated to a certain team and, in effect, it
used to be siloed.
• This, in turn, reduced flexibility and
responsiveness. Going beyond the lines of
organizational hierarchy, DevOps promoted
mutual cooperation and communication.
Continuous Improvement
• DevOps stresses continuous improvement by
aligning business with IT.
• It strives to reduce the feedback cycle and
delivery loops which, in turn, increases
customer satisfaction.
Minimized Failures
• When organizations integrate DevOps with
fault detection techniques, it leads to
minimizing failures significantly.
• Since DevOps is usually implemented on top
of the Agile model, it promotes collaboration,
modular programming, etc., making fault
detection an easy task.
Creativity and Innovation
• In DevOps, teams build a culture of trust and
cooperation that encourages them to improve
the organizational products and services by
continuously working on creativity and
innovation.
• These attempts allow organizations to better
understand and address their customer needs.
Performance-oriented Culture
• With DevOps, workforce more creative and
productive while reducing turnover and
improving retention.
Thank You
• 1. CI/CD stands for Continuous Integration and
Continuous Deployment.
• -- It's a process where code changes are
regularly merged into a shared repository, and
then automatically deployed to a staging or
production environment.

.
• Continuous Integration (CI) refers to the process
where code changes are merged regularly and
frequently.
--- By pushing small changes at a higher
frequency, teams can catch and fix problems early,
keeping the codebase stable and up to date

.
• A comprehensive CI/CD pipeline can be used
to build, test, and deploy changes
automatically while alerting about any
problems.
• -- This setup requires various tools, such as
a version control software like Git and
automation tools like Jenkins and Ansible

You might also like