SlideShare uma empresa Scribd logo
1 de 51
The DevOps
Handbook
HARISH K M
Manufacturing Value
Stream Technology Value
Stream
The sequence of activities an
organisation undertakes to deliver
upon.
The sequence of activities
required to design, produce, and
deliver a good or service to a
customer, including the dual flows
of information and material.
Same principle and pattern.
A process required to convert a
business hypothesis into a
technology enable service that
delivers value to the customer.
Lead Time Process Time
Clock starts when request
is made and ends when it
is full filled.
Clock starts when we begin
work on the customer
request. This omits the time
that the work is in queue,
waiting to be processed.
The Three Ways
The Firstway
The Principles of Flow
Enables fast left-to-right flow of work from
Development to Operations to the customer.
In order to maximise flow, we need to make work
visible, reduce our batch sizes and interval of work,
build in quality by preventing defects from being
passed to downstream work centres, and constantly
optimise for the global goals.
The Second Way
The Principles of Feedback
Enables the fast and constant flow of feedback from
right to left at all stages of our value stream. It
requires that we amplify feedback to prevent
problems from happening again, or enable faster
detection and recovery. By doing this, we create
quality at the source and generate or embed
knowledge where it is needed - this allows us to
create ever-safer systems of work where problems
are found and fixed long before a catastrophic
failure occurs.
The Third Way
The Principles of Continual Learning
Enables the creation of generative, high-trust
culture that supports a dynamic, disciplined, and
scientific approach to experimentation and risk-
taking, facilitating the creation of organisational
learning, both from success and failures.
The Firstway
The Principles of FLOW
The Principles of Flow
MAKE WORK VISIBLE e.g. Sprint Board, KANBAN
Board
The Principles of Flow
• REDUCE BATCH SIZES
Mass production vs Single piece flow
Batch is code
The Principles of Flow
• REDUCE THE NUMBER OF HANDOFFS
Automate as much as possible
• Continually identify and elevate our constraints
Environment Creation
Code Deployment
Test setup and run
Overly tight architecture
• ELIMINATE HARDSHIPS AND WASTE IN THE
VALUE STREAM
Partially done work
Extra processes, Extra Features
Task Switching, Waiting
Defects, Nonstandard or manual work
Heroics
The Principles of Flow
The Secondway
The Principles of
FEEDBACK
The Principles of
FEEDBACK
• WORKING SAFELY WITHIN COMPLEX SYSTEMS
• SEE PROBLEMS AS THEY OCCUR
• SWARM AND SOLVE PROBLEMS TO BUILD NEW
KNOWLEDGE
• KEEP PUSHING QUALITY CLOSER TO THE
SOURCE
• ENABLE OPTIMISING FOR DOWNSTREAM WORK
CENTERS
The Principles of
Continual Learning
ENABLE ORGANISATIONAL LEARNING AND A SAFETY
CULTURE
INSTITUTIONALISE THE IMPROVEMENT OF DAILY
WORK
TRANSFORM LOCAL DISCOVERIES INTO GLOBAL
IMPROVEMENTS
INJECT RESILIENCE PATTERNS INTO OUR DAILY
WORK
LEADERS REINFORCE A LEARNING CULTURE
WHERE TO START ?
Green Field Brown Field
Greenfield development is
when we build on
undeveloped land.
Greenfield DevOps projects
are often pilots to
demonstrate feasibility of
public or private clouds,
piloting deployment
automation, and similar
tools.
Brownfield development is
when we build on land that
was previously used for
industrial purposes,
potentially contaminated
with hazardous waste or
pollution.
Brownfield projects often
come with significant
amounts of technical debt,
such as having no test
automation or running on
unsupported platforms.
CREATE A VALUE STREAM MAP
TO SEE THE WORK
START WITH MOST SYMPATHETIC
AND INNOVATIVE GROUPS
IDENTIFY THE TEAMS
SUPPORTING OUR VALUE STREAM
Product Owner
Development
QA
Operations
InfoSec
Release Manager
Technology Executives or Value Stream Manager
What Else?
CREATE A DEDICATED TRANSFORMATION
TEAM
AGREE ON A SHARED GOAL
CONWAY’S LAW
“organisations which design systems... are
constrained to produce designs which are copies of
the communication structures of these
organisations…. The larger an organisation is, the
less flexibility it has and the more pronounced the
phenomenon.”
ORGANISATIONAL
ARCHETYPES
Functional Oriented Organisation
Matrix Oriented Organisation
Market Oriented Organisation
Functional
Organisation
Matrix
Organisation
Market
Oriented
Organisation
Optimise for
expertise,
division of labour,
or reducing cost.
Tall hierarchical
organisational
structure.
Have
Development &
Operations Team
separately.
Mix of Both Optimise for
responding
quickly to
customer
needs.
Flat
organisational
structure.
Adopt DevOps.
Functional vs Market
Orientation
Specialists vs Generalists
vs E-shaped
So, To get Greater
Outcome
• Design Team boundaries in accordance with Conway’s Law
• Create loosely coupled architectures to enable developer productivity and
safety
• Keep team sizes small (The two pizza team rule)
• Create shared services to increase developer productivity
• Embed DevOps engineer into our service teams
• Assign an DevOps liaison to each service team
• Invite DevOps to our dev stand-ups and retrospectives
• Make relevant DevOps work visible on shared KANBAN board
The Technical
Practices of Flow
The Technical Practices of
Flow
• Create the foundations of our deployment pipeline.
Create single repository of truth for the entire system
Enable On-Demand creation of Dev, Test, and Production environments
Spinning up a new environment in Cloud e.g. AWS
Infrastructure as a Code e.g. Terraform
Configuration Management Tools e.g. Ansible
Virtualised environment e.g. Vagrant
Make Infrastructure easier to rebuild than to repair.
• Modify Definition of Development “DONE” to include running in production-like
environments
• Enable Fast and Reliable Automated Testing
• Continuously build, test, and integrate our code and
environments.
The Technical Practices of
Flow
• Build a fast and reliable automated validation test suite
Unit Tests. Single method, Function or Class tested
in isolation. ‘Stub out’ Databases, Network calls
Acceptance Tests. Test the application as a whole.
Business acceptance criteria of a User Story.
Integration Tests. Testing application correctly
interacts with other production applications
• Catch errors as early in our automated testing as
possible
The Technical Practices of
Flow
The Technical Practices of
Flow
• Ensure tests run quickly(In parallel, if necessary)
• Test Driven Development. Write our Automated tests before we write the code.
Ensure tests fail
Ensure tests pass
Refactor & Ensure tests pass
• Automate as many of manual tests as possible
• Integrate Performance Testing into our Test suite
• Integrate Non functional requirements testing into our test suite
Availability, Scalability, Capacity, Security, and so forth
• Pull ‘Andon Cord’ when the deployment pipeline breaks
The Technical Practices of
Flow
• Enable and practice CI
• Adopt TRUNK based development practices
The Technical Practices of
Flow
• Automate and enable low risk releases.
• Ensure we maintain consistent environments.
• Deploying the same way to every environment.
• Automated Smoke testing our deployments.
The Technical Practices of
Flow
• Release Patterns
• Environment based release pattern
• Two or more environments. One environment receives customer’s
live traffic. New code is deployed to non-live environment, and the
release is performed moving traffic to this environment.
• E.g.
• Blue Green deployments pattern
• Canary Releases
• Cluster Immune Systems
The Technical Practices of
Flow
• Release Patterns
• Application based release pattern
• Modify the application and selectively release and expose
specific functionality by small configuration changes.
• E.g.
• Feature Flag. Visible to Development Team, Internal
employees, Selected customers.
• Dark Launch. Provides testing in production itself.
The Technical Practices of
Flow
• Blue Green deployment pattern
• Create two databases
• Decouple database changes from application
changes. Make only additive changes and never
mutate database objects.
The Technical Practices of
Flow
• The Canary release pattern
• Cluster Immune System release patterns.
Automatically rollback based on performance
threshold.
The Technical Practices of
Flow
• Architect for Low-Risk Releases
• Architectural Archetypes: Monoliths Vs
MicroServices
• Use Strangler Application pattern to safely evolve
our enterprise architecture.
The Technical Practices of
Flow
The Technical Practices of
Flow
The Technical Practices of
Flow
Strangler Application Pattern
Too tightly-coupled architecture.
Develop, Test, and Deploy the decoupled functionality
independently.
Placing existing functionality behind an API, where it remains
unchanged, and implementing new functionality using our
desired architecture, making calls to the old system when
necessary. When we implement strangler applications, we
seek to access all services through versioned APIs, also
called versioned services or immutable services.
The Technical
Practices of Feedback
The Technical Practices of
Feedback
• Create our centralised Telemetry Infrastructure
Data collection at the business logic, application,
and environments layer
An event router responsible for storing our events
and metrics.
• Create application logging telemetry that helps solving
production issues
DEBUG, INFO, WARN, ERROR, FATAL
The Technical Practices of
Feedback
• Create self-service access to telemetry and information radiators
• Find and fill any telemetry gaps
• Business Level. e.g. Number of sales transactions, revenue of sales
transactions, user signups etc.
• Application Level. e.g. Transaction times, User response times, application
faults etc.
• Infrastructure Level. e.g. WebServer traffic, CPU load, Disk usage etc.
• Client Software Level. e.g. JavaScript client errors, Mobile application errors,
crashes etc.
• Deployment Pipeline Level. e.g. deployment lead times, deployment
frequencies, environment status etc.
The Technical Practices of
Feedback
• Analyse Telemetry to Better anticipate problems
and achieve goals.
Use MEANS and STANDARD DEVIATIONS to
detect potential problems.
The Technical Practices of
Feedback
finally {
if ( !devOpsPrinciplesFollowed || !devOpsPracticesFollowed ) {
}
}
For Listening to `this.flow`
Do share `your.feedback`
Thanks

