SlideShare a Scribd company logo
GANESH SAMARTHYAM
CODEOPS TECHNOLOGIES
A Gentle
Introduction
What is
DevOps?
DevOps is a set of practices intended to
reduce the time between committing a
change to a system and the change being
placed into normal production, while
ensuring high quality.
Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
Checkin to release => it
takes ages!
how many weeks, months, or years?!!
DevOps: Lightning fast!
DevOps - Drivers
Evolution of agile
and lean methods
Need for quicker
releases to realise
business needs
Wider availability of
virtualization &
cloud-based
platforms
Increased
availability of data
centre automation &
configuration
management tools
DEVS ARE FROM VENUS,
OPS ARE FROM MARS
Steven Haines
Dev
Ops
YOU BUILD IT, YOU
RUN IT
Werner Voegls
Cyclic vs. continuous
delivery
Cyclic delivery
of earlier times
continuous delivery
of modern times
weeks/months/years
hours/days!
Agile and DevOps
• Agile focuses on bridging the gap between user
requirements and realising them and testing it. So it
bridges the gap between user requirements and
development + testing.
• DevOps focuses on bridging the gap between the
developers and the operations people. So, in
addition to users functional and non-functional
requirements, devops focuses on operational and
business readiness
DevOps principles
• Systems thinking - looking at how the entire system
works instead of silos (like development teams, IT
operations team, etc)
• Amplify feedback loops
• A culture of continual experimentation and learning
DEVELOP SYSTEMS,
NOT SOFTWARE
Ben Butler Cole
The deployment pipeline
Source: “Continuous Delivery: Reliable Software Releases Through Build, Test, and and Deployment Automation”, Jez Humble, David Farley, Addison Wesley, 2010
DevOps processes
• Treat operators as first class citizens
• Make Dev more responsible for incident handling
• Enforce deployment practices uniformly across
both dev and ops
• Use continuous deployment
• Develop infrastructure code using same processes
as application code
Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
Deployment strategies
• Two basic all of nothing strategies
• Blue/Green (Red/Black) – leave N instances with
version A as they are, allocate and provision N
instances with version B and then switch to version B
and release instances with version A.
• Rolling Upgrade – allocate one instance, provision it
with version B, release one version A instance.
Repeat N times.
• Partial strategies are canary testing and A/B testing.
Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
Blue-green deployments
source: http://martinfowler.com/bliki/BlueGreenDeployment.html
Rolling upgrade
Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
Feature toggles
• Develop version B with new code under control of
feature toggle
• Install each instance of version B with the new code
toggled off.
• When all of the instances of version A have been
replaced with instances of version B, activate new code
through toggling the feature.
Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
Key idea: differentiate between
installing a new version and
activating a new version
Canary testing
• Canaries are a small number of instances of a new
version placed in production in order to perform live
testing in a production environment.
• Canaries are observed closely to determine whether the
new version introduces any logical or performance
problems. If not, roll out new version globally. If so, roll
back canaries.
Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
Canary testing
source: http://media.cagle.com/96/2014/05/14/148486_600.jpg
Using birds in coal
mines to detect
leakage of dangerous
gases
A/B testing
Source: http://blog.christianposta.com/images/abtesting.png
Rollback or roll forward?
• When newly deployed feature has bugs or other
problems (e.g., performance), what to do?
• Roll back (undo the deployment)
• Roll forward (replace the feature with new feature /
fixed version)
THE MOST POWERFUL TOOL
WE HAVE AS DEVELOPERS
IS AUTOMATION
Scott Hanselman
Deployment tools
• “Bake” machine images
• “Recipes” for standard configurations
• DevOps engineers manage the recipes
• “Infrastructure as code” approach
• Scripts are managed with similar processes as
source code (e.g., versioned in configuration
management systems)
Server snowflakes
• Server configurations can be different. This makes
reproducing the problem in the production
environment difficult in the production environment.
source: http://www.livescience.com/images/i/000/009/284/original/ig35_snowflakes_13_02.jpg?interpolation=lanczos-none&downsize=660:*
Automated deployment
mechanism: Tools
Shell Scripts
Puppet
Redhat Kickstart
Solaris Jumpstart
Chef
Debian Preseed
Infrastructure configuration
management
Apache
ZooKeeper
Puppet
Noah
Chef
Environment
virtualisation
Vagrant
Xen
VeeWee
KVM
Deployment
automation
Capistrano
DevOps: Challenges
• How to integrate security audits on continually
changing codebases?
• How to run static analysers - they take quite a bit of
time to run and can delay builds?
• How to deal with culture change in the org
(developers and operators - both will resist)
DevOps and related topics
• Continuous integration focuses on integrating code
changes by developers so that the main branch is
up-to-date
• Continuous delivery focuses on taking the results of
continuous integration builds and put them into
production
• DevOps and Cloud technologies are intricately
connected though DevOps practices can be used
independently of the cloud
DevOps benefits
• Quicker delivery - shorter time from need to
realisation
• Better quality
• Increased organisational effectiveness
DEPLOYMENT CELEBRATIONS SHOULD
BE ABOUT THE VALUE OF THE NEW
FEATURES, NOT JOYFUL RELIEF THAT
NOTHING WENT HORRIBLY WRONG
Rebecca Parsons
DEVOPS IS NOT A GOAL, BUT A
NEVER-ENDING PROCESS OF
CONTINUAL IMPROVEMENT
Jez Humble
Recommended
Reading
FROM CONCEPT TO CASH
➤ Lean Software Development
book provides the foundation for
DevOps; its principles are:
➤ Eliminate waste
➤ Amplify learning
➤ Decide as late as possible
➤ Deliver as fast as possible
➤ Empower the team
➤ Build quality in
➤ See the whole
➤ Read it to perform value stream
mapping for DevOps“Implementing Lean Software Development: From Concept to Cash”, Mary
Poppendieck, Tom Poppendieck, Addison-Wesley Professional, 2006
https://amzn.com/0321437381
A BROAD PERSPECTIVE
➤ DevOps is more than bringing
in DevOps engineers or using
tools
➤ This book provides an overall
perspective of DevOps by
covering its history and covers
foundational concepts
➤ Covers four pillars of effective
DevOps: Collaboration,
Affinity, Tools, and Scaling
➤ Has interesting case studies,
clears misconceptions, and
helps troubleshoot
Effective DevOps: Building a Culture of Collaboration, Affinity, and Tooling at
Scale, Jennifer Davis, Katherine Daniels, O'Reilly Media, 2016
https://amzn.com/1491926309
CD DISTILLED
➤ An early book on Continuous
Delivery
➤ Released before DevOps
became a buzzword - but it
covers dev ops concepts in its
essence
➤ Book divided into three parts:
Foundation, The Deployment
Pipeline, and The Delivery
Ecosystem
➤ Written based on the practical
experience of authors and covers
important aspects such as
feature toggles; hence must read“Continuous Delivery: Reliable Software Releases Through Build, Test, and and
Deployment Automation”, Jez Humble, David Farley, Addison Wesley, 2010
http://www.amazon.in/dp/0321601912
WHY DEVOPS?
➤ From the authors of the
popular “The Visible Ops
Handbook”
➤ This book shows why DevOps
and how it helps business win
➤ It tells the story of an IT
manager who has to rescue an
IT project in crisis
➤ Written in a fiction style, so
easy to read
➤ An important read for
managers for effective adoption
of DevOps practices“The Phoenix Project: A Novel About IT, DevOps, and Helping Your Business Win”,
Gene Kim, Kevin Behr, George Spafford, IT Revolution Press, 2013
https://amzn.com/0988262592
ARCHITECT’S PERSPECTIVE
➤ Most books on DevOps talk
about tools, process and
technology perspective
➤ This book is a take on an
architect’s perspective on
DevOps
➤ Covers deployment
pipeline, cross-cutting
concerns (monitoring,
security, …), and case
studies
➤ A bit-dry (written in more of
an academic style)
DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu,
Addison-Wesley Professional, 2015
https://amzn.com/0134049845
DevOps - A Gentle Introduction
ganesh@codeops.tech @GSamarthyam
www.codeops.tech slideshare.net/sgganesh
+91 98801 64463 bit.ly/sgganesh
IMAGE CREDITS
▸ https://assets.ashleypoole.co.uk/img/2016/02/dev-ops-principles.jpg
▸ http://siliconangle.com/files/2013/01/devops.jpg
▸ https://s-media-cache-ak0.pinimg.com/736x/db/94/70/db9470b9a02d379ca9f8d43a60d70bbd.jpg
▸ http://mediacom.com/media/1081/system-thinking-1.jpg?
mode=crop&width=1920&height=1080&upscale=false&rnd=130830729460000000
▸ https://media.licdn.com/mpr/mpr/shrinknp_400_400/
AAEAAQAAAAAAAAleAAAAJGJhYmZkZjk3LWZiNzktNDMxNC04OGI2LWVlNzRiY2RjOGI1OA.jpg
▸ http://1u88jj3r4db2x4txp44yqfj1.wpengine.netdna-cdn.com/wp-content/uploads/2015/10/gears-930x620.jpg
▸ http://www.edutopia.org/sites/default/files/styles/share_image/public/slates/johnson-celebration-of-learning-Thinkstock.gif?
itok=m_aDCkEr
▸ http://pmtips.net/wp-content/uploads/2012/02/build-collaborate-engage.jpg
▸ http://vignette4.wikia.nocookie.net/lps2012/images/5/5d/Minka_made_a_big_mess.png/revision/latest?cb=20150206001314
▸ http://cdn29.elitedaily.com/content/uploads/2015/11/06084613/Stocksy_txpb051b385uAX000_Small_1805183.jpg
▸ http://photos1.meetupstatic.com/photos/event/d/3/5/6/600_330714102.jpeg
▸ http://cdn02.mindtheproduct.com/wp-content/uploads/2016/01/457-image-for-devops-part-of-blog_old-way_1200x400.png
▸ http://cdn02.mindtheproduct.com/wp-content/uploads/2016/01/457-image-for-devops-part-of-blog_new-way_560x560.png

