SlideShare a Scribd company logo
DEVOPS >
CI + CD (TOOLS)
S U D I P TA L A H I R I
D I G I T É
AG I L E G U R U G R A M 2 0 1 7
@sudiptal
QUICK INTRODUCTION…
• Sudipta Lahiri (Sudi)
• 27+ years in the industry
• Agile/Lean practitioner (85%) + Agile/Lean Student (15%)
– Head of Products @ Digité
– ex-Head of Engineering and Professional Services @ Digité
– Development of SwiftKanban and SwiftALM products
• Organize the LimitedWIP Societies in India
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
WHY DEVOPS?
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
SETTING THE CONTEXT…
• From the manifesto: Early continuous delivery of valuable
software!
• What would be a single KPI if you want to focus on this
objective?
– Lead time (LT): From the time when the customer gave you some
idea of what he/she wanted, how long did it take him/her to get it?
• Keeping focus on LT helps all teams come together to server
common objective: customer!
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
HOW DO WE BRING LEAD TIME DOWN?
Ideation to Specification
(including the front end)
Specification
to Dev
Complete
Dev
Complete to
Production
Deployment
Agile
methods
focus here.
DevOps extends the spectrum
Can we make this a non-
issue by putting adequate
processes and infrastructure
in place?
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
STATE OF DEVOPS REPORT (2016)
22%
50%
The numbers are compelling!!
@sudiptal
NET RESULT: TRIPLE CONSTRAINT
BUSTED! • Agile Methods/DevOps
establish the opposite
– We can deliver the highest
quality in the least time with
the least effort (minimize
waste)
– Slam dunk in green field
development initiatives
– Takes times with legacy
systems
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
WHAT MAKES HIGH PERFORMANCE IT
ORGANIZATIONS?
Continuous
Delivery
Lean
Management
Practices
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
CONTINUOUS DELIVERY:
MAKES WORK BETTER AND MAKE IT “FEEL” BETTER
Test Deployment
and
Automation
Continuous
Integration
(All) Production
artefacts in
Version Control
Continuou
s
Delivery
IT
Performanc
e
Lower
Deploymen
t Plan
Lower
Change Fail
Rates
Organizatio
n
Performanc
e
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
LEAN MANAGEMENT PRACTICES:
MAKES WORK BETTER AND MAKE IT “FEEL” BETTER
WIP Limits:
Drive
Improvement
Visualisations to
monitor work
Monitoring to
make business
decisions
Lean
Managemen
t
IT
Performanc
e
Decreased
Burnout
Improved
Organizatio
n Culture
Organizatio
n
Performanc
e
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
WHY IS IT
DIFFICULT?
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
THE PROBLEM IS: WE HAVE A
CONFLICT!
@sudiptal
FROM THE “CULT” CLASSIC:
3 TAKEAWAYS • DevOps is applied kanban. To run
DevOps well, you must understand
kanban.
• DevOps is not a collection of
tools
• If your people are 100% utilized,
you are introducing waste
http://daveondevops.com/2016/03/17/takeawaysfromphoenixproje
SO, WHAT’S
BEYOND CI+CD
(TOOLS)?
What are the CSFs?
DRIVEN BY FOCUS ON LEAD TIME!
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
CONTINUOUS
DELIVERY
YO U R W O R K P R O D U C T I S A LWAY S R E A D Y
F O R D E L I V E R Y
E X C LU S I O N S : L E A N M A N AG E M E N T
P R AC T I C E S , C U LT U R E
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
“ALWAYS DEPLOYABLE” MEANS…
• Ability to get changes (features, configuration changes, bug
fixes, experiments) into Production, safely, quickly and sustain
it
– Make Releases boring; no one stays awake at night!
– No need to use the latest tools; bring people together to get this
done
– Not just functionally ready – it should be ready with all NFR
requirements (performance, security)
• Eliminate integration, testing and hardening
– A good 5-10% of the overall Lead Time@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
HOW DO WE GET
THERE?
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
1. QUALITY
IMPROVING QUALITY IS
EVERYONE’S RESPONSIBILITY
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
THE QUALITY BIBLE:
DEMING’S 14 POINTS ON QUALITY MANAGEMENT
• Create constancy of purpose for improving products and services.
• Adopt the new philosophy.
• Cease dependence on inspection to achieve quality; eliminate
inspection; BUILD QUALITY INTO THE PRODUCT IN THE FIRST
PLACE
• End the practice of awarding business on price alone; instead, minimize
total cost by working with a single supplier, on a long term relationship
of loyalty and trust!
• Improve constantly and forever every process for planning, production
and service.
• Institute training on the job.
• Adopt and institute leadership.
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
THE BIBLE:
DEMING’S 14 POINTS ON QUALITY MANAGEMENT
• Drive out fear.
• Break down barriers between staff areas.
• Eliminate slogans, exhortations and targets for the workforce.
• Eliminate numerical quotas for the workforce and numerical goals for
management; eliminate MBO
• Remove barriers that rob people of pride of workmanship, and eliminate
the annual rating or merit system. The responsibility of supervisors must
be changed from sheer numbers to quality.
• Institute a vigorous program of education and self-improvement for
everyone.
• Put everybody in the company to work accomplishing the
transformation. Transformation is everyone’s job!
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
WHAT DOES IT MEAN TO US?
• There is no Agility/DevOps with crappy software
• There is no Agility/DevOps with manual test regression of
days/weeks/months
• There is no Agility/DevOps with Dev and Ops in their own cocoons,
with handoffs from one team to another
• Developers should be writing tests; if you don’t have this, you are
not ready for DevOps
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
WHAT TO DO?
• Treat Tests as first class citizens of
your project
– Use tools to build and manage
them… just like you do with your
source code
• Follow Agile Testing body of
knowledge
– If needed, get rid of the separate
Testing team; Dev understands that
there is no insurance to cover them
for their crappy code!
– Inverted Testing Pyramid is a non-
starter!
• Revitalize the tester
– Tester is a role; not a person
• Definitely, not a failed developer
– Advocates for the user; makes
quality transparent
– Preferably, not doing manual testing
• Focussed on exploratory testing +
maintaining automated acceptance
test cases
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
AGILE TESTING QUADRANTS
Diagram invented by Brian Marick
Unless you do TDD,
test automation
post deployment is
expensive and hard
Cannot automate
this stuff! You need
people…
Should be doing this
from the beginning.
These things are
testing the architecture.
You need to know if
you have this right
@sudiptal
TEST DATA MANAGEMENT
• Suffers from low focus on (compared to Test Automation)
• Need adequate test data + ability to create test data on demand
• Choose low volume test data combinations that cover large
volume scenarios
– Avoid loading/unloading of DB dumps
– Don’t use production data dumps (except for Staging and Performance)
– Start from a clean DB and programmatically create data using the
application APIs => Works nicely with an automation led strategy
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
DEPLOYMENT PIPELINE
Diagram by Jez Humble
@sudiptal
ACCEPTANCE TESTING
• Writing “good” acceptance test
cases is hard
• Its “good” IF you have the
confidence in the quality of the
software when Acceptance Test
Cases pass
• If you get failure, introduce an
automation script at the right
level
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
ACCEPTANCE TEST SUITES
• Very hard to maintain
• Decay over time..
– Just like code! Refactor relentlessly
• Ownership is always the issue
– Not owned by the tester but by
the team!
• Treat test code as Production
• Flaky tests are no good!
– You lose the trust in your existing
Test Suite
– Move them to a different test suite
– Quarantine them till they are
refactored and consistent
• External Systems
– Move to a separate suite
– Parameterize the connections
– Run them before the full
acceptance suite
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
BROWSER BASED TESTING IS UNRELIABLE
• If you hear “it failed in CI… but it ran manually”, you know
there is a difference between test mechanics and interaction
pattern
• If you have AJAX based testing where tests need to wait for a
response from the server, then you will run into issues
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
PERSONA BASED USER-JOURNEYS
• Persona based user-journeys
– Extract them from existing Acceptance Test Cases
– Move to server side testing (away from browser based UI testing)
– Journey should only cover the most likely path
• Extract negative/edge scenarios to a separate suite to run after the journey
scenarios are done
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
KEEP CURATING YOUR TESTS
Example by Jez Humble
2. ARCHITECTURE/
DESIGN IMPACT
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
CONWAYS LAW
• Organizations which design systems are constrained to
produce designs which are copies of the communication
structures of these organizations
• If you don’t want your product to look like your organization,
change your organization or change you product
Rebecca Parsons
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
ONE TEAM PER SERVICE
Diagram by Jez Humble
@sudiptal
AMAZON’S DIRECTIVE TO ITS TEAMS…
• All teams will henceforth expose their data and functionality through service
interfaces.
• Teams must communicate with each other through these interfaces.
• There will be no other form of interprocess communication allowed: no direct
linking, no direct reads of another team's data store, no shared-memory
model, no back-doors whatsoever. The only communication allowed is via
service interface calls over the network.
• It doesn't matter what technology they use. HTTP, Corba, Pubsub, custom
protocols -- doesn't matter. Bezos doesn't care.
• All service interfaces, without exception, must be designed from the ground up
to be externalizable. That is to say, the team must plan and design to be able
to expose the interface to developers in the outside world. No exceptions.
• Anyone who doesn't do this will be fired.
https://plus.google.com/+RipRowan/posts/eVeouesvaV
@sudiptal
YOU BUILD IT, YOU RUN IT!
“… Giving developers operational responsibilities has greatly
enhanced the quality of the services, both from a customer and a
technology point of view. The traditional model is that you take your
software to the wall that separates development and operations,
and throw it over and then forget about it. Not at Amazon. You
build it, you run it. This brings developers into contact with the day-
to-day operation of their software. It also brings them into day-to-
day contact with the customer. This customer feedback loop is
essential for improving the quality of the service.”
Werner Vogels, CTO, Amazon
June 2006
http://queue.acm.org/detail.cfm?id=114206
@sudiptal
ARCHITECTING FOR
REMOTE APPLICATIONS
• Circuit Breakers: handle remote calls
• Wrap the function call in a circuit breaker
object
– Once the failures reach a threshold, it trips
– Further calls return with an error, without calling the
function
• Monitor and alert when it trips; have the
breaker itself detect when its ready again https://martinfowler.com/bliki/CircuitBreaker.html
@sudiptal
ARCHITECTING FOR
LEGACY APPLICATIONS
• Strangler Applications
• Start by building new
functionality in new modules,
using SOA
– Don’t rewrite existing code except
to simplify or removing bugs
– If you need to extend, write
wrappers
https://www.martinfowler.com/bliki/StranglerApplication.htm
@sudiptal
STRANGLER APPLICATION
• Benefits:
– Reduced risk.
– Give value steadily
– Frequent releases allow you
to monitor its progress more
carefully
– You can avoid a lot of the
unnecessary features that cut
over rewrites often generate
• For new applications:
– All new applications today
will be legacy tomorrow!
– When designing a new
application, design it in such
a way as to make it easier for
it to be strangled in the
future
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
ARCHITECTED FOR RECOVERY
• Even the High performing organizations report failures up to 15%
– However, they can recover in <1hr
• Applications have to be designed for recovery
– Strategies could vary for the application layer to the DB layer
• If the build is broken, rollback first! You don’t need to stay up all
night or late evening to fix it.
– Take time to fix it. Fixes made in a hurry create more problems/technical
debt!
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
OPTIMISE FOR MTRS
• Think Lead Time!
– How quickly can I detect?
– How quickly can I find the
cause?
– How quickly can I fix the
problem?
– How quickly can I rollout the
fix?
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
3. CONTINUOUS
INTEGRATION
I N T E G R A T E E A R L Y A N D O F T E N
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
CONTINUOUS INTEGRATION
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
ESSENTIALS FOR CI
• Maintain a Single Source
Repository.
• Automate the Build
• Make Your Build Self-Testing
• Everyone Commits To the
Mainline Every Day
• Every Commit Should Build
the Mainline on an
Integration Machine
• Fix Broken Builds Immediately
• Keep the Build Fast
• Test in a Clone of the
Production Environment
• Make it Easy for Anyone to
Get the Latest Executable
• Everyone can see what's
happening
• Automate Deployment
https://martinfowler.com/articles/continuousIntegration.html#EveryoneCommitsToTheMainlineE
@sudiptal
FEATURE BRANCHES + CI
FEATURE BRANCH CONTINUOUS INTEGRATION
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
AWAY FROM (LONG LIVE) FEATURE
BRANCHES
• Most teams got driven to
Feature Based Development
– Until these explode… and they
age!
• Longer you are building in your
own branch, greater the risk of
all sorts of incompatibilities
• Move to:
– Short branches (less than a day)
– Less than 3 active branches
– Merge to trunk/master on a daily
basis
• Emphasis on main line
development
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
SAY NO TO “LONG LIVE” BRANCHES
• Rarely needed; its value
diminishes dramatically
over time
• Avoid “environment(itis)”
Age of Branch
RealPotentialTestingValue
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
FEATURE TOGGLES:
TO SAY “NO” TO LONG LIVE BRANCHES
https://martinfowler.com/bliki/FeatureToggle.htm
@sudiptal
CATEGORIES OF TOGGLES
• Release Toggles: allow incomplete and untested code paths to be
shipped to production as latent code, which might never be turned on!
• Experiment Toggles: used to perform A/B testing
• Ops Toggles: control operational aspects of the application, for e.g.,
turning down a load intensive processing when there is high transaction
load
• Permissioning Toggles: change features that certain users receive, for
e.g., for a set of internal users (“Champagne Brunch”)
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
CATEGORIES OF TOGGLES
• Static toggles OR Short
longevity Toggles would
need a simple on/off
configuration
• Dynamic or High Longevity
Toggles need sophisticated
“Toggle Routers”
https://martinfowler.com/articles/feature-toggles.htm
@sudiptal
TOGGLE ROUTING
• Prefer static routes that are
baked into the source code
via configuration
– All the benefit of infra as a code
– Simpler testing
• Dynamic Toggle Routing
patterns
– Hard coded toggle
configuration
– Parameterised toggle
configuration (command line or
env variables)
– Toggle Configuration file
– Toggle via App DB
– Overriding configuration
• Per request overrides
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
FEATURE TOGGLES ADD TESTING
COMPLEXITY
• Both options need to be
tested for each Toggle!
• (Might) explode with multiple
toggles options!
– Use Toggle Configuration files
– Add meta-data to track
audit/governance information
for that toggle
– In general, there's no need to
test all combinations of
features.
• For release toggles, test 2
combinations
– All toggles on that are
expected to be on in the next
release
– All toggles on
• Build an ability to generate
the listing of all the “active”
toggles on the runtime
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
TOGGLE COME AT A COST!
• View the Feature Toggles as inventory
– There is a carrying cost; keep this inventory as low as possible.
• Team must be proactive in removing feature toggles; retire then
when pending feature are bedded to Production
– Add a toggle removal task onto backlog whenever it is introduced
– Put "expiration dates" on toggles.
• Creating "time bombs" that will fail a test (or even refuse to start an application!) if
a toggle is still around after its expiration date
– Apply a Lean approach by placing a limit on the number of toggles
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
4. DEPLOYMENT
PIPELINE
D E P L O Y M E N T I S T H E F I N A L S T A G E O F
C I
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
DEPLOYMENT PIPELINE
Diagram by Jez Humble
LOW RISK RELEASE
PATTERNS
Y O U H A V E T O A R C H I T E C T F O R T H E S E !
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
DEPLOYING DB CHANGES
• If you want to
• Then
– Make the DB change in the 1st release by adding the incremental fields
– The UI does a conditional read; if new field is blank, read from the old field
– The UI always writes to both fields.
– Now, introduce the new feature... if it fails, you are ready to rollback
immediately,
– Much later, delete the old field (called the "contract" phase).
Address Address1 Address2
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
CI FOR DB
• Data is persistent
• Often, large datasets;
rollback is not an option
– Some changes are
irreversible
• Make DDL/DML scripts part
of version control
– In test environment, build DB
from scratch
– Then, run acceptance test
cases
• Scripts are ordered; they
run in a sequence
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
DEPLOY ON PRODUCTION
• Apply the same scripts on
Production
• Incremental scripts to be pulled
from version control
• For each script, build the
rollback script (as far as
possible)
• Check dbdeploy.com
• Maintain a metadata table that
indicates what scripts have been
run on it
• Logs success/failure
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
BLUE-GREEN DEPLOYMENTS
• Deployments often become a batch
operation waiting for the next “good” time
• Solution: Blue Green deployments
• Minimizes cutover from one version to
next; Fast rollback if needed
• Use the “other” as staging environment
• Multiple approaches to handle “live”
transactions on the earlier system
https://martinfowler.com/bliki/BlueGreenDeployment.htm
• For Database Changes:
– Separate from the application rollout
– Use the earlier pattern
@sudiptal
RELEASE != DEPLOYMENT
• Deployment might release to all environments at the same
time.
• Release process controls who sees what
– In FB, this person is called “Gatekeeper”
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
CANARY RELEASE
https://martinfowler.com/bliki/CanaryRelease.htm
• Used by both FB
and Netflix
• Also called
Red/Black
pattern
Heavily
Monitored
5. INFRASTRUCTURE
AUTOMATION/
FAILURE MANAGEMENT
M A K I N G O P E R A T I O N S A C O M P E T I T I V E
A D V A N T A G E !
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
DEFINE THE ENVIRONMENT
• What it is?
• What to use it for?
• How long to retain that environment?
• All environments are an “approximation” of the Production
– Hence, it is only good for a purpose – not good for any other
purpose
– That defines the “What to use it for?”
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
INFRASTRUCTURE
• All environment and supporting
services
– Networking, Storage, Mail, DNS…
• Desired state in version control
• Self corrects to the desired state
(Autonomic)
• State should be known via
continuous monitoring
• Protect from “Configuration
Drift”
– Adhoc changes to the system that go
unrecorded
– Test yourself like a “Fire Drill”
• Solution:
– Use Software that automatically syncs
with a “baseline”
– Limited to the extent that you have
artefacts under version control
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
THE TALE OF 2 COMPANIES…
http://radar.oreilly.com/2007/10/operations-is-a-competitive-ad.h
@sudiptal
“…it takes about 80 hours to bootstrap a startup. This generally
means installing and configuring an automated infrastructure
management system (puppet), version control system
(subversion), continuous build and test (frequently cruisecontrol.rb),
software deployment (capistrano), monitoring (currently
evaluating Hyperic, Zenoss, and Groundwork). Once this is done the
“install time” is reduced to nearly zero and requires no specialized
knowledge.”
Jesse Robbins
(ex) Master of Disaster, Amazon
Founder of Chef
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
THE NEXTFLIX SIMIAN ARMY
https://insights.sei.cmu.edu/devops/2015/04/devops-case-study-netflix-and-the-chaos-monk
@sudiptal
AMAZON GAME DAYS
• Inject failures into critical
systems
• Discover flaws and critical
dependencies
• Accept that reliable software
platform is built on top of
components that are
unreliable
• Need to keep testing services
against failure all year around
• Fail systems that will need to
bring people together who
otherwise don’t interact with
each other
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
RESILIENCE ENGINEERING:
A FUNDAMENTAL CULTURAL SHIFT
• From a steadfast belief that
systems should never fail—and
if they do, focusing on who's to
blame—to actually forcing
systems to fail
• Rather than expending
resources on building systems
that don't fail, the emphasis is
to how to deal with systems
swiftly and expertly once they
do fail—because fail they will.
• Much of the value comes from
changing the collective mindset
of the engineers who design
and build
– It's not easy to watch their systems
fail and its consequences
– Overtime, they gain confidence in
the systems and practices
• It invokes a more just culture in
which people can be held
accountable without being
blamed, or punished, for failure.
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
SOME OTHER
THOUGHTS…
… T H A T I C O U L D N ’ T F I T A N Y W H E R E E L S E !
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
PRACTICES
• Developers should be able to run acceptance tests on their
environments
• Virtualize all environments
• If anything fails, stop the line!
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
PITFALLS
• Configuration(itis)!
– Once you start automating your
configurations, you will see an
explosion in the same
– For every small incremental
functional OR NFT, you will get a
request for a new configuration…
and then, these will stay
– Set some STANDARDS and
governance around this (similar to
temporary branching)!
• What should be a standard env
for Test, Staging, including test
data
• Ops people are generally
automation savvy
– Don’t get too obsessed with
frameworks, trying to make it too
generic
– Don’t build a huge framework with
tons of scripts and tools! Don’t have
hundreds of metadata config points
that becomes a nightmare to manage
• Don’t create Configuration
Management “Sherpas” whose only
job is to manage and track
configuration
– Avoid your Brent!@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
PITFALLS
• Change in a “stealth” mode:
– Just start by saying that you are
automating what you do today; one
organization called “Rapid Release”
– Don’t take the message “we will change
everything”
– Fast delivery in a safe way keeping all the
gray suits/ITIL happy!
– Focus on better work-life balance for
everyone
• If you are starting your DevOps
initiative with tools, you are almost
certain to fail
• Event and Alert monitoring:
– With an explosion of tools and
environments, it will be a nightmare to
analyse and track all that is happening
– Get all feeds into one activity stream like
Slack
– Build parsers to filter out what you really
want to see
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
IN CLOSING…
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
• Think lean: shorten Lead Time by focussing on the full value
stream
• Don’t look at Agile and DevOps as two different initiatives!
– If you do that, Agility is “Dead on Arrival”
– Go beyond your CI/CD tools
• Initiate small changes – take a Toyota Kata approach
– Start small; avoid the “cliché” terms – no reorg!
– The way they think, interact, architect, code, test
– Think SERVICES (SOA/Microservices)
– Simulate and test for failure/security/performance
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
@sudiptal
THANK YOU….
• Reach me at:
– @sudiptal
– slahiri@digite.com
– sudiptalahiri.wordpress.c
om
@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com