Mais conteúdo relacionado

Mais procurados

DevOps Approach (Point of View by Ravi Tadwalkar)
DevOps Approach (Point of View by Ravi Tadwalkar)DevOps Approach (Point of View by Ravi Tadwalkar)
DevOps Approach (Point of View by Ravi Tadwalkar)Ravi Tadwalkar
 
DevOps Powerpoint Presentation Slides
DevOps Powerpoint Presentation SlidesDevOps Powerpoint Presentation Slides
DevOps Powerpoint Presentation SlidesSlideTeam
 
Leveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the EnterpriseLeveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the EnterpriseAndrew Kelleher
 
Dev ops != Dev+Ops
Dev ops != Dev+OpsDev ops != Dev+Ops
Dev ops != Dev+OpsShalu Ahuja
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | EdurekaEdureka!
 
DevOps: A Culture Transformation, More than Technology
DevOps: A Culture Transformation, More than TechnologyDevOps: A Culture Transformation, More than Technology
DevOps: A Culture Transformation, More than TechnologyCA Technologies
 
Team Topologies - how and why to design your teams - AllDayDevOps 2017
Team Topologies - how and why to design your teams - AllDayDevOps 2017Team Topologies - how and why to design your teams - AllDayDevOps 2017
Team Topologies - how and why to design your teams - AllDayDevOps 2017Matthew Skelton
 
