Publicité
Publicité

Contenu connexe

Similaire à How to get started with DevOps (20)

Publicité

Plus de Red Gate Software(20)

Publicité

How to get started with DevOps

  1. www.devopsguys.com | Phone: 0800 368 7378 | e-mail: team@devopsguys.com | 2017 How to get started in DevOps Practical advice on your DevOps Transformation in 82 slides in 45 minutes…
  2. 3 Agenda •DevOps 101 re-cap •Getting started with DevOps •9 Steps to DevOps •Q&A
  3. DevOps in 4 slides in 2 minutes Just so we’re all on the same page about this DevOps thing… Start the clock!
  4. 5 “A set of patterns, practices and behaviours that are correlated with high-performing IT teams.” DevOps – Defined #1
  5. 6 DevOps = Continuous Delivery + Operability Agile Software Development + Continuous Integration + Test Automation + Release Automation = Continuous Delivery DevOps = Agile ++ OPERABILITYScalability Deployability Resilience Monitoring Alerting Disaster Recovery Supportability Maintainability +
  6. 7 Continuous Delivery “Our highest priority is to satisfy the customer through early and continuous delivery of valuable software”
  7. 8 The DevOps “CALMS” model • Culture • Automation • Lean • Measurement • Sharing
  8. How to get started in DevOps Part 1 – Shift your Mindset to Systems Thinking
  9. 10 Gene Kim’s “3 Ways” of DevOps
  10. 11 The Business I.T.
  11. 12 Dev Ops
  12. 13 Systems Thinking Society Customer Business I.T. Dev Ops
  13. 14 Business Department Team You Values Policies Procedures Behaviours Culture “Thewaythingsaredonearoundhere”
  14. 15 This isn’t an easy Transformation… From… Key Success Factor To… Command & Control Management Style Autonomous Conservative Attitude to Change Experimental Silo Organisation Structure Collaborative Project-focussed Delivery Focus Product-centric Waterfall Delivery Model Iterative (Agile) Large (Huge) Batch size Smallest possible Monolithic Systems Architecture Loosely coupled Proprietary Technology Open (Source) Manual Processes Automated
  15. How to get started in DevOps Part 2 – Build the Foundations
  16. 18 3 Foundational Practices 1. #MakeWorkVisible 2. #MeasureWhatsImportant 3. #ActOnFeedback
  17. 19 #MakeWorkVisible
  18. 20 https://communitiesinnature.wordpress.com/2012/04/10/our-gantt-chart-is-finished-westonbirt-arboretums-hidden-voices-project/ A Gannt Chart is NOT visualising work
  19. 21 https://leankit.com/learn/kanban/kanban-board-examples-for-development-and- A KANBAN Board *IS* Visualising Work
  20. 22 To Do Some Stuff to Do Ready Stuff Ready to Action In- Progress This is what I’m doing right now! Done Done and signed off by everyone. “Done Done.” Sticky Label Design "© Copyright Showeet.com" And it’ll be done when it’s done… So stop bugging me for status updates and go check the board…
  21. 23 http://www.thebeardly.com/2011/08/measuring-shirt.html #MeasureWha tsImportant
  22. 24 4 Most Commonly Cited DevOps Metrics • Deployment Frequency • MTTR – Mean Time to Recover • Change Failure Rate • Lead Time & Process Time 2016 State of DevOps Report | presented by Puppet + DORA Wait Time Process Time Lead Time (Start to Finish)
  23. 25 Goodhart’s Law “When a measure becomes a target, it ceases to be a good measure.” “If a measurement can’t be used to improve the system (via feedback) then it’s useless” – Steve’s Corollary https://en.wikipedia.org/wiki/Goodhart%27s_law
  24. 26 3 Levels of Measurement • Customer Satisfaction – measure what matters to them (and not what you THINK matters to them) • Capability – internal capability measures aligned to customer demands • Process – measuring the value stream of processes that create that capability “The Vanguard Guide to Using Measures for Performance Improvement” (2001)
  25. 27 Example of metrics Customer Need Customer Measure Capability Metric Process Metrics • Features delivered quickly • % Feature delivered as agreed • Average Lead Time • % availability of Test environments • % of re-work required • Monthly cloud hosting spend
  26. 28 #ActOnFeedback
  27. 29 Gene Kim’s “3 Ways” of DevOps
  28. 30 Involve everybody in the feedback process Hint: Invite Ops to the retrospectives, sprint planning and backlog grooming. 
  29. 31
  30. 32 5 Practical Ways to #ActOnFeedback 1. Ensure Operability requirements have equal weight as Functional requirements 2. Use Pull Requests & Code Reviews – they are a quick and effective feedback loop! 3. Have regular retrospectives – create tickets to track your retro actions 4. Track Technical Debt and set a “debt ceiling” – new work stops when the Tech Debt ceiling is exceeded 5. Reserve 20% of effort for process improvement
  31. 33 FEED THE WASTE SNAKE
  32. 34
  33. 35 How many times per day is the Andon Cord pulled in a typical day at a Toyota manufacturing plant? HT to @RealGeneKim for this example!
  34. 36 3,500 times per day
  35. 37 Should Toyota increase or decrease this number?
  36. How to get started in DevOps Part 2 – Change how we work
  37. 39 3 Working Practices 4. #IdentifyTheGoal 5. #BeAgile 6. #DeliveryContinuously
  38. 40 #IdentifyTheGoal
  39. 41
  40. 42 • Sprint • 2 weeks 6 18 • Month • 2 sprints Aspirational (60%) • Quarter • 3 months • Annual • 12 months 1 2 3 Vision
  41. 43 • Sprint • 2 weeks 6 18 • Month • 2 sprints Aspirational (60%) • Quarter • 3 months • Annual • 12 months 1 2 3 Positive (70%) VisionObjectives
  42. 44 • Sprint • 2 weeks 6 18 • Month • 2 sprints Aspirational (60%) • Quarter • 3 months • Annual • 12 months 1 2 3 Positive (70%) Considered (80%) VisionObjectivesPlan
  43. 45 • Sprint • 2 weeks 6 18 • Month • 2 sprints Aspirational (60%) • Quarter • 3 months • Annual • 12 months 1 2 3 Positive (70%) Considered (80%) Confident (95%) VisionPlanTasks Objectives
  44. 46 “Success is not checking a box. Success is having an impact. If you complete all tasks and nothing ever gets better, that's not success.” Christina Wodtke, OKR Coach
  45. 47 #BeAgile https://s-media-cache- ak0.pinimg.com/originals/a5/1f/30/a51f3037feaab79713a0df591f0988a8.gif
  46. 48 #BeAgile http://cubiclebot.com/wp-content/uploads/2012/10/1.gif
  47. 49 Scrum Lean Kanban XP DSDM SAFe
  48. 50 Scrum is popular Image source: State of Agile Survey, 2015
  49. 51 Daily Stand-Ups Retrospectives Burndowns Velocity Iteration Planning Story Mapping Planning Poker
  50. 52 The Agile Manifesto • Individuals and interactions over processes and tools • Working software over comprehensive documentation • Customer collaboration over contract negotiation • Responding to change over following a plan
  51. 54 Being Agile Delivers Results Image source: State of Agile Survey, 2015
  52. #DeliverContinuously
  53. 56 TIME
  54. 57 Continuous Delivery Frequent Release Events Waterfall Rare Release Events Smoother Effort Less Risk Effort Peaks High Risk Time Time Change Change
  55. Gene Kim’s “3 Ways” of DevOps
  56. 59 Automation is important Comprehensive, fast and reliable test and deployment automation Trunk-based development & continuous integration Application code and app and system configuration all in version control Together, the factors on the left model Continuous Delivery which leads to… Lower levels of deployment pain Higher levels of IT performance (higher throughput & stability) Lower change fail rates Higher levels of org performance (productivity, market share, profitability) https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2681909
  57. 60 https://xebialabs.com/periodic-table-of-devops-tools/
  58. 61
  59. How to get started in DevOps Part 3 – Change our Organisation
  60. Culture>Strategy
  61. 64 3 Organisational Practices 7. #BuildTrust 8. #AlignToValue 9. #OptimiseFlow
  62. #BuildTrust
  63. 66 Highest predictor of performance The Study of Information Flow: A Personal Journey; Westrum, Ron
  64. 67 How well do you identify with? • On my team, information is actively sought. • On my team, failures are learning opportunities, and messengers of them are not punished. • On my team, responsibilities are shared. • On my team, cross-functional collaboration is encouraged and rewarded. • On my team, failure causes enquiry. • On my team, new ideas are welcomed.
  65. 68 #AlignToValue http://www.reactiongifs.com/r/conga-line
  66. www.devopsguys.com Phone: 0800 368 7378 | e-mail: team@devopsguys.com @TheDevMgr
  67. 70 Organization Roles Teams Cadence Taxonomy Plan Practices Alignment Autonomy “Let’s try to give our teams three things…. Autonomy, Mastery, Purpose”
  68. 71 Alignment Every team and business tracks scenarios and features consistently. Autonomy Every team chooses how to manage stories and/or tasks
  69. 72 #OptimiseFlow
  70. 73
  71. 74 “Any optimisation not made at the constraint is an illusion” “The Phoenix Project”
  72. 75 “Throughput is profitable, efficiency is not” The Goal
  73. 76 Deployment Lead Time Predicts • Ability for Dev and Ops to share a “common source of truth” • Effectiveness of our automated testing in the deployment pipeline • Ability to quickly deploy into production without causing chaos and disruption • Ability to detect and correct problems through monitoring • Ability for Dev and Ops to work together in a way that is “win / win” • How quickly developers can get feedback on their work • Testing, deploying, production outcomes, customer outcomes
  74. 77 Thousands of teams + Micro services Architecture + Continuous Delivery = 50 MILLION DEPLOYMENTS/YEAR 136K DEPLOYS/DAY
  75. How to get started in DevOps Part 4 – Summary
  76. 79 9 10 Steps To Getting Started in DevOps 0. #SystemsThinking 1. #MakeWorkVisible 2. #MeasureWhatsImportant 3. #ActOnFeedback 4. #IdentifyTheGoal 5. #BeAgile 6. #DeliverContinuously 7. #BuildTrust 8. #AlignToValue 9. #OptimiseForFlow 9 Steps To Getting Started in DevOps
  77. Questions?
  78. DevOps Solutions DevOps Coaching Workshops & Training DevOps Engineering Application Lifecyle Automation DevOps Consultancy DevOps, Agile & Cloud Strategy ccelerateducate ransform
  79. Contacts Redgate Database DevOps Team databasedevops@red-gate.com DevOpsGuys team@devopsguys.com