More Related Content

What's hot

What is DevOps
What is DevOpsWhat is DevOps
What is DevOps
spajus
 
Introduction to devops 2016
Introduction to devops 2016Introduction to devops 2016
Introduction to devops 2016
gjdevos
 
Continuous Integration and Builds
Continuous Integration and BuildsContinuous Integration and Builds
Continuous Integration and Builds
Bhavin Javia
 
Agile Mindset and Its Implications - My Understanding
Agile Mindset and Its Implications - My UnderstandingAgile Mindset and Its Implications - My Understanding
Agile Mindset and Its Implications - My Understanding
Nitin Bhide
 
Why your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating itWhy your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating it
Farooq Ali
 
Devops at SlideShare: Talk at Devopsdays Bangalore 2011
Devops at SlideShare: Talk at Devopsdays Bangalore 2011Devops at SlideShare: Talk at Devopsdays Bangalore 2011
Devops at SlideShare: Talk at Devopsdays Bangalore 2011
Kapil Mohan
 
How technical excellence helps in LeSS adoption
How technical excellence helps in LeSS adoptionHow technical excellence helps in LeSS adoption
How technical excellence helps in LeSS adoption
Anton Bevzuk
 
Qa in CI/CD
Qa in CI/CDQa in CI/CD
Qa in CI/CD
Adsmurai
 