How to facilitate product backlog refinement sessions
How to facilitate product backlog refinement sessionsHow to facilitate product backlog refinement sessions
How to facilitate product backlog refinement sessionsLuxoftAgilePractice
 
The Four Keys - Measuring DevOps Success
The Four Keys - Measuring DevOps SuccessThe Four Keys - Measuring DevOps Success
The Four Keys - Measuring DevOps SuccessDina Graves Portman
 
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020Manuel Pais
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOpsMatthew David
 
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 | EdurekaEdureka!
 

Mais procurados (20)

DevOps Approach (Point of View by Ravi Tadwalkar)
DevOps Approach (Point of View by Ravi Tadwalkar)DevOps Approach (Point of View by Ravi Tadwalkar)
DevOps Approach (Point of View by Ravi Tadwalkar)
 
DevOps Powerpoint Presentation Slides
DevOps Powerpoint Presentation SlidesDevOps Powerpoint Presentation Slides
DevOps Powerpoint Presentation Slides
 
Welcome to Azure Devops
Welcome to Azure DevopsWelcome to Azure Devops
Welcome to Azure Devops
 
Leveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the EnterpriseLeveraging Azure DevOps across the Enterprise
Leveraging Azure DevOps across the Enterprise
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
DevOps
DevOps DevOps
DevOps
 
