Introductory Material
DEVOPS
FOUNDATION
a presentation for FCU
©FPT
About
Trainner
✔ Trainner: QuyetVC – QuyetVC@[Link]
✔ Position: Cloud - DevOps Leader in FHN – FPTSOFTWARE
✔ Slogan
DevOps is culture, not a role!
© FPT 2
Course
Contents
SECTION 01 & 02- The Theory & Concept SECTION 03 & 04- Assignment
✔ Objective
✔ Assignment & Grouping 1-2 hour
+ Explain and description about Assignments
✔ DevOps Overview + Grouping
This course provides an introduction to the core values, ✔ Team Work (3-4 hours)
principles and practices involved in implementing of + Research and discuss to define the way to implement the
DevOps solutions. devops solution to the business in the secnario.
+ Create the presentation.
✔ DevOps Transformation ✔ Presentation (2 hours)
+ Learn about the challenges and the way to apply + Presentation by Group
✔ Continuous
DevOps Integration/ Continuous Deployment (Delivery) + QnA
+ Learn about CICD concept, Pipelines
+ Sample about CICD – DevOps System
© FPT 3
DevOps Overview
©FPT
Software Development is shifting
Past Today
Long application cycles AI driven rapid innovation
Monolithic apps IoT, Bots, micro-services & containers
Servers and VMs Serverless, Massively Parallel Processing (MPP)
Less data – structured data Big Data – Unstructured, semi-structured and structured
Desktop Mobile, Web
Distinct infrastructure and operations teams Service-focused DevOps teams
On-Premises IaaS CaaS PaaS SaaS
Infrastructure Platform Infrastructure Platform Container Platform Application Platform Serverless Platform
Challenges in Application
Development How can I deliver
applications How can I easily and faster
rapidly to market? adapt & integrate
applications with new
technologies?
How can I accelerate
to update, develop
or try out new
features? How can I
increase
business
continuity?
How can I automatically
scale in/out applications to
meet market demands? How to improve customer
satisfaction & customer
experiences
How can I consolidate monitoring
How can I improve
the usage/performance of the huge the application
distributed systems efficiently and
quality and
alert incident automatically?
performance
How can I reduce
operational and
maintenance
costs?
Drivers for Application
Modernization
New Capabilities Faster Changes
New User Respond to
Experiences Customers
Experiment
More Bug Fixes
Improved
Stability Scalability
Process Market
Automation Changes
Drivers for Application Modernization
Shifting To DevOps Is Key
Legacy Modern
Architecture Monoliths SOA Micro-services
Infrastructure Physical Servers VM Cloud
Delivery Waterfall Agile DevOps
What Is DevOps?
DevOps is practices
& culture that aims
to breakdown the
barrier between
Developers and
Operators to deliver
software better
(faster, more
efficient and more
reliable) hence
protect and improve
customer
experience.
DevOps Culture
History of
o DevOps
In 2007, it was ecognized that a lot of time and
effort was wasted navigating the project between
these two worlds.
o Later, in 2008 during an Agile conference, a
discussion group has formed..
o In June of 2009, thanks to the talk entitled “10+
Deploys a Day: Dev and Ops Cooperation at
Flickr.”, the developers and system administrators
together and discuss the best ways to start
bridging the gap between the two disparate fields.
o The event DevOpsDays, occurring in the last days
of October in 2009 and the hashtag was soon
shortened to simply DevOps over Twitter. (and
finally, in March of 2011) © FPT
11
Goals of
DevOps
DevOps aims at shorter development cycles (agile), increased deployment
frequency, and more dependable releases, in close alignment with
business objectives.
THE VERY BEST DEVOPS COMPANIES
1. Amazon 3. Netflix
To publish code changes, bug fixes and other additions whenever The Netflix streaming service is a grand
they like, which created a huge competitive advantage. They even distribution system based on the Amazon Web
have their own department for DevOps within AWS. Services mentioned above.
Amazon 1079 max deploys in a single hour and experience both Today, Netlifx publishes new
fewer and shorter outages. code thousands of times per
2. Facebook day.
Facebook was actually one of the very first advocates of DevOps and 4. Walmart
they have worked hard to update and improve its service without Walmart has been the king of physical retail
downtime. Companies that cannot keep up with this new standard for a long time. Walmart created WalmartLabs
will most likely fall far behind and have a hard time catching up with in 2011 and today use DevOps as an
those who can. important part of innovation.
12
© FPT SOFTWARE
DevOps
Lifecycle
• Release: change
management,
release approvals and move
• Deploy: infrastructure
installation, app deployment,
infrastructure/app configuration
• Plan: task and schedules management
• Operate: infrastructure/app
• Code: version control, code review and
management, high availability
scan
(HA), log/backup management,
• Build: build status, packing and artifact database management…
repository • Monitor: service performance
• Test: quality assurance of development monitoring, log monitoring,
13
© FPT SOFTWARE incident management and
Pipelines in DevOps
Lifecycle
The popular pipelines working on DevOps
lifecycle
Plan Code Build Test Release Deploy Operat Monitor
e
DevOps
Continuous Deployment
Business
(CD) Continuous Delivery
Value
(CD) Continuous
Integration (CI)
Collaboration
© FPT 14
DevOps
Transformation
©FPT
Challenges in DevOps Adoption
It’s too complex!
Where should I
start?
We do Waterfall here!
My ticket for new
resource is not
proceeded yet?
The CI server is
down, please
help, we cannot
release
I have no Ops in my team
Have anyone else done this
before, can I reuse it?
There is no standard, I will do it my Legacy Product,
own way
cannot apply!
Security is not my
responsibility
Top 6 Challenges
Complexity Cultural Changes Lack of Standardization
Lack of Expertise & Experience Lack of Time Security is not Job Zero
DevOps Maturity
Scale
Implement the appropriate
level
Data is used to refine tool chain and process, DevOps
5 Expe disappears, infrastructure as code, zero touch
deployment, anytime deployment.
rt
Tested in multiple scenarios and environments, teams
4 Advance have consistent and repeatable processes, monitoring
tools for all scenarios.
d
Centralized DevOps team, documented tools and
3 Intermediar techniques, free hands to teams, some experts and few
knowledgeable team members.
y
Some level of automation within teams, team follows
2 Beginn defined process only during crisis, each team has their
own methodology.
er
1 Novic
Teams work in silos, longer time to market, each team
works on their own priorities, manual deployment.
e
© FPT 18
Benefits of Moving to
DevOps
There are technical benefits
• Continuous software delivery
• Less complexity to manage
• Faster resolution of problems
There are cultural benefits
• Happier, more productive teams
• Higher employee engagement
• Greater professional development opportunities
And there are business benefits
• Faster delivery of features
• More stable operating environments
• Improved communication and collaboration
© FPT 19
Prepare For Your
DevOps
✔ Align with business goals
✔ Characterize your existing environment
✔ Get buy-in from all stakeholders
✔ Get comfortable with development tools
✔ Identify and eliminate manual processes
✔ Implement a comprehensive governance model, because doing
DevOps means blurring the lines between development and
operations team.
© FPT 20
Approach To Apply DevOps
DevOps Adoption & Evolution Journey with FPT Digital KaizenTM
DevOps Assessment DevOps Adoption Planning DevOps Execution
Phase 0 Phase 1 Phase 2
Determine current baseline and Build the Foundation Achieve Business Objectives
target vision of DevOps • Vision & Roadmap Established • POC: Start adopting with 1
• Current State: • MVP Implementation Design: project
o Software Development Life o Standardized Pipeline Toolchain & • Build DevOps Community
Cycle (SDLC) Environment • Build DevOps Culture
o Process & Automation Tooling o Standardized Pipeline Stages • Continuous Optimize
o Operations o Standardized Quality Gates
o Platform o Standardized Dashboard
o Security & Compliance o Supported Environments, Languages,
• Define DevOps Target Vision Frameworks & Deployment Targets
and established Roadmap • Define Governance Model
Decision Gate Decision Gate
Self Service Platform for Digital Software Delivery
Pipelines in DevOps
Lifecycle
The popular pipelines working on DevOps
lifecycle
Plan Code Build Test Release Deplo Operate Monitor
y
DevOps
Continuous Deployment
Business Value
(CD) Continuous Delivery
(CD) Continuous
Integration (CI) Collaboration
© FPT 22
DevOps Toolchains
Plan Package
Code Deploy
Orchestrati
Build Security
on
Source
Operation
Analysis
Monitor &
Test
Analysis
© FPT 23
CICD - Pipelines
©FPT
Continuous
Integration
© FPT 25
Continuous
Delivery
© FPT 26
Continuous
Integration
© FPT 27
CICD Sample System
3 Levels of code review Key words
• Automation Checklist
• Level 1, 2 : Conduct manually by IDE Build and Scripting • Continuous
Improvement
• Level 3: Apply CI/CD in code quality control by tools Jenkins, Coverity, Sonar, Protecode • Preventive Process
• Distributive Process
Azure DevOps
CICD Sample System On AWS
Agile DevOps
Thank You
©FPT