Continuous delivery - tools and techniques
Continuous delivery - tools and techniquesContinuous delivery - tools and techniques
Continuous delivery - tools and techniques
Mike McGarr
 
What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...
What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...
What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...
Simplilearn
 
DevOps Overview
DevOps OverviewDevOps Overview
DevOps Overview
Omri Spector
 
Devops
DevopsDevops
Continuous Delivery antipatterns from the wild - Matthew Skelton - Continuous...
Continuous Delivery antipatterns from the wild - Matthew Skelton - Continuous...Continuous Delivery antipatterns from the wild - Matthew Skelton - Continuous...
Continuous Delivery antipatterns from the wild - Matthew Skelton - Continuous...
Skelton Thatcher Consulting Ltd
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
Hawkman Academy
 
Two Things You Must Have for Lasting Agility
Two Things You Must Have for Lasting AgilityTwo Things You Must Have for Lasting Agility
Two Things You Must Have for Lasting Agility
Larry Apke
 
Agile Gurgaon 2016 | Thinking Beyond :: Marry Agile and DevOps for Phenomenal...
Agile Gurgaon 2016 | Thinking Beyond :: Marry Agile and DevOps for Phenomenal...Agile Gurgaon 2016 | Thinking Beyond :: Marry Agile and DevOps for Phenomenal...
Agile Gurgaon 2016 | Thinking Beyond :: Marry Agile and DevOps for Phenomenal...
AgileNetwork
 