An introduction to DevOps
An introduction to DevOpsAn introduction to DevOps
An introduction to DevOps
 
Dev ops != Dev+Ops
Dev ops != Dev+OpsDev ops != Dev+Ops
Dev ops != Dev+Ops
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 
DevOps: A Culture Transformation, More than Technology
DevOps: A Culture Transformation, More than TechnologyDevOps: A Culture Transformation, More than Technology
DevOps: A Culture Transformation, More than Technology
 
Scrumban
ScrumbanScrumban
Scrumban
 
Team Topologies - how and why to design your teams - AllDayDevOps 2017
Team Topologies - how and why to design your teams - AllDayDevOps 2017Team Topologies - how and why to design your teams - AllDayDevOps 2017
Team Topologies - how and why to design your teams - AllDayDevOps 2017
 
How to facilitate product backlog refinement sessions
How to facilitate product backlog refinement sessionsHow to facilitate product backlog refinement sessions
How to facilitate product backlog refinement sessions
 
The Four Keys - Measuring DevOps Success
The Four Keys - Measuring DevOps SuccessThe Four Keys - Measuring DevOps Success
The Four Keys - Measuring DevOps Success
 
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
Team Topologies at Parts Unlimited, The Unicorn Project Book Club, Jan 2020
 
Devops Mindset Essentials
Devops Mindset EssentialsDevops Mindset Essentials
Devops Mindset Essentials
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
Agile (Scrum)
Agile (Scrum)Agile (Scrum)
Agile (Scrum)
 
Scrumban
ScrumbanScrumban
Scrumban
 
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
 

Semelhante a The Devops Handbook

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 DevOpsMoataz Mahmoud
 
Pivotal korea transformation_strategy_seminar_enterprise_dev_ops_20160630_v1.0
Pivotal korea transformation_strategy_seminar_enterprise_dev_ops_20160630_v1.0Pivotal korea transformation_strategy_seminar_enterprise_dev_ops_20160630_v1.0
Pivotal korea transformation_strategy_seminar_enterprise_dev_ops_20160630_v1.0minseok kim
 
Using Lean Thinking to identify and address Delivery Pipeline bottlenecks
Using Lean Thinking to identify and address Delivery Pipeline bottlenecksUsing Lean Thinking to identify and address Delivery Pipeline bottlenecks
Using Lean Thinking to identify and address Delivery Pipeline bottlenecksSanjeev Sharma
 
Quantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIQuantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIDevOps for Enterprise Systems
 
How to go from waterfall app dev to secure agile development in 2 weeks
How to go from waterfall app dev to secure agile development in 2 weeks How to go from waterfall app dev to secure agile development in 2 weeks
How to go from waterfall app dev to secure agile development in 2 weeks Ulf Mattsson
 
Transforming to OpenStack: a sample roadmap to DevOps
Transforming to OpenStack: a sample roadmap to DevOpsTransforming to OpenStack: a sample roadmap to DevOps
Transforming to OpenStack: a sample roadmap to DevOpsNicolas (Nick) Barcet
 
Ncerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssmNcerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssmssmarar
 
Preparing for DevOps
Preparing for DevOpsPreparing for DevOps
Preparing for DevOpsEklove Mohan
 
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENTROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENTIndium Software
 
Continuous Delivery at DEK Technologies
Continuous Delivery at DEK TechnologiesContinuous Delivery at DEK Technologies
Continuous Delivery at DEK Technologiesdektech_se
 
Delivering applications at the pace of business
Delivering applications at the pace of businessDelivering applications at the pace of business
Delivering applications at the pace of businessAccenture Technology
 
Linked VI Introduction
Linked VI IntroductionLinked VI Introduction
Linked VI IntroductionClarence Ku
 
Enterprise Agile - Hybrid of Methods
Enterprise Agile - Hybrid of MethodsEnterprise Agile - Hybrid of Methods
Enterprise Agile - Hybrid of MethodsMaris Prabhakaran M
 
DEK Technologies Continuous Delivery one pager
DEK Technologies Continuous Delivery one pagerDEK Technologies Continuous Delivery one pager
DEK Technologies Continuous Delivery one pagermattiastronje
 
Creating an Operating Model to enable a high frequency organization
Creating an Operating Model to enable a high frequency organizationCreating an Operating Model to enable a high frequency organization
Creating an Operating Model to enable a high frequency organizationTom Laszewski
 