More Related Content

What's hot (20)

PPTX
DevOps introduction
Mettje Heegstra
 
PPTX
DevOps Introduction
Robert Sell
 
PPTX
Introduction to devops
UtpalenduChakrobortt1
 
PPTX
Introduction to DevOps
Hawkman Academy
 
PDF
Azure DevOps Presentation
InCycleSoftware
 
PDF
DevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | Edureka
Edureka!
 
PPTX
Azure DevOps in Action
Callon Campbell
 
PPTX
Azure devops
Mohit Chhabra
 
PPTX
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
Simplilearn
 
PPTX
Dev ops != Dev+Ops
Shalu Ahuja
 
PPTX
Devops
Daniel Fikre
 
PPTX
Intro to Azure DevOps
Lorenzo Barbieri
 
PPTX
An introduction to DevOps
Alexander Meijers
 
PPTX
What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...
Simplilearn
 
PPTX
DevOps Foundation
Homepree Rloy
 
PPTX
Devops ppt
Sulekha IT Training
 
PDF
How to implement DevOps in your Organization
Dalibor Blazevic
 
PPTX
Azure DevOps
Felipe Artur Feltes
 
PDF
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Edureka!
 
PPTX
DevOps without DevOps Tools
Jagatveer Singh
 
DevOps introduction
Mettje Heegstra
 