Integrating Hardware (Waterfall) and Software (Agile) Development
Integrating Hardware (Waterfall) and Software (Agile) DevelopmentIntegrating Hardware (Waterfall) and Software (Agile) Development
Integrating Hardware (Waterfall) and Software (Agile) Development
Intland Software GmbH
 
Shift left as first transformation step into Quality Assurance
Shift left as first transformation step into Quality AssuranceShift left as first transformation step into Quality Assurance
Shift left as first transformation step into Quality Assurance
Zbyszek Mockun
 
Continuous Integration and Continuous Deployment in Enterprise scenario
Continuous Integration and Continuous Deployment in Enterprise scenarioContinuous Integration and Continuous Deployment in Enterprise scenario
Continuous Integration and Continuous Deployment in Enterprise scenario
Davide Benvegnù
 
An introduction to DevOps
An introduction to DevOpsAn introduction to DevOps
An introduction to DevOps
Alexander Meijers
 

What's hot (20)

What is DevOps
What is DevOpsWhat is DevOps
What is DevOps
 
Introduction to devops 2016
Introduction to devops 2016Introduction to devops 2016
Introduction to devops 2016
 
Continuous Integration and Builds
Continuous Integration and BuildsContinuous Integration and Builds
Continuous Integration and Builds
 
Agile Mindset and Its Implications - My Understanding
Agile Mindset and Its Implications - My UnderstandingAgile Mindset and Its Implications - My Understanding
Agile Mindset and Its Implications - My Understanding
 
Why your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating itWhy your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating it
 
Devops at SlideShare: Talk at Devopsdays Bangalore 2011
Devops at SlideShare: Talk at Devopsdays Bangalore 2011Devops at SlideShare: Talk at Devopsdays Bangalore 2011
Devops at SlideShare: Talk at Devopsdays Bangalore 2011
 
How technical excellence helps in LeSS adoption
How technical excellence helps in LeSS adoptionHow technical excellence helps in LeSS adoption
How technical excellence helps in LeSS adoption
 
Qa in CI/CD
Qa in CI/CDQa in CI/CD
Qa in CI/CD
 
Continuous delivery - tools and techniques
Continuous delivery - tools and techniquesContinuous delivery - tools and techniques
Continuous delivery - tools and techniques
 
What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...
What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...
What is DevOps? | DevOps Introduction | DevOps Tools | DevOps Tutorial For Be...
 
DevOps Overview
DevOps OverviewDevOps Overview
DevOps Overview
 
Devops
DevopsDevops
Devops
 
Continuous Delivery antipatterns from the wild - Matthew Skelton - Continuous...
Continuous Delivery antipatterns from the wild - Matthew Skelton - Continuous...Continuous Delivery antipatterns from the wild - Matthew Skelton - Continuous...
Continuous Delivery antipatterns from the wild - Matthew Skelton - Continuous...
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
Two Things You Must Have for Lasting Agility
Two Things You Must Have for Lasting AgilityTwo Things You Must Have for Lasting Agility
Two Things You Must Have for Lasting Agility
 
Agile Gurgaon 2016 | Thinking Beyond :: Marry Agile and DevOps for Phenomenal...
Agile Gurgaon 2016 | Thinking Beyond :: Marry Agile and DevOps for Phenomenal...Agile Gurgaon 2016 | Thinking Beyond :: Marry Agile and DevOps for Phenomenal...
Agile Gurgaon 2016 | Thinking Beyond :: Marry Agile and DevOps for Phenomenal...
 
Integrating Hardware (Waterfall) and Software (Agile) Development
Integrating Hardware (Waterfall) and Software (Agile) DevelopmentIntegrating Hardware (Waterfall) and Software (Agile) Development
Integrating Hardware (Waterfall) and Software (Agile) Development
 
Shift left as first transformation step into Quality Assurance
Shift left as first transformation step into Quality AssuranceShift left as first transformation step into Quality Assurance
Shift left as first transformation step into Quality Assurance
 
Continuous Integration and Continuous Deployment in Enterprise scenario
Continuous Integration and Continuous Deployment in Enterprise scenarioContinuous Integration and Continuous Deployment in Enterprise scenario
Continuous Integration and Continuous Deployment in Enterprise scenario
 
An introduction to DevOps
An introduction to DevOpsAn introduction to DevOps
An introduction to DevOps
 

Similar to Dev ops is more than CI+CD tools

"DevOps > CI+CD "
"DevOps > CI+CD ""DevOps > CI+CD "
"DevOps > CI+CD "
Innovation Roots
 
Best Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left CommitmentBest Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left Commitment
Applause
 
Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...
QASymphony
 
State of Agile 2017
State of Agile 2017State of Agile 2017
State of Agile 2017
Tze Chin Tang
 
Agile testing
Agile testingAgile testing
Agile testing
Raj Indugula
 
Continuous Delivery & Testing Madrid AfterTest
Continuous Delivery & Testing Madrid AfterTestContinuous Delivery & Testing Madrid AfterTest
Continuous Delivery & Testing Madrid AfterTest
Peter Marshall
 
sitHH16 - The Implications of Becoming Agile
sitHH16 - The Implications of Becoming AgilesitHH16 - The Implications of Becoming Agile
sitHH16 - The Implications of Becoming Agile
Markus Theilen
 
Powering Safe Launch @ Scale (Feature Flags, Targeting, Experimentation)
Powering Safe Launch @ Scale (Feature Flags, Targeting, Experimentation)Powering Safe Launch @ Scale (Feature Flags, Targeting, Experimentation)
Powering Safe Launch @ Scale (Feature Flags, Targeting, Experimentation)
Split Software
 
A confused tester in agile world finalversion
A confused tester in agile world finalversionA confused tester in agile world finalversion
A confused tester in agile world finalversion
Ashish Kumar
 
Agile software development slide show
Agile software development slide showAgile software development slide show
Agile software development slide show
Girish Nandagopal
 
An approach to scaling Agile in Mid size Enterprise Application Stack/ Products
An approach to scaling Agile in Mid size Enterprise Application Stack/ Products An approach to scaling Agile in Mid size Enterprise Application Stack/ Products
An approach to scaling Agile in Mid size Enterprise Application Stack/ Products
Saikat Das - CSP, SAFe Agilist, ICP, DAD-Yellow Belt
 
Atlassian Summit 2015 Lean QA and Agile Testing
Atlassian Summit 2015 Lean QA and Agile TestingAtlassian Summit 2015 Lean QA and Agile Testing
Atlassian Summit 2015 Lean QA and Agile Testing
Maurizio Mancini
 
LKIN17: Enabling Enterprise Agility though a Hybrid Agile Implementation Mode...
LKIN17: Enabling Enterprise Agility though a Hybrid Agile Implementation Mode...LKIN17: Enabling Enterprise Agility though a Hybrid Agile Implementation Mode...
LKIN17: Enabling Enterprise Agility though a Hybrid Agile Implementation Mode...
Innovation Roots
 
Lean Kanban India 2017 | Case study - Hybrid Agile Implementation Model to En...
Lean Kanban India 2017 | Case study - Hybrid Agile Implementation Model to En...Lean Kanban India 2017 | Case study - Hybrid Agile Implementation Model to En...
Lean Kanban India 2017 | Case study - Hybrid Agile Implementation Model to En...
LeanKanbanIndia
 
How to Build in Quality from Day 1 using Lean QA and Agile Testing
How to Build in Quality from Day 1 using Lean QA and Agile TestingHow to Build in Quality from Day 1 using Lean QA and Agile Testing
How to Build in Quality from Day 1 using Lean QA and Agile Testing
Atlassian
 
Holistic Product Development
Holistic Product DevelopmentHolistic Product Development
Holistic Product Development
Gary Pedretti
 