Semelhante a The Devops Handbook (20)

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
 
Pivotal korea transformation_strategy_seminar_enterprise_dev_ops_20160630_v1.0
Pivotal korea transformation_strategy_seminar_enterprise_dev_ops_20160630_v1.0Pivotal korea transformation_strategy_seminar_enterprise_dev_ops_20160630_v1.0
Pivotal korea transformation_strategy_seminar_enterprise_dev_ops_20160630_v1.0
 
SAFe and DevOps - better together
SAFe and DevOps - better togetherSAFe and DevOps - better together
SAFe and DevOps - better together
 
Using Lean Thinking to identify and address Delivery Pipeline bottlenecks
Using Lean Thinking to identify and address Delivery Pipeline bottlenecksUsing Lean Thinking to identify and address Delivery Pipeline bottlenecks
Using Lean Thinking to identify and address Delivery Pipeline bottlenecks
 
What is DevOps?
What is DevOps?What is DevOps?
What is DevOps?
 
Quantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIQuantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROI
 
How to go from waterfall app dev to secure agile development in 2 weeks
How to go from waterfall app dev to secure agile development in 2 weeks How to go from waterfall app dev to secure agile development in 2 weeks
How to go from waterfall app dev to secure agile development in 2 weeks
 
Devops
DevopsDevops
Devops
 
Transforming to OpenStack: a sample roadmap to DevOps
Transforming to OpenStack: a sample roadmap to DevOpsTransforming to OpenStack: a sample roadmap to DevOps
Transforming to OpenStack: a sample roadmap to DevOps
 
Ncerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssmNcerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssm
 
Preparing for DevOps
Preparing for DevOpsPreparing for DevOps
Preparing for DevOps
 
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENTROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
ROLE OF iSAFE/iMobi IN SEAMLESS INTEGRATION OF THE DEVOPS ENVIRONMENT
 
Continuous Delivery at DEK Technologies
Continuous Delivery at DEK TechnologiesContinuous Delivery at DEK Technologies
Continuous Delivery at DEK Technologies
 
Delivering applications at the pace of business
Delivering applications at the pace of businessDelivering applications at the pace of business
Delivering applications at the pace of business
 
Linked VI Introduction
Linked VI IntroductionLinked VI Introduction
Linked VI Introduction
 
Isec
IsecIsec
Isec
 
Enterprise Agile - Hybrid of Methods
Enterprise Agile - Hybrid of MethodsEnterprise Agile - Hybrid of Methods
Enterprise Agile - Hybrid of Methods
 
DEK Technologies Continuous Delivery one pager
DEK Technologies Continuous Delivery one pagerDEK Technologies Continuous Delivery one pager
DEK Technologies Continuous Delivery one pager
 
DevOps
DevOpsDevOps
DevOps
 
Creating an Operating Model to enable a high frequency organization
Creating an Operating Model to enable a high frequency organizationCreating an Operating Model to enable a high frequency organization
Creating an Operating Model to enable a high frequency organization
 

Último

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 TransformationWSO2
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...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
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
%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 masabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
%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 kaalfonteinmasabamasaba
 
+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 Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
%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 Hazyviewmasabamasaba
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 

Último (20)

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
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
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 Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
%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
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%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
 
+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 Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%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
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 