DevOps Introduction
Robert Sell
 
Introduction to devops
UtpalenduChakrobortt1
 
Introduction to DevOps
Hawkman Academy
 
Azure DevOps Presentation
InCycleSoftware
 
DevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | Edureka
Edureka!
 
Azure DevOps in Action
Callon Campbell
 
Azure devops
Mohit Chhabra
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
Simplilearn
 
Dev ops != Dev+Ops
Shalu Ahuja
 
Devops
Daniel Fikre
 
Intro to Azure DevOps
Lorenzo Barbieri
 
An introduction to DevOps
Alexander Meijers
 
What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...
Simplilearn
 
DevOps Foundation
Homepree Rloy
 
How to implement DevOps in your Organization
Dalibor Blazevic
 
Azure DevOps
Felipe Artur Feltes
 
Introduction to DevOps Tools | DevOps Training | DevOps Tutorial for Beginner...
Edureka!
 
DevOps without DevOps Tools
Jagatveer Singh
 

Similar to DevOps - A Gentle Introduction (20)

PDF
DevOps, Common use cases, Architectures, Best Practices
Shiva Narayanaswamy
 
PDF
Introduction to DevOps
Ahmed Adel
 
PPTX
DevOps Culture transformation in Modern Software Delivery
Najib Radzuan
 