Agile Mumbai 2019 Conference | Intelligent DevOps enabling Enterprise Agilit...
Agile Mumbai 2019 Conference |  Intelligent DevOps enabling Enterprise Agilit...Agile Mumbai 2019 Conference |  Intelligent DevOps enabling Enterprise Agilit...
Agile Mumbai 2019 Conference | Intelligent DevOps enabling Enterprise Agilit...
AgileNetwork
 
Sanitized tb swstmppp1516july
Sanitized tb swstmppp1516julySanitized tb swstmppp1516july
Sanitized tb swstmppp1516july
Agile Testing alliance
 
AgileDC15 I'm Using Chef So I'm DevOps Right?
AgileDC15 I'm Using Chef So I'm DevOps Right?AgileDC15 I'm Using Chef So I'm DevOps Right?
AgileDC15 I'm Using Chef So I'm DevOps Right?
Rob Brown
 

Similar to Dev ops is more than CI+CD tools (20)

"DevOps > CI+CD "
"DevOps > CI+CD ""DevOps > CI+CD "
"DevOps > CI+CD "
 
Best Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left CommitmentBest Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left Commitment
 
Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...
 
State of Agile 2017
State of Agile 2017State of Agile 2017
State of Agile 2017
 
Agile testing
Agile testingAgile testing
Agile testing
 
Agile webinar pack (2)
Agile webinar pack (2)Agile webinar pack (2)
Agile webinar pack (2)
 
Continuous Delivery & Testing Madrid AfterTest
Continuous Delivery & Testing Madrid AfterTestContinuous Delivery & Testing Madrid AfterTest
Continuous Delivery & Testing Madrid AfterTest
 
sitHH16 - The Implications of Becoming Agile
sitHH16 - The Implications of Becoming AgilesitHH16 - The Implications of Becoming Agile
sitHH16 - The Implications of Becoming Agile
 
Powering Safe Launch @ Scale (Feature Flags, Targeting, Experimentation)
Powering Safe Launch @ Scale (Feature Flags, Targeting, Experimentation)Powering Safe Launch @ Scale (Feature Flags, Targeting, Experimentation)
Powering Safe Launch @ Scale (Feature Flags, Targeting, Experimentation)
 
A confused tester in agile world finalversion
A confused tester in agile world finalversionA confused tester in agile world finalversion
A confused tester in agile world finalversion
 
Agile software development slide show
Agile software development slide showAgile software development slide show
Agile software development slide show
 
An approach to scaling Agile in Mid size Enterprise Application Stack/ Products
An approach to scaling Agile in Mid size Enterprise Application Stack/ Products An approach to scaling Agile in Mid size Enterprise Application Stack/ Products
An approach to scaling Agile in Mid size Enterprise Application Stack/ Products
 
Atlassian Summit 2015 Lean QA and Agile Testing
Atlassian Summit 2015 Lean QA and Agile TestingAtlassian Summit 2015 Lean QA and Agile Testing
Atlassian Summit 2015 Lean QA and Agile Testing
 
LKIN17: Enabling Enterprise Agility though a Hybrid Agile Implementation Mode...
LKIN17: Enabling Enterprise Agility though a Hybrid Agile Implementation Mode...LKIN17: Enabling Enterprise Agility though a Hybrid Agile Implementation Mode...
LKIN17: Enabling Enterprise Agility though a Hybrid Agile Implementation Mode...
 
Lean Kanban India 2017 | Case study - Hybrid Agile Implementation Model to En...
Lean Kanban India 2017 | Case study - Hybrid Agile Implementation Model to En...Lean Kanban India 2017 | Case study - Hybrid Agile Implementation Model to En...
Lean Kanban India 2017 | Case study - Hybrid Agile Implementation Model to En...
 
How to Build in Quality from Day 1 using Lean QA and Agile Testing
How to Build in Quality from Day 1 using Lean QA and Agile TestingHow to Build in Quality from Day 1 using Lean QA and Agile Testing
How to Build in Quality from Day 1 using Lean QA and Agile Testing
 
Holistic Product Development
Holistic Product DevelopmentHolistic Product Development
Holistic Product Development
 
Agile Mumbai 2019 Conference | Intelligent DevOps enabling Enterprise Agilit...
Agile Mumbai 2019 Conference |  Intelligent DevOps enabling Enterprise Agilit...Agile Mumbai 2019 Conference |  Intelligent DevOps enabling Enterprise Agilit...
Agile Mumbai 2019 Conference | Intelligent DevOps enabling Enterprise Agilit...
 
Sanitized tb swstmppp1516july
Sanitized tb swstmppp1516julySanitized tb swstmppp1516july
Sanitized tb swstmppp1516july
 
AgileDC15 I'm Using Chef So I'm DevOps Right?
AgileDC15 I'm Using Chef So I'm DevOps Right?AgileDC15 I'm Using Chef So I'm DevOps Right?
AgileDC15 I'm Using Chef So I'm DevOps Right?
 

More from Sudipta Lahiri

Agile Program Management
Agile Program ManagementAgile Program Management
Agile Program Management
Sudipta Lahiri
 
Flow - the secret sauce for business agility
Flow - the secret sauce for business agilityFlow - the secret sauce for business agility
Flow - the secret sauce for business agility
Sudipta Lahiri
 
Digital transformation for the next decade
Digital transformation for the next decadeDigital transformation for the next decade
Digital transformation for the next decade
Sudipta Lahiri
 
Estimation - Delivering Business Agility without Estimation
Estimation - Delivering Business Agility without EstimationEstimation - Delivering Business Agility without Estimation
Estimation - Delivering Business Agility without Estimation
Sudipta Lahiri
 
Getting requirements right for business agility
Getting requirements right for business agilityGetting requirements right for business agility
Getting requirements right for business agility
Sudipta Lahiri
 
Practical steps to drive agile mindset
Practical steps to drive agile mindsetPractical steps to drive agile mindset
Practical steps to drive agile mindset
Sudipta Lahiri
 
Upstream: Shifting-left towards organization agility
Upstream: Shifting-left towards organization agilityUpstream: Shifting-left towards organization agility
Upstream: Shifting-left towards organization agility
Sudipta Lahiri
 
Understanding flow debt
Understanding flow debtUnderstanding flow debt
Understanding flow debt
Sudipta Lahiri
 
Valuing the value stream
Valuing the value streamValuing the value stream
Valuing the value stream
Sudipta Lahiri
 
Personal kanban + GTD
Personal kanban + GTDPersonal kanban + GTD
Personal kanban + GTD
Sudipta Lahiri
 
The game has changed!
The game has changed!The game has changed!
The game has changed!
Sudipta Lahiri
 
Toyota kata for continuous improvement
Toyota kata for continuous improvementToyota kata for continuous improvement
Toyota kata for continuous improvement
Sudipta Lahiri
 
Kanban != Kanban Board
Kanban != Kanban BoardKanban != Kanban Board
Kanban != Kanban BoardSudipta Lahiri
 
Simplify your day...execute better!
Simplify your day...execute better!Simplify your day...execute better!
Simplify your day...execute better!
Sudipta Lahiri
 
Limited WIP Society Bangalore Chapter - Jun 6 2014 Meetup
Limited WIP Society Bangalore Chapter - Jun 6 2014 MeetupLimited WIP Society Bangalore Chapter - Jun 6 2014 Meetup
Limited WIP Society Bangalore Chapter - Jun 6 2014 Meetup
Sudipta Lahiri
 
Training - Agile Testing
Training - Agile TestingTraining - Agile Testing
Training - Agile Testing
Sudipta Lahiri
 
Training - Introducing Agile, Lean and Kanban
Training - Introducing Agile, Lean and KanbanTraining - Introducing Agile, Lean and Kanban
Training - Introducing Agile, Lean and Kanban
Sudipta Lahiri
 
Applying WCM to Software Industry
Applying WCM to Software IndustryApplying WCM to Software Industry
Applying WCM to Software Industry
Sudipta Lahiri
 
Kanban for Fixed Price Projects
Kanban for Fixed Price ProjectsKanban for Fixed Price Projects
Kanban for Fixed Price Projects
Sudipta Lahiri
 

More from Sudipta Lahiri (19)

Agile Program Management
Agile Program ManagementAgile Program Management
Agile Program Management
 
