SlideShare ist ein Scribd-Unternehmen logo
1 von 42
Downloaden Sie, um offline zu lesen
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
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

Weitere ähnliche Inhalte

Was ist angesagt?

DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
Simplilearn
 
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
Simplilearn
 

Was ist angesagt? (20)

DevOps Introduction
DevOps IntroductionDevOps Introduction
DevOps Introduction
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
 
DevOps 101
DevOps 101DevOps 101
DevOps 101
 
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
Introduction To DevOps | Devops Tutorial For Beginners | DevOps Training For ...
 
DevOps
DevOps DevOps
DevOps
 
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
What is DevOps | DevOps Introduction | DevOps Training | DevOps Tutorial | Ed...
 
DevOps introduction
DevOps introductionDevOps introduction
DevOps introduction
 
Devops Devops Devops
Devops Devops DevopsDevops Devops Devops
Devops Devops Devops
 
DevOps - A Gentle Introduction
DevOps - A Gentle IntroductionDevOps - A Gentle Introduction
DevOps - A Gentle Introduction
 
DevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | Edureka
DevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | EdurekaDevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | Edureka
DevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | Edureka
 
DevOps
DevOpsDevOps
DevOps
 
DevOps without DevOps Tools
DevOps without DevOps ToolsDevOps without DevOps Tools
DevOps without DevOps Tools
 
Devops online training ppt
Devops online training pptDevops online training ppt
Devops online training ppt
 
Devops Devops Devops, at Froscon
Devops Devops Devops, at FrosconDevops Devops Devops, at Froscon
Devops Devops Devops, at Froscon
 
Dev ops != Dev+Ops
Dev ops != Dev+OpsDev ops != Dev+Ops
Dev ops != Dev+Ops
 
DevOps - Overview - One of the Top Trends in IT Industry
DevOps - Overview - One of the Top Trends in IT IndustryDevOps - Overview - One of the Top Trends in IT Industry
DevOps - Overview - One of the Top Trends in IT Industry
 
Introduction to devops
Introduction to devopsIntroduction to devops
Introduction to devops
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
Introducing DevOps, IT Sharing Session 20 Nov 2017
Introducing DevOps, IT Sharing Session 20 Nov 2017Introducing DevOps, IT Sharing Session 20 Nov 2017
Introducing DevOps, IT Sharing Session 20 Nov 2017
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 

Ähnlich wie DevOps - A Gentle Introduction

How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
Simplilearn
 

Ähnlich wie DevOps - A Gentle Introduction (20)

DevOps Culture & Methodology Intro
DevOps Culture & Methodology IntroDevOps Culture & Methodology Intro
DevOps Culture & Methodology Intro
 
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
 
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
How To Become A DevOps Engineer | Who Is A DevOps Engineer? | DevOps Engineer...
 
DevOps for Network Engineers
DevOps for Network EngineersDevOps for Network Engineers
DevOps for Network Engineers
 
Building a DevOps Culture in Public Sector | AWS Public Sector Summit 2017
Building a DevOps Culture in Public Sector | AWS Public Sector Summit 2017Building a DevOps Culture in Public Sector | AWS Public Sector Summit 2017
Building a DevOps Culture in Public Sector | AWS Public Sector Summit 2017
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
 
DevOps
DevOpsDevOps
DevOps
 
Dev ops
Dev opsDev ops
Dev ops
 
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
 
Practical DevOps & Continuous Delivery – A Webinar to learn in depth on DevO...
Practical DevOps & Continuous Delivery –  A Webinar to learn in depth on DevO...Practical DevOps & Continuous Delivery –  A Webinar to learn in depth on DevO...
Practical DevOps & Continuous Delivery – A Webinar to learn in depth on DevO...
 
ExpertsLive Session Deck
ExpertsLive Session DeckExpertsLive Session Deck
ExpertsLive Session Deck
 
Dev ops
Dev opsDev ops
Dev ops
 
Testing in the new age of DevOps
Testing in the new age of DevOpsTesting in the new age of DevOps
Testing in the new age of DevOps
 
Software architecture in a DevOps world
Software architecture in a DevOps worldSoftware architecture in a DevOps world
Software architecture in a DevOps world
 
Skills Matter DevSecOps eXchange Forum 2022 - Software architecture in a DevO...
Skills Matter DevSecOps eXchange Forum 2022 - Software architecture in a DevO...Skills Matter DevSecOps eXchange Forum 2022 - Software architecture in a DevO...
Skills Matter DevSecOps eXchange Forum 2022 - Software architecture in a DevO...
 
JavaLand 2022 - Software architecture in a DevOps world
JavaLand 2022 - Software architecture in a DevOps worldJavaLand 2022 - Software architecture in a DevOps world
JavaLand 2022 - Software architecture in a DevOps world
 
Successful Practices for Continuous Delivery CodeCPH
Successful Practices for Continuous Delivery CodeCPHSuccessful Practices for Continuous Delivery CodeCPH
Successful Practices for Continuous Delivery CodeCPH
 
What_is_DevOps.pptx
What_is_DevOps.pptxWhat_is_DevOps.pptx
What_is_DevOps.pptx
 
The Road to DevOps V3
The Road to DevOps V3The Road to DevOps V3
The Road to DevOps V3
 
Dev ops
Dev opsDev ops
Dev ops
 

Mehr von Ganesh Samarthyam

Mehr von Ganesh Samarthyam (20)

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

Kürzlich hochgeladen

%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 

Kürzlich hochgeladen (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 

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
  • 21. 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
  • 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
  • 40.
  • 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