PDF
DevOps 101 - DevOps Columbia 3-20-2025.pdf
judy (fink) johnson
 
PDF
DevOps Culture & Methodology Intro
Najib Radzuan
 
PDF
Devops - why, what and how?
Malinda Kapuruge
 
PPTX
What_is_DevOps_how_it's_very_useful_in_daily_Life.
anilpmuvvala
 
PPTX
What is DevOps And How It Is Useful In Real life.
anilpmuvvala
 
PPTX
What_is_DevOps.pptx
mridulsharma774687
 
PPTX
DevOps - Overview - One of the Top Trends in IT Industry
Rahul Tilloo
 
PPTX
Delivering Applications Continuously to Cloud
IBM UrbanCode Products
 
PDF
Intro to DevOps
Ernest Mueller
 
PDF
1--DevOps---practical-devops_compress.pdf
ZehraKoker
 
PPT
IBM Innovate 2013 Session: DevOps 101
Sanjeev Sharma
 
PPTX
devop, developement operations agile software developement
ahmed948311
 
PPT
Dev ops intro
Raju Raju
 
PDF
Introduction to DevOps
Ravindu Fernando
 
PPTX
AICT_presentation.pptx
AbdullahMalik486262
 
PPTX
DevOps for dummies study sharing - part II
Chen-Tien Tsai
 
PDF
Webinar: Demonstrating Business Value for DevOps & Continuous Delivery
XebiaLabs
 
DevOps, Common use cases, Architectures, Best Practices
Shiva Narayanaswamy
 
Introduction to DevOps
Ahmed Adel
 
DevOps Culture transformation in Modern Software Delivery
Najib Radzuan
 
DevOps 101 - DevOps Columbia 3-20-2025.pdf
judy (fink) johnson
 
DevOps Culture & Methodology Intro
Najib Radzuan
 
Devops - why, what and how?
Malinda Kapuruge
 
What_is_DevOps_how_it's_very_useful_in_daily_Life.
anilpmuvvala
 
What is DevOps And How It Is Useful In Real life.
anilpmuvvala
 
What_is_DevOps.pptx
mridulsharma774687
 
DevOps - Overview - One of the Top Trends in IT Industry
Rahul Tilloo
 
Delivering Applications Continuously to Cloud
IBM UrbanCode Products
 
Intro to DevOps
Ernest Mueller
 
1--DevOps---practical-devops_compress.pdf
ZehraKoker
 
IBM Innovate 2013 Session: DevOps 101
Sanjeev Sharma
 
devop, developement operations agile software developement
ahmed948311
 
Dev ops intro
Raju Raju
 
Introduction to DevOps
Ravindu Fernando
 
AICT_presentation.pptx
AbdullahMalik486262
 
DevOps for dummies study sharing - part II
Chen-Tien Tsai
 
Webinar: Demonstrating Business Value for DevOps & Continuous Delivery
XebiaLabs
 
Ad

More from Ganesh Samarthyam (20)

PDF
Wonders of the Sea
Ganesh Samarthyam
 
PDF
Animals - for kids
Ganesh Samarthyam
 
PDF
Applying Refactoring Tools in Practice
Ganesh Samarthyam
 
PDF
CFP - 1st Workshop on “AI Meets Blockchain”
Ganesh Samarthyam
 
PDF
Great Coding Skills Aren't Enough
Ganesh Samarthyam
 