Flow - the secret sauce for business agility
Flow - the secret sauce for business agilityFlow - the secret sauce for business agility
Flow - the secret sauce for business agility
 
Digital transformation for the next decade
Digital transformation for the next decadeDigital transformation for the next decade
Digital transformation for the next decade
 
Estimation - Delivering Business Agility without Estimation
Estimation - Delivering Business Agility without EstimationEstimation - Delivering Business Agility without Estimation
Estimation - Delivering Business Agility without Estimation
 
Getting requirements right for business agility
Getting requirements right for business agilityGetting requirements right for business agility
Getting requirements right for business agility
 
Practical steps to drive agile mindset
Practical steps to drive agile mindsetPractical steps to drive agile mindset
Practical steps to drive agile mindset
 
Upstream: Shifting-left towards organization agility
Upstream: Shifting-left towards organization agilityUpstream: Shifting-left towards organization agility
Upstream: Shifting-left towards organization agility
 
Understanding flow debt
Understanding flow debtUnderstanding flow debt
Understanding flow debt
 
Valuing the value stream
Valuing the value streamValuing the value stream
Valuing the value stream
 
Personal kanban + GTD
Personal kanban + GTDPersonal kanban + GTD
Personal kanban + GTD
 
The game has changed!
The game has changed!The game has changed!
The game has changed!
 
Toyota kata for continuous improvement
Toyota kata for continuous improvementToyota kata for continuous improvement
Toyota kata for continuous improvement
 
Kanban != Kanban Board
Kanban != Kanban BoardKanban != Kanban Board
Kanban != Kanban Board
 
Simplify your day...execute better!
Simplify your day...execute better!Simplify your day...execute better!
Simplify your day...execute better!
 
Limited WIP Society Bangalore Chapter - Jun 6 2014 Meetup
Limited WIP Society Bangalore Chapter - Jun 6 2014 MeetupLimited WIP Society Bangalore Chapter - Jun 6 2014 Meetup
Limited WIP Society Bangalore Chapter - Jun 6 2014 Meetup
 
Training - Agile Testing
Training - Agile TestingTraining - Agile Testing
Training - Agile Testing
 
Training - Introducing Agile, Lean and Kanban
Training - Introducing Agile, Lean and KanbanTraining - Introducing Agile, Lean and Kanban
Training - Introducing Agile, Lean and Kanban
 
Applying WCM to Software Industry
Applying WCM to Software IndustryApplying WCM to Software Industry
Applying WCM to Software Industry
 
Kanban for Fixed Price Projects
Kanban for Fixed Price ProjectsKanban for Fixed Price Projects
Kanban for Fixed Price Projects
 

Recently uploaded

FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 