Notes de l'éditeur

  1. Remember those two words for later…
  2. Stop talking about Business versus IT like you’re two separate countries. Our colleagues in Sales Our Colleagues in Marketing Or better – Sally our product owner from Finance, or Dave our product owner from Merchandising
  3. Feedback loops game
  4. Work in cross-functional teams Discuss how to improve the process at every retrospective
  5. Write a post-it Describe something you consider to be wasteful Add it to the snake at the end of the chain Discuss in the retrospective
  6. That is producing 2000 cars a day (so more than 1 a minute) (1440 minutes a day)
  7. Why would Toyota do something so disruptive as stopping the production line thousands of times per day? And when the supervisor comes over the first thing he says to the worker is… “Thank You” – thank you for your commitment to quality and thank you for the opportunity to learn how to improve! “Is the only way we can build 2,000 vehicles per day – that’s one every 55 seconds” At a level of quality – otherwise we’re producing 2000 sh*t vehicles that need re-work! 
  8. Is this a good metric? Metrics without context need to be treated with care.
  9. Not having a goal is like driving blind
  10. Key concept is to shorten the cycle times as much as possible.
  11. It’s very common to see “person-years” of effort in a release. Which would you rather debug – a small, single feature change or person-years worth a stuff dumped on your at once (MTTR reduction is the goal too).
  12. Pathological organisations are characterized by large amounts of fear and threat. People often hoard information or withhold it for political reasons, or distort it to make themselves look better. Bureaucratic organisations protect departments. Those in the department want to maintain their “turf,” insist on their own rules, and generally do things by the book — their book. Generative organisations focus on the mission. How do we accomplish our goal? Everything is subordinated to good performance, to doing what we are supposed to do
  13. Amazon model is massively inefficient
Publicité