DEVOPS ISN’T SOMETHING YOU BUY
KEN MUGRAGE
@kmugrage
TODAY’S TALK
▸ What is DevOps?
▸ Organizational Concerns
▸ Architectural Concerns
▸ Continuous Delivery
▸ There’s no test, but there is homework
@kmugrage
WHO AM I?
▸ From Seattle, Washington, USA
▸ Technology Evangelist at ThoughtWorks
▸ DevOpsDays Organizer
▸ Infrequent blogger at ken.wtf and gocd.org
@kmugrage
WHAT ISN’T DEVOPS
▸ A Toolset
▸ A Role
▸ A Team
@kmugrage
CAMS
▸ Culture
▸ Automation
▸ Measurement
▸ Sharing
https://blog.chef.io/2010/07/16/what-devops-means-to-me/
@kmugrage
CAMS
▸ Culture
▸ Automation
▸ Lean
▸ Measurement
▸ Sharing
https://blog.chef.io/2010/07/16/what-devops-means-to-me/
@kmugrage
“DEVOPS: A CULTURE WHERE PEOPLE,
REGARDLESS OF TITLE OR BACKGROUND, WORK
TOGETHER TO IMAGINE, DEVELOP, DEPLOY AND
OPERATE A SYSTEM.”
–Me
https://kenmugrage.com/2017/05/05/my-new-definition-of-devops/
@kmugrage
TRADITIONAL MODEL
Development Teams Testing Team Operations Team
@kmugrage
“ANY ORGANIZATION THAT DESIGNS A SYSTEM
(DEFINED BROADLY) WILL PRODUCE A DESIGN
WHOSE STRUCTURE IS A COPY OF THE
ORGANIZATION'S COMMUNICATION STRUCTURE.”
–Mel Conway
http://www.melconway.com/Home/Conways_Law.html
@kmugrage
TRADITIONAL MODEL
Development Teams QA Team Operations Team
@kmugrage
RENAMING OPS WON’T SOLVE THE ISSUE
Development Teams QA Team DevOps Team
@kmugrage
CREATING ANOTHER SILO DOESN’T SOLVE SILOS
Development Teams QA Team Operations Team
DevOps Team
@kmugrage
PRODUCT TEAMS
@kmugrage
“YOU BUILD IT, YOU RUN IT”
–Werner Vogels, Amazon
https://queue.acm.org/detail.cfm?id=1142065
@kmugrage
“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, Amazon
https://queue.acm.org/detail.cfm?id=1142065
ARCHITECTURAL CONCERNS
BUT THAT WON’T WORK WITH MY…
@kmugrage
MONOLITHS CAN BE HARD
▸ All functionality is in one process
▸ Scale by replicating the monolith on multiple
servers
https://www.thoughtworks.com/insights/blog/microservices-nutshell
@kmugrage
DEVELOP SMALLER PIECES
MICROSERVICE ARCHITECTURE
▸ Each element of functionality is in a separate
service
▸ Scale by distributing these services across
servers, replicating as needed
https://www.thoughtworks.com/insights/blog/microservices-nutshell
@kmugrage
HOMEWORK
http://samnewman.io/books/building_microservices/
http://nealford.com/books/
@kmugrage
PRODUCT TEAMS
Rental Cars
Consumer
Tax
Hotels
Business to Business
Airlines
Payments
@kmugrage
THE HEART OF DOING EVOLUTIONARY ARCHITECTURE
IS TO MAKE SMALL CHANGES, AND PUT IN
FEEDBACK LOOPS THAT ALLOW EVERYONE TO LEARN
FROM HOW THE SYSTEM IS DEVELOPING.
Martin Fowler
Foreword to Building Evolutionary Architecture
WE STILL HAVE TO DEPLOY SOMEWHERE
@kmugrage
CAR AS A SERVICE
https://www.k3syspro.com/cloud-computing-choosing-right-deployment-method/
@kmugrage
AN EXAMPLE OF PLATFORM AS A SERVICE
CLOUD.GOV
▸ Official service of the US Government
▸ 325 required security controls
▸ 269 handled by cloud.gov
▸ 42 shared
▸ 15 handled by customer
https://cloud.gov/overview/technology/responsibilities/
@kmugrage
THE CLOUD IS JUST SOMEBODY ELSE’S
COMPUTER
Someone at every single DevOpsDays conference
@kmugrage
PRODUCT TEAMS
@kmugrage
PRODUCT TEAMS
Platform Team Compliance Team Security Team
CONTINUOUS DELIVERY
GETTING STUFF TO CUSTOMERS
@kmugrage
CONTINUOUS DELIVERY IS THE ABILITY TO GET CHANGES OF
ALL TYPES—INCLUDING NEW FEATURES, CONFIGURATION
CHANGES, BUG FIXES AND EXPERIMENTS—INTO
PRODUCTION, OR INTO THE HANDS OF
USERS, SAFELY AND QUICKLY IN A SUSTAINABLE WAY.
Jez Humble
https://continuousdelivery.com/
@kmugrage
MORE HOMEWORK
@kmugrage
CONTINUOUS DELIVERY IS WHAT YOU
“DO” AS PART OF A DEVOPS CULTURE
Me
CONTINUOUS INTEGRATION
A PREREQUISITE TO CD
@kmugrage
CI THEATRE
The ThoughtWorks tech radar recently
recommended putting a hold on the tech team
anti-pattern, CI Theatre. CI Theatre describes the
illusion of practicing continuous integration (CI)
while not really practicing it.
https://www.gocd.org/2017/05/16/its-not-CI-its-CI-theatre/
@kmugrage
CI THEATRE
In our study only 10% of participants
acknowledged that having a CI server
was not the same as practicing CI.
https://www.gocd.org/2017/05/16/its-not-CI-its-CI-theatre/
@kmugrage
ARE YOU PRACTICING CI?
@kmugrage
CONTINUOUS DELIVERY PIPELINE
@kmugrage
CD VS CD
http://gofor.cd/cd_vs_cd
@kmugrage
OUR TEAMS
Product Team Security Team Compliance Team
@kmugrage
OUR CONTINUOUS DELIVERY PIPELINE
UNIT
TESTS
FUNCTIONAL
TESTS
DEPLOY
STAGING
DEPLOY
PRODUCTION
@kmugrage
EXAMPLES OF THINGS WHICH ARE BAD
▸ Deploying insecure software
▸ Deploying non-performant software
▸ Deploying non-complying software
▸ Deploying ineffective software
@kmugrage
…OF THE 106 COMPONENTS PER APPLICATION, THE
REPORT’S ANALYSIS REVEALED AN AVERAGE OF 24 (I.E.,
23%) HAVE KNOWN CRITICAL OR SEVERE SECURITY
VULNERABILITIES…
Derek Weeks
http://blog.sonatype.com/2015/06/rework-is-choking-software-2015-state-of-the-software-supply-chain-report/
@kmugrage
THE PURPOSE OF A CONTINUOUS
DELIVERY PIPELINE IS TO KILL A
RELEASE CANDIDATE
Me, and a lot of other people
@kmugrage
OUR CONTINUOUS DELIVERY PIPELINE
UNIT
TESTS
FUNCTIONAL
TESTS
DEPLOY
STAGING
DEPLOY
PRODUCTION
SECURITY TESTS (OWASP, OTHERS)
COMPLIANCE TESTS (SERVERSPEC, INSPEC)
SORRY, THERE’S NO
SILVER BULLET
@kmugrage
SUMMARY
▸ You’ve come to the right place to learn more
▸ Ideas for open space conversations
▸ “DevOps” as a title or team name
▸ It’s not CI if you’re not pushing to master every day
▸ Build or Buy your PAAS?
THANK YOU!
For more information about our products
https://www.thoughworks.com/products/
https://www.gocd.org/

DevOps isn't something you buy - DevOpsDays Cape Town