The Devops Handbook

  • 2. Manufacturing Value Stream Technology Value Stream The sequence of activities an organisation undertakes to deliver upon. The sequence of activities required to design, produce, and deliver a good or service to a customer, including the dual flows of information and material. Same principle and pattern. A process required to convert a business hypothesis into a technology enable service that delivers value to the customer.
  • 3. Lead Time Process Time Clock starts when request is made and ends when it is full filled. Clock starts when we begin work on the customer request. This omits the time that the work is in queue, waiting to be processed.
  • 5. The Firstway The Principles of Flow Enables fast left-to-right flow of work from Development to Operations to the customer. In order to maximise flow, we need to make work visible, reduce our batch sizes and interval of work, build in quality by preventing defects from being passed to downstream work centres, and constantly optimise for the global goals.
  • 6. The Second Way The Principles of Feedback Enables the fast and constant flow of feedback from right to left at all stages of our value stream. It requires that we amplify feedback to prevent problems from happening again, or enable faster detection and recovery. By doing this, we create quality at the source and generate or embed knowledge where it is needed - this allows us to create ever-safer systems of work where problems are found and fixed long before a catastrophic failure occurs.
  • 7. The Third Way The Principles of Continual Learning Enables the creation of generative, high-trust culture that supports a dynamic, disciplined, and scientific approach to experimentation and risk- taking, facilitating the creation of organisational learning, both from success and failures.
  • 9. The Principles of Flow MAKE WORK VISIBLE e.g. Sprint Board, KANBAN Board
  • 10. The Principles of Flow • REDUCE BATCH SIZES Mass production vs Single piece flow Batch is code
  • 11. The Principles of Flow • REDUCE THE NUMBER OF HANDOFFS Automate as much as possible • Continually identify and elevate our constraints Environment Creation Code Deployment Test setup and run Overly tight architecture
  • 12. • ELIMINATE HARDSHIPS AND WASTE IN THE VALUE STREAM Partially done work Extra processes, Extra Features Task Switching, Waiting Defects, Nonstandard or manual work Heroics The Principles of Flow
  • 14. The Principles of FEEDBACK • WORKING SAFELY WITHIN COMPLEX SYSTEMS • SEE PROBLEMS AS THEY OCCUR • SWARM AND SOLVE PROBLEMS TO BUILD NEW KNOWLEDGE • KEEP PUSHING QUALITY CLOSER TO THE SOURCE • ENABLE OPTIMISING FOR DOWNSTREAM WORK CENTERS
  • 15. The Principles of Continual Learning ENABLE ORGANISATIONAL LEARNING AND A SAFETY CULTURE INSTITUTIONALISE THE IMPROVEMENT OF DAILY WORK TRANSFORM LOCAL DISCOVERIES INTO GLOBAL IMPROVEMENTS INJECT RESILIENCE PATTERNS INTO OUR DAILY WORK LEADERS REINFORCE A LEARNING CULTURE
  • 17. Green Field Brown Field Greenfield development is when we build on undeveloped land. Greenfield DevOps projects are often pilots to demonstrate feasibility of public or private clouds, piloting deployment automation, and similar tools. Brownfield development is when we build on land that was previously used for industrial purposes, potentially contaminated with hazardous waste or pollution. Brownfield projects often come with significant amounts of technical debt, such as having no test automation or running on unsupported platforms.
  • 18. CREATE A VALUE STREAM MAP TO SEE THE WORK
  • 19. START WITH MOST SYMPATHETIC AND INNOVATIVE GROUPS
  • 20. IDENTIFY THE TEAMS SUPPORTING OUR VALUE STREAM Product Owner Development QA Operations InfoSec Release Manager Technology Executives or Value Stream Manager
  • 21. What Else? CREATE A DEDICATED TRANSFORMATION TEAM AGREE ON A SHARED GOAL
  • 22. CONWAY’S LAW “organisations which design systems... are constrained to produce designs which are copies of the communication structures of these organisations…. The larger an organisation is, the less flexibility it has and the more pronounced the phenomenon.”
  • 23. ORGANISATIONAL ARCHETYPES Functional Oriented Organisation Matrix Oriented Organisation Market Oriented Organisation
  • 24. Functional Organisation Matrix Organisation Market Oriented Organisation Optimise for expertise, division of labour, or reducing cost. Tall hierarchical organisational structure. Have Development & Operations Team separately. Mix of Both Optimise for responding quickly to customer needs. Flat organisational structure. Adopt DevOps.
  • 27. So, To get Greater Outcome • Design Team boundaries in accordance with Conway’s Law • Create loosely coupled architectures to enable developer productivity and safety • Keep team sizes small (The two pizza team rule) • Create shared services to increase developer productivity • Embed DevOps engineer into our service teams • Assign an DevOps liaison to each service team • Invite DevOps to our dev stand-ups and retrospectives • Make relevant DevOps work visible on shared KANBAN board
  • 29. The Technical Practices of Flow • Create the foundations of our deployment pipeline. Create single repository of truth for the entire system Enable On-Demand creation of Dev, Test, and Production environments Spinning up a new environment in Cloud e.g. AWS Infrastructure as a Code e.g. Terraform Configuration Management Tools e.g. Ansible Virtualised environment e.g. Vagrant Make Infrastructure easier to rebuild than to repair. • Modify Definition of Development “DONE” to include running in production-like environments
  • 30. • Enable Fast and Reliable Automated Testing • Continuously build, test, and integrate our code and environments. The Technical Practices of Flow
  • 31. • Build a fast and reliable automated validation test suite Unit Tests. Single method, Function or Class tested in isolation. ‘Stub out’ Databases, Network calls Acceptance Tests. Test the application as a whole. Business acceptance criteria of a User Story. Integration Tests. Testing application correctly interacts with other production applications • Catch errors as early in our automated testing as possible The Technical Practices of Flow
  • 33. • Ensure tests run quickly(In parallel, if necessary) • Test Driven Development. Write our Automated tests before we write the code. Ensure tests fail Ensure tests pass Refactor & Ensure tests pass • Automate as many of manual tests as possible • Integrate Performance Testing into our Test suite • Integrate Non functional requirements testing into our test suite Availability, Scalability, Capacity, Security, and so forth • Pull ‘Andon Cord’ when the deployment pipeline breaks The Technical Practices of Flow
  • 34. • Enable and practice CI • Adopt TRUNK based development practices The Technical Practices of Flow
  • 35. • Automate and enable low risk releases. • Ensure we maintain consistent environments. • Deploying the same way to every environment. • Automated Smoke testing our deployments. The Technical Practices of Flow
  • 36. • Release Patterns • Environment based release pattern • Two or more environments. One environment receives customer’s live traffic. New code is deployed to non-live environment, and the release is performed moving traffic to this environment. • E.g. • Blue Green deployments pattern • Canary Releases • Cluster Immune Systems The Technical Practices of Flow
  • 37. • Release Patterns • Application based release pattern • Modify the application and selectively release and expose specific functionality by small configuration changes. • E.g. • Feature Flag. Visible to Development Team, Internal employees, Selected customers. • Dark Launch. Provides testing in production itself. The Technical Practices of Flow
  • 38. • Blue Green deployment pattern • Create two databases • Decouple database changes from application changes. Make only additive changes and never mutate database objects. The Technical Practices of Flow
  • 39. • The Canary release pattern • Cluster Immune System release patterns. Automatically rollback based on performance threshold. The Technical Practices of Flow
  • 40. • Architect for Low-Risk Releases • Architectural Archetypes: Monoliths Vs MicroServices • Use Strangler Application pattern to safely evolve our enterprise architecture. The Technical Practices of Flow
  • 42. The Technical Practices of Flow Strangler Application Pattern Too tightly-coupled architecture. Develop, Test, and Deploy the decoupled functionality independently. Placing existing functionality behind an API, where it remains unchanged, and implementing new functionality using our desired architecture, making calls to the old system when necessary. When we implement strangler applications, we seek to access all services through versioned APIs, also called versioned services or immutable services.
  • 44. The Technical Practices of Feedback
  • 45. • Create our centralised Telemetry Infrastructure Data collection at the business logic, application, and environments layer An event router responsible for storing our events and metrics. • Create application logging telemetry that helps solving production issues DEBUG, INFO, WARN, ERROR, FATAL The Technical Practices of Feedback
  • 46. • Create self-service access to telemetry and information radiators • Find and fill any telemetry gaps • Business Level. e.g. Number of sales transactions, revenue of sales transactions, user signups etc. • Application Level. e.g. Transaction times, User response times, application faults etc. • Infrastructure Level. e.g. WebServer traffic, CPU load, Disk usage etc. • Client Software Level. e.g. JavaScript client errors, Mobile application errors, crashes etc. • Deployment Pipeline Level. e.g. deployment lead times, deployment frequencies, environment status etc. The Technical Practices of Feedback
  • 47. • Analyse Telemetry to Better anticipate problems and achieve goals. Use MEANS and STANDARD DEVIATIONS to detect potential problems. The Technical Practices of Feedback
  • 48.
  • 49. finally { if ( !devOpsPrinciplesFollowed || !devOpsPracticesFollowed ) { } }
  • 50.
  • 51. For Listening to `this.flow` Do share `your.feedback` Thanks