Dev ops is more than CI+CD tools

  • 1. DEVOPS > CI + CD (TOOLS) S U D I P TA L A H I R I D I G I T É AG I L E G U R U G R A M 2 0 1 7
  • 2. @sudiptal QUICK INTRODUCTION… • Sudipta Lahiri (Sudi) • 27+ years in the industry • Agile/Lean practitioner (85%) + Agile/Lean Student (15%) – Head of Products @ Digité – ex-Head of Engineering and Professional Services @ Digité – Development of SwiftKanban and SwiftALM products • Organize the LimitedWIP Societies in India @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 3. WHY DEVOPS? @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 4. @sudiptal SETTING THE CONTEXT… • From the manifesto: Early continuous delivery of valuable software! • What would be a single KPI if you want to focus on this objective? – Lead time (LT): From the time when the customer gave you some idea of what he/she wanted, how long did it take him/her to get it? • Keeping focus on LT helps all teams come together to server common objective: customer! @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 5. @sudiptal HOW DO WE BRING LEAD TIME DOWN? Ideation to Specification (including the front end) Specification to Dev Complete Dev Complete to Production Deployment Agile methods focus here. DevOps extends the spectrum Can we make this a non- issue by putting adequate processes and infrastructure in place? @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 6. @sudiptal STATE OF DEVOPS REPORT (2016) 22% 50% The numbers are compelling!!
  • 7. @sudiptal NET RESULT: TRIPLE CONSTRAINT BUSTED! • Agile Methods/DevOps establish the opposite – We can deliver the highest quality in the least time with the least effort (minimize waste) – Slam dunk in green field development initiatives – Takes times with legacy systems @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 8. @sudiptal WHAT MAKES HIGH PERFORMANCE IT ORGANIZATIONS? Continuous Delivery Lean Management Practices @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 9. @sudiptal CONTINUOUS DELIVERY: MAKES WORK BETTER AND MAKE IT “FEEL” BETTER Test Deployment and Automation Continuous Integration (All) Production artefacts in Version Control Continuou s Delivery IT Performanc e Lower Deploymen t Plan Lower Change Fail Rates Organizatio n Performanc e @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 10. @sudiptal LEAN MANAGEMENT PRACTICES: MAKES WORK BETTER AND MAKE IT “FEEL” BETTER WIP Limits: Drive Improvement Visualisations to monitor work Monitoring to make business decisions Lean Managemen t IT Performanc e Decreased Burnout Improved Organizatio n Culture Organizatio n Performanc e @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 11. WHY IS IT DIFFICULT? @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 12. @sudiptal THE PROBLEM IS: WE HAVE A CONFLICT!
  • 13. @sudiptal FROM THE “CULT” CLASSIC: 3 TAKEAWAYS • DevOps is applied kanban. To run DevOps well, you must understand kanban. • DevOps is not a collection of tools • If your people are 100% utilized, you are introducing waste http://daveondevops.com/2016/03/17/takeawaysfromphoenixproje
  • 14. SO, WHAT’S BEYOND CI+CD (TOOLS)? What are the CSFs? DRIVEN BY FOCUS ON LEAD TIME! @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 15. CONTINUOUS DELIVERY YO U R W O R K P R O D U C T I S A LWAY S R E A D Y F O R D E L I V E R Y E X C LU S I O N S : L E A N M A N AG E M E N T P R AC T I C E S , C U LT U R E @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 16. @sudiptal “ALWAYS DEPLOYABLE” MEANS… • Ability to get changes (features, configuration changes, bug fixes, experiments) into Production, safely, quickly and sustain it – Make Releases boring; no one stays awake at night! – No need to use the latest tools; bring people together to get this done – Not just functionally ready – it should be ready with all NFR requirements (performance, security) • Eliminate integration, testing and hardening – A good 5-10% of the overall Lead Time@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 17. HOW DO WE GET THERE? @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 18. 1. QUALITY IMPROVING QUALITY IS EVERYONE’S RESPONSIBILITY @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 19. @sudiptal THE QUALITY BIBLE: DEMING’S 14 POINTS ON QUALITY MANAGEMENT • Create constancy of purpose for improving products and services. • Adopt the new philosophy. • Cease dependence on inspection to achieve quality; eliminate inspection; BUILD QUALITY INTO THE PRODUCT IN THE FIRST PLACE • End the practice of awarding business on price alone; instead, minimize total cost by working with a single supplier, on a long term relationship of loyalty and trust! • Improve constantly and forever every process for planning, production and service. • Institute training on the job. • Adopt and institute leadership. @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 20. @sudiptal THE BIBLE: DEMING’S 14 POINTS ON QUALITY MANAGEMENT • Drive out fear. • Break down barriers between staff areas. • Eliminate slogans, exhortations and targets for the workforce. • Eliminate numerical quotas for the workforce and numerical goals for management; eliminate MBO • Remove barriers that rob people of pride of workmanship, and eliminate the annual rating or merit system. The responsibility of supervisors must be changed from sheer numbers to quality. • Institute a vigorous program of education and self-improvement for everyone. • Put everybody in the company to work accomplishing the transformation. Transformation is everyone’s job! @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 21. @sudiptal WHAT DOES IT MEAN TO US? • There is no Agility/DevOps with crappy software • There is no Agility/DevOps with manual test regression of days/weeks/months • There is no Agility/DevOps with Dev and Ops in their own cocoons, with handoffs from one team to another • Developers should be writing tests; if you don’t have this, you are not ready for DevOps @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 22. @sudiptal WHAT TO DO? • Treat Tests as first class citizens of your project – Use tools to build and manage them… just like you do with your source code • Follow Agile Testing body of knowledge – If needed, get rid of the separate Testing team; Dev understands that there is no insurance to cover them for their crappy code! – Inverted Testing Pyramid is a non- starter! • Revitalize the tester – Tester is a role; not a person • Definitely, not a failed developer – Advocates for the user; makes quality transparent – Preferably, not doing manual testing • Focussed on exploratory testing + maintaining automated acceptance test cases @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 23. @sudiptal AGILE TESTING QUADRANTS Diagram invented by Brian Marick Unless you do TDD, test automation post deployment is expensive and hard Cannot automate this stuff! You need people… Should be doing this from the beginning. These things are testing the architecture. You need to know if you have this right
  • 24. @sudiptal TEST DATA MANAGEMENT • Suffers from low focus on (compared to Test Automation) • Need adequate test data + ability to create test data on demand • Choose low volume test data combinations that cover large volume scenarios – Avoid loading/unloading of DB dumps – Don’t use production data dumps (except for Staging and Performance) – Start from a clean DB and programmatically create data using the application APIs => Works nicely with an automation led strategy @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 26. @sudiptal ACCEPTANCE TESTING • Writing “good” acceptance test cases is hard • Its “good” IF you have the confidence in the quality of the software when Acceptance Test Cases pass • If you get failure, introduce an automation script at the right level @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 27. @sudiptal ACCEPTANCE TEST SUITES • Very hard to maintain • Decay over time.. – Just like code! Refactor relentlessly • Ownership is always the issue – Not owned by the tester but by the team! • Treat test code as Production • Flaky tests are no good! – You lose the trust in your existing Test Suite – Move them to a different test suite – Quarantine them till they are refactored and consistent • External Systems – Move to a separate suite – Parameterize the connections – Run them before the full acceptance suite @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 28. @sudiptal BROWSER BASED TESTING IS UNRELIABLE • If you hear “it failed in CI… but it ran manually”, you know there is a difference between test mechanics and interaction pattern • If you have AJAX based testing where tests need to wait for a response from the server, then you will run into issues @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 29. @sudiptal PERSONA BASED USER-JOURNEYS • Persona based user-journeys – Extract them from existing Acceptance Test Cases – Move to server side testing (away from browser based UI testing) – Journey should only cover the most likely path • Extract negative/edge scenarios to a separate suite to run after the journey scenarios are done @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 30. @sudiptal KEEP CURATING YOUR TESTS Example by Jez Humble
  • 31. 2. ARCHITECTURE/ DESIGN IMPACT @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 32. @sudiptal CONWAYS LAW • Organizations which design systems are constrained to produce designs which are copies of the communication structures of these organizations • If you don’t want your product to look like your organization, change your organization or change you product Rebecca Parsons @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 33. @sudiptal ONE TEAM PER SERVICE Diagram by Jez Humble
  • 34. @sudiptal AMAZON’S DIRECTIVE TO ITS TEAMS… • All teams will henceforth expose their data and functionality through service interfaces. • Teams must communicate with each other through these interfaces. • There will be no other form of interprocess communication allowed: no direct linking, no direct reads of another team's data store, no shared-memory model, no back-doors whatsoever. The only communication allowed is via service interface calls over the network. • It doesn't matter what technology they use. HTTP, Corba, Pubsub, custom protocols -- doesn't matter. Bezos doesn't care. • All service interfaces, without exception, must be designed from the ground up to be externalizable. That is to say, the team must plan and design to be able to expose the interface to developers in the outside world. No exceptions. • Anyone who doesn't do this will be fired. https://plus.google.com/+RipRowan/posts/eVeouesvaV
  • 35. @sudiptal YOU BUILD IT, YOU RUN IT! “… Giving developers operational responsibilities has greatly enhanced the quality of the services, both from a customer and a technology point of view. The traditional model is that you take your software to the wall that separates development and operations, and throw it over and then forget about it. Not at Amazon. You build it, you run it. This brings developers into contact with the day- to-day operation of their software. It also brings them into day-to- day contact with the customer. This customer feedback loop is essential for improving the quality of the service.” Werner Vogels, CTO, Amazon June 2006 http://queue.acm.org/detail.cfm?id=114206
  • 36. @sudiptal ARCHITECTING FOR REMOTE APPLICATIONS • Circuit Breakers: handle remote calls • Wrap the function call in a circuit breaker object – Once the failures reach a threshold, it trips – Further calls return with an error, without calling the function • Monitor and alert when it trips; have the breaker itself detect when its ready again https://martinfowler.com/bliki/CircuitBreaker.html
  • 37. @sudiptal ARCHITECTING FOR LEGACY APPLICATIONS • Strangler Applications • Start by building new functionality in new modules, using SOA – Don’t rewrite existing code except to simplify or removing bugs – If you need to extend, write wrappers https://www.martinfowler.com/bliki/StranglerApplication.htm
  • 38. @sudiptal STRANGLER APPLICATION • Benefits: – Reduced risk. – Give value steadily – Frequent releases allow you to monitor its progress more carefully – You can avoid a lot of the unnecessary features that cut over rewrites often generate • For new applications: – All new applications today will be legacy tomorrow! – When designing a new application, design it in such a way as to make it easier for it to be strangled in the future @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 39. @sudiptal ARCHITECTED FOR RECOVERY • Even the High performing organizations report failures up to 15% – However, they can recover in <1hr • Applications have to be designed for recovery – Strategies could vary for the application layer to the DB layer • If the build is broken, rollback first! You don’t need to stay up all night or late evening to fix it. – Take time to fix it. Fixes made in a hurry create more problems/technical debt! @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 40. @sudiptal OPTIMISE FOR MTRS • Think Lead Time! – How quickly can I detect? – How quickly can I find the cause? – How quickly can I fix the problem? – How quickly can I rollout the fix? @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 41. 3. CONTINUOUS INTEGRATION I N T E G R A T E E A R L Y A N D O F T E N @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 42. @sudiptal CONTINUOUS INTEGRATION @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 43. @sudiptal ESSENTIALS FOR CI • Maintain a Single Source Repository. • Automate the Build • Make Your Build Self-Testing • Everyone Commits To the Mainline Every Day • Every Commit Should Build the Mainline on an Integration Machine • Fix Broken Builds Immediately • Keep the Build Fast • Test in a Clone of the Production Environment • Make it Easy for Anyone to Get the Latest Executable • Everyone can see what's happening • Automate Deployment https://martinfowler.com/articles/continuousIntegration.html#EveryoneCommitsToTheMainlineE
  • 44. @sudiptal FEATURE BRANCHES + CI FEATURE BRANCH CONTINUOUS INTEGRATION @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 45. @sudiptal AWAY FROM (LONG LIVE) FEATURE BRANCHES • Most teams got driven to Feature Based Development – Until these explode… and they age! • Longer you are building in your own branch, greater the risk of all sorts of incompatibilities • Move to: – Short branches (less than a day) – Less than 3 active branches – Merge to trunk/master on a daily basis • Emphasis on main line development @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 46. @sudiptal SAY NO TO “LONG LIVE” BRANCHES • Rarely needed; its value diminishes dramatically over time • Avoid “environment(itis)” Age of Branch RealPotentialTestingValue @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 47. @sudiptal FEATURE TOGGLES: TO SAY “NO” TO LONG LIVE BRANCHES https://martinfowler.com/bliki/FeatureToggle.htm
  • 48. @sudiptal CATEGORIES OF TOGGLES • Release Toggles: allow incomplete and untested code paths to be shipped to production as latent code, which might never be turned on! • Experiment Toggles: used to perform A/B testing • Ops Toggles: control operational aspects of the application, for e.g., turning down a load intensive processing when there is high transaction load • Permissioning Toggles: change features that certain users receive, for e.g., for a set of internal users (“Champagne Brunch”) @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 49. @sudiptal CATEGORIES OF TOGGLES • Static toggles OR Short longevity Toggles would need a simple on/off configuration • Dynamic or High Longevity Toggles need sophisticated “Toggle Routers” https://martinfowler.com/articles/feature-toggles.htm
  • 50. @sudiptal TOGGLE ROUTING • Prefer static routes that are baked into the source code via configuration – All the benefit of infra as a code – Simpler testing • Dynamic Toggle Routing patterns – Hard coded toggle configuration – Parameterised toggle configuration (command line or env variables) – Toggle Configuration file – Toggle via App DB – Overriding configuration • Per request overrides @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 51. @sudiptal FEATURE TOGGLES ADD TESTING COMPLEXITY • Both options need to be tested for each Toggle! • (Might) explode with multiple toggles options! – Use Toggle Configuration files – Add meta-data to track audit/governance information for that toggle – In general, there's no need to test all combinations of features. • For release toggles, test 2 combinations – All toggles on that are expected to be on in the next release – All toggles on • Build an ability to generate the listing of all the “active” toggles on the runtime @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 52. @sudiptal TOGGLE COME AT A COST! • View the Feature Toggles as inventory – There is a carrying cost; keep this inventory as low as possible. • Team must be proactive in removing feature toggles; retire then when pending feature are bedded to Production – Add a toggle removal task onto backlog whenever it is introduced – Put "expiration dates" on toggles. • Creating "time bombs" that will fail a test (or even refuse to start an application!) if a toggle is still around after its expiration date – Apply a Lean approach by placing a limit on the number of toggles @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 53. 4. DEPLOYMENT PIPELINE D E P L O Y M E N T I S T H E F I N A L S T A G E O F C I @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 55. LOW RISK RELEASE PATTERNS Y O U H A V E T O A R C H I T E C T F O R T H E S E ! @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 56. @sudiptal DEPLOYING DB CHANGES • If you want to • Then – Make the DB change in the 1st release by adding the incremental fields – The UI does a conditional read; if new field is blank, read from the old field – The UI always writes to both fields. – Now, introduce the new feature... if it fails, you are ready to rollback immediately, – Much later, delete the old field (called the "contract" phase). Address Address1 Address2 @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 57. @sudiptal CI FOR DB • Data is persistent • Often, large datasets; rollback is not an option – Some changes are irreversible • Make DDL/DML scripts part of version control – In test environment, build DB from scratch – Then, run acceptance test cases • Scripts are ordered; they run in a sequence @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 58. @sudiptal DEPLOY ON PRODUCTION • Apply the same scripts on Production • Incremental scripts to be pulled from version control • For each script, build the rollback script (as far as possible) • Check dbdeploy.com • Maintain a metadata table that indicates what scripts have been run on it • Logs success/failure @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 59. @sudiptal BLUE-GREEN DEPLOYMENTS • Deployments often become a batch operation waiting for the next “good” time • Solution: Blue Green deployments • Minimizes cutover from one version to next; Fast rollback if needed • Use the “other” as staging environment • Multiple approaches to handle “live” transactions on the earlier system https://martinfowler.com/bliki/BlueGreenDeployment.htm • For Database Changes: – Separate from the application rollout – Use the earlier pattern
  • 60. @sudiptal RELEASE != DEPLOYMENT • Deployment might release to all environments at the same time. • Release process controls who sees what – In FB, this person is called “Gatekeeper” @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 61. @sudiptal CANARY RELEASE https://martinfowler.com/bliki/CanaryRelease.htm • Used by both FB and Netflix • Also called Red/Black pattern Heavily Monitored
  • 62. 5. INFRASTRUCTURE AUTOMATION/ FAILURE MANAGEMENT M A K I N G O P E R A T I O N S A C O M P E T I T I V E A D V A N T A G E ! @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 63. @sudiptal DEFINE THE ENVIRONMENT • What it is? • What to use it for? • How long to retain that environment? • All environments are an “approximation” of the Production – Hence, it is only good for a purpose – not good for any other purpose – That defines the “What to use it for?” @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 64. @sudiptal INFRASTRUCTURE • All environment and supporting services – Networking, Storage, Mail, DNS… • Desired state in version control • Self corrects to the desired state (Autonomic) • State should be known via continuous monitoring • Protect from “Configuration Drift” – Adhoc changes to the system that go unrecorded – Test yourself like a “Fire Drill” • Solution: – Use Software that automatically syncs with a “baseline” – Limited to the extent that you have artefacts under version control @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 65. @sudiptal THE TALE OF 2 COMPANIES… http://radar.oreilly.com/2007/10/operations-is-a-competitive-ad.h
  • 66. @sudiptal “…it takes about 80 hours to bootstrap a startup. This generally means installing and configuring an automated infrastructure management system (puppet), version control system (subversion), continuous build and test (frequently cruisecontrol.rb), software deployment (capistrano), monitoring (currently evaluating Hyperic, Zenoss, and Groundwork). Once this is done the “install time” is reduced to nearly zero and requires no specialized knowledge.” Jesse Robbins (ex) Master of Disaster, Amazon Founder of Chef @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 67. @sudiptal THE NEXTFLIX SIMIAN ARMY https://insights.sei.cmu.edu/devops/2015/04/devops-case-study-netflix-and-the-chaos-monk
  • 68. @sudiptal AMAZON GAME DAYS • Inject failures into critical systems • Discover flaws and critical dependencies • Accept that reliable software platform is built on top of components that are unreliable • Need to keep testing services against failure all year around • Fail systems that will need to bring people together who otherwise don’t interact with each other @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 69. @sudiptal RESILIENCE ENGINEERING: A FUNDAMENTAL CULTURAL SHIFT • From a steadfast belief that systems should never fail—and if they do, focusing on who's to blame—to actually forcing systems to fail • Rather than expending resources on building systems that don't fail, the emphasis is to how to deal with systems swiftly and expertly once they do fail—because fail they will. • Much of the value comes from changing the collective mindset of the engineers who design and build – It's not easy to watch their systems fail and its consequences – Overtime, they gain confidence in the systems and practices • It invokes a more just culture in which people can be held accountable without being blamed, or punished, for failure. @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 70. SOME OTHER THOUGHTS… … T H A T I C O U L D N ’ T F I T A N Y W H E R E E L S E ! @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 71. @sudiptal PRACTICES • Developers should be able to run acceptance tests on their environments • Virtualize all environments • If anything fails, stop the line! @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 72. @sudiptal PITFALLS • Configuration(itis)! – Once you start automating your configurations, you will see an explosion in the same – For every small incremental functional OR NFT, you will get a request for a new configuration… and then, these will stay – Set some STANDARDS and governance around this (similar to temporary branching)! • What should be a standard env for Test, Staging, including test data • Ops people are generally automation savvy – Don’t get too obsessed with frameworks, trying to make it too generic – Don’t build a huge framework with tons of scripts and tools! Don’t have hundreds of metadata config points that becomes a nightmare to manage • Don’t create Configuration Management “Sherpas” whose only job is to manage and track configuration – Avoid your Brent!@ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 73. @sudiptal PITFALLS • Change in a “stealth” mode: – Just start by saying that you are automating what you do today; one organization called “Rapid Release” – Don’t take the message “we will change everything” – Fast delivery in a safe way keeping all the gray suits/ITIL happy! – Focus on better work-life balance for everyone • If you are starting your DevOps initiative with tools, you are almost certain to fail • Event and Alert monitoring: – With an explosion of tools and environments, it will be a nightmare to analyse and track all that is happening – Get all feeds into one activity stream like Slack – Build parsers to filter out what you really want to see @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 74. IN CLOSING… @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 75. @sudiptal • Think lean: shorten Lead Time by focussing on the full value stream • Don’t look at Agile and DevOps as two different initiatives! – If you do that, Agility is “Dead on Arrival” – Go beyond your CI/CD tools • Initiate small changes – take a Toyota Kata approach – Start small; avoid the “cliché” terms – no reorg! – The way they think, interact, architect, code, test – Think SERVICES (SOA/Microservices) – Simulate and test for failure/security/performance @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com
  • 76. @sudiptal THANK YOU…. • Reach me at: – @sudiptal – slahiri@digite.com – sudiptalahiri.wordpress.c om @ Agile Network India , All Rights Reserved. www.agilenetworkindia.com

Editor's Notes

  1. Front end is fuzzy and time consuming…
  2. CRQ: Change Request or a Call Request
  3. MTRS: Mean time to restore service
  4. Digité’s DevOps Tool Implementation