PDF
College Project - Java Disassembler - Description
Ganesh Samarthyam
 
PDF
Coding Guidelines - Crafting Clean Code
Ganesh Samarthyam
 
PDF
Design Patterns - Compiler Case Study - Hands-on Examples
Ganesh Samarthyam
 
PDF
Bangalore Container Conference 2017 - Brief Presentation
Ganesh Samarthyam
 
PDF
Bangalore Container Conference 2017 - Poster
Ganesh Samarthyam
 
PDF
Software Design in Practice (with Java examples)
Ganesh Samarthyam
 
PDF
OO Design and Design Patterns in C++
Ganesh Samarthyam
 
PDF
Bangalore Container Conference 2017 - Sponsorship Deck
Ganesh Samarthyam
 
PDF
Let's Go: Introduction to Google's Go Programming Language
Ganesh Samarthyam
 
PPT
Google's Go Programming Language - Introduction
Ganesh Samarthyam
 
PDF
Java Generics - Quiz Questions
Ganesh Samarthyam
 
PDF
Java Generics - by Example
Ganesh Samarthyam
 
PDF
Software Architecture - Quiz Questions
Ganesh Samarthyam
 
PDF
Docker by Example - Quiz
Ganesh Samarthyam
 
PDF
Core Java: Best practices and bytecodes quiz
Ganesh Samarthyam
 
Wonders of the Sea
Ganesh Samarthyam
 
Animals - for kids
Ganesh Samarthyam
 
Applying Refactoring Tools in Practice
Ganesh Samarthyam
 
CFP - 1st Workshop on “AI Meets Blockchain”
Ganesh Samarthyam
 
Great Coding Skills Aren't Enough
Ganesh Samarthyam
 
College Project - Java Disassembler - Description
Ganesh Samarthyam
 
Coding Guidelines - Crafting Clean Code
Ganesh Samarthyam
 
Design Patterns - Compiler Case Study - Hands-on Examples
Ganesh Samarthyam
 
Bangalore Container Conference 2017 - Brief Presentation
Ganesh Samarthyam
 
Bangalore Container Conference 2017 - Poster
Ganesh Samarthyam
 
Software Design in Practice (with Java examples)
Ganesh Samarthyam
 
OO Design and Design Patterns in C++
Ganesh Samarthyam
 
Bangalore Container Conference 2017 - Sponsorship Deck
Ganesh Samarthyam
 
Let's Go: Introduction to Google's Go Programming Language
Ganesh Samarthyam
 
Google's Go Programming Language - Introduction
Ganesh Samarthyam
 
Java Generics - Quiz Questions
Ganesh Samarthyam
 
Java Generics - by Example
Ganesh Samarthyam
 
Software Architecture - Quiz Questions
Ganesh Samarthyam
 
Docker by Example - Quiz
Ganesh Samarthyam
 
Core Java: Best practices and bytecodes quiz
Ganesh Samarthyam
 
Ad

Recently uploaded (20)

PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 

DevOps - A Gentle Introduction

  • 3. DevOps is a set of practices intended to reduce the time between committing a change to a system and the change being placed into normal production, while ensuring high quality. Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
  • 4. Checkin to release => it takes ages! how many weeks, months, or years?!!
  • 6. DevOps - Drivers Evolution of agile and lean methods Need for quicker releases to realise business needs Wider availability of virtualization & cloud-based platforms Increased availability of data centre automation & configuration management tools
  • 7. DEVS ARE FROM VENUS, OPS ARE FROM MARS Steven Haines
  • 9. YOU BUILD IT, YOU RUN IT Werner Voegls
  • 10. Cyclic vs. continuous delivery Cyclic delivery of earlier times continuous delivery of modern times weeks/months/years hours/days!
  • 11. Agile and DevOps • Agile focuses on bridging the gap between user requirements and realising them and testing it. So it bridges the gap between user requirements and development + testing. • DevOps focuses on bridging the gap between the developers and the operations people. So, in addition to users functional and non-functional requirements, devops focuses on operational and business readiness
  • 12. DevOps principles • Systems thinking - looking at how the entire system works instead of silos (like development teams, IT operations team, etc) • Amplify feedback loops • A culture of continual experimentation and learning
  • 14. The deployment pipeline Source: “Continuous Delivery: Reliable Software Releases Through Build, Test, and and Deployment Automation”, Jez Humble, David Farley, Addison Wesley, 2010
  • 15. DevOps processes • Treat operators as first class citizens • Make Dev more responsible for incident handling • Enforce deployment practices uniformly across both dev and ops • Use continuous deployment • Develop infrastructure code using same processes as application code Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
  • 16. Deployment strategies • Two basic all of nothing strategies • Blue/Green (Red/Black) – leave N instances with version A as they are, allocate and provision N instances with version B and then switch to version B and release instances with version A. • Rolling Upgrade – allocate one instance, provision it with version B, release one version A instance. Repeat N times. • Partial strategies are canary testing and A/B testing. Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
  • 18. Rolling upgrade Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
  • 19. Feature toggles • Develop version B with new code under control of feature toggle • Install each instance of version B with the new code toggled off. • When all of the instances of version A have been replaced with instances of version B, activate new code through toggling the feature. Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015 Key idea: differentiate between installing a new version and activating a new version
  • 20. Canary testing • Canaries are a small number of instances of a new version placed in production in order to perform live testing in a production environment. • Canaries are observed closely to determine whether the new version introduces any logical or performance problems. If not, roll out new version globally. If so, roll back canaries. Source: DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015
  • 23. Rollback or roll forward? • When newly deployed feature has bugs or other problems (e.g., performance), what to do? • Roll back (undo the deployment) • Roll forward (replace the feature with new feature / fixed version)
  • 24. THE MOST POWERFUL TOOL WE HAVE AS DEVELOPERS IS AUTOMATION Scott Hanselman
  • 25. Deployment tools • “Bake” machine images • “Recipes” for standard configurations • DevOps engineers manage the recipes • “Infrastructure as code” approach • Scripts are managed with similar processes as source code (e.g., versioned in configuration management systems)
  • 26. Server snowflakes • Server configurations can be different. This makes reproducing the problem in the production environment difficult in the production environment. source: http://www.livescience.com/images/i/000/009/284/original/ig35_snowflakes_13_02.jpg?interpolation=lanczos-none&downsize=660:*
  • 27. Automated deployment mechanism: Tools Shell Scripts Puppet Redhat Kickstart Solaris Jumpstart Chef Debian Preseed
  • 29. DevOps: Challenges • How to integrate security audits on continually changing codebases? • How to run static analysers - they take quite a bit of time to run and can delay builds? • How to deal with culture change in the org (developers and operators - both will resist)
  • 30. DevOps and related topics • Continuous integration focuses on integrating code changes by developers so that the main branch is up-to-date • Continuous delivery focuses on taking the results of continuous integration builds and put them into production • DevOps and Cloud technologies are intricately connected though DevOps practices can be used independently of the cloud
  • 31. DevOps benefits • Quicker delivery - shorter time from need to realisation • Better quality • Increased organisational effectiveness
  • 32. DEPLOYMENT CELEBRATIONS SHOULD BE ABOUT THE VALUE OF THE NEW FEATURES, NOT JOYFUL RELIEF THAT NOTHING WENT HORRIBLY WRONG Rebecca Parsons
  • 33. DEVOPS IS NOT A GOAL, BUT A NEVER-ENDING PROCESS OF CONTINUAL IMPROVEMENT Jez Humble
  • 35. FROM CONCEPT TO CASH ➤ Lean Software Development book provides the foundation for DevOps; its principles are: ➤ Eliminate waste ➤ Amplify learning ➤ Decide as late as possible ➤ Deliver as fast as possible ➤ Empower the team ➤ Build quality in ➤ See the whole ➤ Read it to perform value stream mapping for DevOps“Implementing Lean Software Development: From Concept to Cash”, Mary Poppendieck, Tom Poppendieck, Addison-Wesley Professional, 2006 https://amzn.com/0321437381
  • 36. A BROAD PERSPECTIVE ➤ DevOps is more than bringing in DevOps engineers or using tools ➤ This book provides an overall perspective of DevOps by covering its history and covers foundational concepts ➤ Covers four pillars of effective DevOps: Collaboration, Affinity, Tools, and Scaling ➤ Has interesting case studies, clears misconceptions, and helps troubleshoot Effective DevOps: Building a Culture of Collaboration, Affinity, and Tooling at Scale, Jennifer Davis, Katherine Daniels, O'Reilly Media, 2016 https://amzn.com/1491926309
  • 37. CD DISTILLED ➤ An early book on Continuous Delivery ➤ Released before DevOps became a buzzword - but it covers dev ops concepts in its essence ➤ Book divided into three parts: Foundation, The Deployment Pipeline, and The Delivery Ecosystem ➤ Written based on the practical experience of authors and covers important aspects such as feature toggles; hence must read“Continuous Delivery: Reliable Software Releases Through Build, Test, and and Deployment Automation”, Jez Humble, David Farley, Addison Wesley, 2010 http://www.amazon.in/dp/0321601912
  • 38. WHY DEVOPS? ➤ From the authors of the popular “The Visible Ops Handbook” ➤ This book shows why DevOps and how it helps business win ➤ It tells the story of an IT manager who has to rescue an IT project in crisis ➤ Written in a fiction style, so easy to read ➤ An important read for managers for effective adoption of DevOps practices“The Phoenix Project: A Novel About IT, DevOps, and Helping Your Business Win”, Gene Kim, Kevin Behr, George Spafford, IT Revolution Press, 2013 https://amzn.com/0988262592
  • 39. ARCHITECT’S PERSPECTIVE ➤ Most books on DevOps talk about tools, process and technology perspective ➤ This book is a take on an architect’s perspective on DevOps ➤ Covers deployment pipeline, cross-cutting concerns (monitoring, security, …), and case studies ➤ A bit-dry (written in more of an academic style) DevOps: A Software Architect's Perspective, Len Bass, Ingo Weber, Liming Zhu, Addison-Wesley Professional, 2015 https://amzn.com/0134049845
  • 42. IMAGE CREDITS ▸ https://assets.ashleypoole.co.uk/img/2016/02/dev-ops-principles.jpg ▸ http://siliconangle.com/files/2013/01/devops.jpg ▸ https://s-media-cache-ak0.pinimg.com/736x/db/94/70/db9470b9a02d379ca9f8d43a60d70bbd.jpg ▸ http://mediacom.com/media/1081/system-thinking-1.jpg? mode=crop&width=1920&height=1080&upscale=false&rnd=130830729460000000 ▸ https://media.licdn.com/mpr/mpr/shrinknp_400_400/ AAEAAQAAAAAAAAleAAAAJGJhYmZkZjk3LWZiNzktNDMxNC04OGI2LWVlNzRiY2RjOGI1OA.jpg ▸ http://1u88jj3r4db2x4txp44yqfj1.wpengine.netdna-cdn.com/wp-content/uploads/2015/10/gears-930x620.jpg ▸ http://www.edutopia.org/sites/default/files/styles/share_image/public/slates/johnson-celebration-of-learning-Thinkstock.gif? itok=m_aDCkEr ▸ http://pmtips.net/wp-content/uploads/2012/02/build-collaborate-engage.jpg ▸ http://vignette4.wikia.nocookie.net/lps2012/images/5/5d/Minka_made_a_big_mess.png/revision/latest?cb=20150206001314 ▸ http://cdn29.elitedaily.com/content/uploads/2015/11/06084613/Stocksy_txpb051b385uAX000_Small_1805183.jpg ▸ http://photos1.meetupstatic.com/photos/event/d/3/5/6/600_330714102.jpeg ▸ http://cdn02.mindtheproduct.com/wp-content/uploads/2016/01/457-image-for-devops-part-of-blog_old-way_1200x400.png ▸ http://cdn02.mindtheproduct.com/wp-content/uploads/2016/01/457-image-for-devops-part-of-blog_new-way_560x560.png