Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

DevOps:建造開發維運的跨界之橋 (@ C.C. Agile #37)

12,216 views

Published on

分享於 C.C. Agile #37 (2015.9.24)
DevOps 一詞自 2009 年出現之後,現在已經是全球熱門的重要關鍵字,你可以看到 Everyone is “selling, doing, hiring DevOps”,顯然這已是無法阻擋的趨勢!這次有榮幸能在 C.C. Agile 社群中再次與大家聊一聊什麼是 DevOps?因此有別於過去的簡報《摩登開發團隊的 DevOps 之道》,重新補充了一些新的內容,希望能幫助大家更認識 DevOps,不被潮流名詞所迷惑。

Published in: Technology
  • Be the first to comment

DevOps:建造開發維運的跨界之橋 (@ C.C. Agile #37)

  1. 1. Cheng Wei Chen @ C.C.Agile #37圖⽚片來源: https://www.flickr.com/photos/state-records-nsw/7653426404 DevOps: building the bridge between development and operation DevOps: 建造開發維運的跨界之橋
  2. 2. ! Cheng Wei Chen 陳 正瑋 ! DevOps Engineer @ 得寬科技 http://chengweichen.com
  3. 3. Agenda ‧What is DevOps ? ‧Why DevOps ? ‧How ? ‧DevOps Engineer ? ‧Summary
  4. 4. 先問幾個問題
  5. 5. 1.你的主要職務範圍是 Dev? Developer Product Manager QA Tester 或…
  6. 6. 2.你的主要職務範圍是 Ops? System Administrator Database Administrator Network Engineer 或…
  7. 7. 3.你是跨職能、全端工程師? (╯°Д°)╯ ~╩═╩ Full Stack Developer !?
  8. 8. 4.你對 Agile 的熟悉程度? 1 2 3 4 5 聽過 專家
  9. 9. 5.你看過 Continuous Delivery 這本書嗎? 1 2 3 4 5 看過 封面 整本 讀完
  10. 10. 圖⽚片來源: https://stock.tookapic.com/photos/17849 感謝配合!
  11. 11. 圖⽚片來源: https://stock.tookapic.com/photos/17849 DevOps Taiwan https://www.facebook.com/groups/DevOpsTaiwan/ https://devopstaiwan.slack.com/ https://gitter.im/DevOpsTW
  12. 12. 圖⽚片來源: http://www.splitshire.com/hand-holding-moleskine/ What is DevOps ?
  13. 13. 201620051930 1995 20001990 2010 2009 - DevOpsDays Ghent in Belgium
  14. 14. 201620051930 1995 20001990 Agile 2008 conference, Andrew Clay Shafer and Patrick Debois discussed “Agile Infrastructure” 2009/06/23, O’Reilly Velocity, “10+ Deploys per Day:Dev and Ops Cooperation at Flickr” 2009 - DevOpsDays Ghent in Belgium 2010 - Book《Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation》 2013 - Book《The Phoenix Project》 2010
  15. 15. 1930s – PDCA-Cycle 20162005 1992 – Crystal 1930 2002 – TDD 2007 – Kanban for Software Development 2009 – Lean Startup 1995 20001990 2010 1999 – User Stories 1999 – eXtreme Programming 1995 – Scrum 2001 – Agile Manifesto 2007 – Agile Retrospectives 1993 – Refactoring 1995 – Pair Programming 1999 – Continuous Integration 2006 – BDD 1940s – Kanban & Toyota Production Systems / Lean 2003 – Lean Software Development 2009 – Software Craftsmanship Manifesto 2008 – Clean Code 來源: http://finding-marbles.com/2012/04/15/a-brief-history-of-agile-and-lean-events/ 2009 - DevOpsDays Ghent in Belgium
  16. 16. 1930s – PDCA-Cycle 20162005 1992 – Crystal 1930 2002 – TDD 2007 – Kanban for Software Development 2009 – Lean Startup 1995 20001990 2010 1999 – User Stories 1999 – eXtreme Programming 1995 – Scrum 2001 – Agile Manifesto 2007 – Agile Retrospectives 1993 – Refactoring 1995 – Pair Programming 1999 – Continuous Integration 2006 – BDD 1940s – Kanban & Toyota Production Systems / Lean 2003 – Lean Software Development 2009 – Software Craftsmanship Manifesto 2008 – Clean Code 來源: http://finding-marbles.com/2012/04/15/a-brief-history-of-agile-and-lean-events/ , https://en.wikipedia.org/wiki/Comparison_of_open-source_configuration_management_software 2009 - DevOpsDays Ghent in Belgium 2006 – AWS 2012 – Ansible 2009 – Chef 2005 – Puppet 2007 – VirtualBox 1999 – VMware 2005 – Git
  17. 17. LEAN Agile Continuous Integration Continuous Delivery before DevOps Virtualization Infrastructure as Code
  18. 18. DevOps 的定義? ?
  19. 19. DevOps is… A cultural and professional movement, focused on how we build and operate high velocity organisations, born from the experiences of its practitioners. ! 來源: https://www.chef.io/solutions/devops/ Chef
  20. 20. DevOps represents a change in IT culture, focusing on rapid IT service delivery through the adoption of agile, lean practices in the context of a system-oriented approach. DevOps emphasizes people (and culture), and seeks to improve collaboration between operations and development teams. DevOps implementations utilize technology — especially automation tools that can leverage an increasingly programmable and dynamic infrastructure from a life cycle perspective. 來源: http://www.gartner.com/it-glossary/devops/ Gartner
  21. 21. DevOps 是⼀一組過程、⽅方法與系統的統稱,⽤用於促進開發(應⽤用程式/軟體⼯工程)、技術 運營和質量保障(QA)部⾨門之間的溝通、協作與整合。它的出現是由於軟體⾏行業⽇日益 清晰地認識到:為了按時交付軟體產品和服務,開發和運營⼯工作必須緊密合作。 來源: https://zh.wikipedia.org/wiki/DevOps Wiki
  22. 22. 來源: http://www.ithome.com.tw/news/87144 IBM
  23. 23. @ DevOpsTaiwan Sharing #1 - Jeff Hung (趨勢科技資深經理)
  24. 24. What Is DevOps? It depends on whom you ask. 來源: http://www.infoworld.com/article/2905307/devops/what-is-devops-depends-on-whom-you-ask.html 來源: https://youtu.be/_DEToXsgrPc
  25. 25. 圖⽚片來源: http://pixabay.com/en/kick-martial-arts-warrior-185384/ BE A DEVOPS KUNG FU MASTER
  26. 26. 圖⽚片來源: http://pixabay.com/en/kick-martial-arts-warrior-185384/ BE A DEVOPS KUNG FU MASTER 少林武功好~ 誒~
  27. 27. 圖⽚片來源: http://pixabay.com/en/kick-martial-arts-warrior-185384/ BE A DEVOPS KUNG FU MASTER 少林武功好~ 誒~ 哼哼哈兮!快使用雙截棍!
  28. 28. DevOps is about CALMS ‧Culture ‧Automation ‧Lean ‧Measurement ‧Sharing 來源: http://itrevolution.com/devops-culture-part-1/
  29. 29. Culture 圖⽚片來源: http://negativespace.co/photos/guitarist/
  30. 30. Development Operations dev dev dev ops ops ops Functional Silos Problematic
  31. 31. keep calm it works on my machine 圖⽚片來源: http://www.keepcalm-o-matic.co.uk/p/keep-calm-it-works-on-my-machine/ https://www.flickr.com/photos/statelibraryofnsw/6000988028/
  32. 32. Functional Silos Problematic Functional silos abstract people away from the consequences of their actions. In the example above, developers are abstracted away from the consequences of writing buggy code. 來源: http://continuousdelivery.com/2012/10/theres-no-such-thing-as-a-devops-team
  33. 33. Functional Silos Problematic Functional silos abstract people away from the consequences of their actions. In the example above, developers are abstracted away from the consequences of writing buggy code. 來源: http://continuousdelivery.com/2012/10/theres-no-such-thing-as-a-devops-team 逃げちゃだめだ
  34. 34. Functional Silos Problematic Development Operations dev dev dev ops ops ops DevOps break break
  35. 35. Functional Silos Problematic Development Operations dev ops devops DevOps dev ops
  36. 36. code build test release deploy operate plan Dev Ops Functional Silos Problematic
  37. 37. Functional Silos Problematic code build test release deploy operate plan DevOps break break DevOps
  38. 38. Development Operations dev dev ops opsdev ops DevOps dev
 ops dev
 ops dev
 ops New Functional Silos Problematic
  39. 39. Culture Development Operations dev dev ops opsdev ops DevOps dev
 ops dev
 ops dev
 ops
  40. 40. Development Operations dev dev ops opsdev ops DevOps We all love Docker, 
 DevOps tools…etc 利⽤用 Docker 建⽴立開發環境 利⽤用 Docker 建⽴立營運環境 Culture
  41. 41. Automation 圖⽚片來源: http://finda.photo/image/11418
  42. 42. Automation 圖⽚片來源: http://finda.photo/image/11418 來源: http://www.ithome.com.tw/news/87144
  43. 43. Continuous Integration Continuous Delivery
  44. 44. Continuous Delivery
 ISBN: 978-0321601919 Continuous Delivery 中文版
 利用自動化的建置、測試與部署完美創造
 出可信賴的軟體發佈
 ISBN: 978-9862019627 非讀不可
  45. 45. code build test release deploy operateplan Continuous Integration Continuous Delivery Automation CI / CD / Automation
  46. 46. 就是要又短又快!! 謎之音:這樣描述沒問題嗎? 目標
  47. 47. 就是要又短又快!! 開發週期 除錯 解決問題 測試 部署 自動 可重複運行 可靠 減少人為錯誤 謎之音:這樣描述沒問題嗎? 目標
  48. 48. 圖⽚片來源: https://www.flickr.com/photos/nationalarchives/3047452735/ Lean
  49. 49. Lean Adopting Lean principles to improve the value streams of the organization and eliminate waste. - Michael Ducy (Chef / 全球傳教士)
 @ iThome DevOps 2015 (Taiwan)
  50. 50. Measurement 圖⽚片來源: http://nos.twnsnd.co/image/69890360201
  51. 51. Metrics 圖⽚片來源: http://nos.twnsnd.co/image/83208814778 Monitor Analytics
  52. 52. 讓數據說話!
  53. 53. 讓數據說話! Continuous Delivery Measurement Feedback 監測任何有意義之數據
 ! performance, error log …etc
  54. 54. 讓數據說話! Continuous Delivery Measurement Feedback 監測任何有意義之數據
 ! performance, error log …etc 來源: http://www.slideshare.net/williamyeh/whoscall-realtime-monitoring
  55. 55. code build test release deploy operateplan Measurement ! !Monitor Metrics Analytics Feedback Monitoring Measurement
  56. 56. Sharing 圖⽚片來源: http://nos.twnsnd.co/image/58523667245
  57. 57. Sharing
  58. 58. Sharing ‧找其他部門的正妹一起吃個飯 ! ! 誤
  59. 59. Sharing ‧找其他部門的正妹一起吃個飯 ‧跨部門來場技術研討 ! 誤 對
  60. 60. Sharing ‧找其他部門的正妹一起吃個飯 ‧跨部門來場技術研討 ‧跨部門分享數據、資訊 誤 對 對
  61. 61. Sharing ‧找其他部門的正妹一起吃個飯 ‧跨部門來場技術研討 ‧跨部門分享數據、資訊 ‧在公司中培養一種新的文化 誤 對 對 對
  62. 62. DevOps is about CALMS ‧Culture ‧Automation ‧Lean ‧Measurement ‧Sharing 來源: http://itrevolution.com/devops-culture-part-1/
  63. 63. code build test deploy operateplan Measurement ! !Monitor Metrics Analytics Continuous Integration Continuous Delivery DevOps Monitoring Automation Dev release Ops Sharing Fast Iteration Feedback break silos LEAN Culture
  64. 64. 圖⽚片來源: http://www.splitshire.com/hand-holding-moleskine/ Why DevOps ?
  65. 65. 來源: http://www.ithome.com.tw/news/87144 Why DevOps ? 藉由將各開發階段自動化以及訊息公 開,幫助企業軟體研發相關部門,解決 傳統流程端對端(End to end)所產生 訊息不對稱,以及協作不順暢的問題, 並且自動化開發流程的每個階段,進而 提升軟體交付的速度。
  66. 66. 來源: http://www.ithome.com.tw/news/87144 Why DevOps ? 藉由將各開發階段自動化以及訊息公 開,幫助企業軟體研發相關部門,解決 傳統流程端對端(End to end)所產生 訊息不對稱,以及協作不順暢的問題, 並且自動化開發流程的每個階段,進而 提升軟體交付的速度。
  67. 67. 來源: http://www.ithome.com.tw/news/87144 Why DevOps ? CIO在雲端時代必須聚焦在總體商業的結 果,了解究竟IT提供企業什麼價值,這包 含三個要點,應用程式部署的速度、衡量 風險、控制成本。如果守著過去開發及營 運模式,對於以上提及的三點將失去競爭 力,也因為如此,傳統的方式必須改變。
  68. 68. 來源: http://www.ithome.com.tw/news/87144 Why DevOps ? 就如同精實開發的精隨,減少不 必要的浪費以及重複性的程序, 做到剛好符合需求。
  69. 69. 來源: http://www.ithome.com.tw/news/87144 Why DevOps ? 因此可以減少錯誤發生,開發人員也可以 專注在產生更有品質的程式碼,避免之後 不停的修補程式碼,有更多心力去做一些 有趣的事,我們也從一些客戶案例看到, 開發人員不只更有生產力,他們也更快樂 了,而且良好軟體讓維運更容易。
  70. 70. 來源: http://www.ithome.com.tw/news/87144 Why DevOps ? 我們有一些來自客戶的數據,軟體測試 可以減少90%的時間,版本釋出和部署 的頻率可以大幅提升。實際案例顯示, 過去要兩年才能釋出1個新產品,導入 DevOps開發方法後,一年半可以發布 18個成品。
  71. 71. ‧ 改善團隊協作 ‧ 幫助控管風險、成本,減少浪費 ‧ 提升軟體品質 ‧ 提升軟體迭代速度 Why DevOps ?
  72. 72. ‧ 改善團隊協作 ‧ 幫助控管風險、成本,減少浪費 ‧ 提升軟體品質 ‧ 提升軟體迭代速度 Why DevOps ? Lean Agile+
  73. 73. 圖⽚片來源: http://www.splitshire.com/hand-holding-moleskine/ How ?
  74. 74. 文化 人 工具>
  75. 75. 文化 http://www.slideshare.net/jedi4ever/devops-tools-fools-and-other-smart-things http://www.slideshare.net/dev2ops/you-cant-change-culture-but-you-can-change-behavior-and-behavior-becomes-culture
  76. 76. LEAN Agile Continuous Integration Continuous Delivery Virtualization Infrastructure as Code 背景知識
  77. 77. LEAN Agile Continuous Integration Continuous Delivery Virtualization Infrastructure as Code 背景知識 圖⽚片來源: https://www.flickr.com/photos/library-company-of-philadelphia/14008005735/
  78. 78. Software Value Stream Workflow Development Pipeline ⋯⋯ 流程
  79. 79. http://blog.matthewskelton.net/2013/10/22/what-team-structure-is-right-for-devops-to-flourish/ DevOps Topologies
  80. 80. 來源: http://blog.matthewskelton.net/2013/10/22/what-team-structure-is-right-for-devops-to-flourish/ DevOps Topologies Dev Ops 小 團隊
  81. 81. 來源: http://blog.matthewskelton.net/2013/10/22/what-team-structure-is-right-for-devops-to-flourish/ DevOps Topologies DevDev Ops 新創 團隊
  82. 82. 來源: http://blog.matthewskelton.net/2013/10/22/what-team-structure-is-right-for-devops-to-flourish/ DevOps Topologies Dev OpsDev Ops 專案 編組
  83. 83. 符合需求 學習成本 價格 售後服務 商業支援 生態系社群 設計邏輯 工具選擇策略 教學資源
  84. 84. 來源: http://itrevolution.com/the-three-ways-principles-underpinning-devops/ Dev Ops Dev Ops Dev Ops Systems Thinking Feedback Loops Continuous Gene Kim
  85. 85. 團隊規模 流程 產品架構 找出最佳實踐 最佳 實踐 文化轉變 工具平台 跨職能人才
  86. 86. code buildplan Agile Development Feedback test
  87. 87. code buildplan Agile Development Continuous Integration Automation Feedback test
  88. 88. code buildplan Agile Development Continuous Integration Continuous Delivery deploy Feedback test release Feedback Automation
  89. 89. code buildplan Agile Development Continuous Integration Continuous Delivery deploy Feedback releasetest Feedback operate DevOps Automation
  90. 90. code build test deploy operateplan Measurement ! !Monitor Metrics Analytics Continuous Integration Continuous Delivery DevOps Monitoring Automation Dev release Ops Sharing Fast Iteration Feedback break silos LEAN Culture
  91. 91. DevOps Report 2015 來源: http://puppetlabs.com/2015-devops-report
  92. 92. The IT Revolution DevOps Guide 來源: http://puppetlabs.com/2015-devops-report來源: http://itrevolution.com/download-the-it-revolution-devops-guild/
  93. 93. 圖⽚片來源: http://www.splitshire.com/hand-holding-moleskine/ DevOps Enigneer?
  94. 94. is devops a good career ? 來源: http://theagileadmin.com/what-is-devops/
  95. 95. DevOps in Your Job Title Is Doing You Harm 來源: https://pete.wtf/2013/05/03/devops-in-your-job-title-is-doing-you-harm/
  96. 96. But, 到處都有人在徵 DevOps Engineer Everyone is “selling, doing, hiring DevOps” Michael Ducy https://twitter.com/mfdii
  97. 97. 來源: http://www.indeed.com/q-Devops-Engineer-jobs.html
  98. 98. 來源: http://www.104.com.tw/jobbank/joblist/joblist.cfm?jobsource=n104bank1&keyword=devops&order=1
  99. 99. 來源: http://www.104.com.tw/job/?jobno=46ol4
  100. 100. 來源: http://www.104.com.tw/job/?jobno=46ol4 System Admin Automation Cloud Security AWS
  101. 101. 來源: http://www.104.com.tw/job/?jobno=4e3xv HA System Admin CI Log Monitor
  102. 102. 來源: http://www.104.com.tw/job/?jobno=4izqf System Architect Monitor
  103. 103. 來源: http://www.104.com.tw/job/?jobno=48p0v Configuration Management AWS Cloud Automation Script
  104. 104. 來源: http://www.104.com.tw/job/?jobno=4iox5 Script Linux CI CD
  105. 105. System Admin Automation Cloud Security AWS HA CI Log Monitor System Architect Configuration Management Linux CD Dev Ops ?
  106. 106. 來源: http://www.104.com.tw/job/?jobno=4ktyw Dev Ops ?
  107. 107. DevOps Requires New Job Skills & Roles Cloud ArchitectRelease Manager Integration Specialist DevOps Automation Engineer https://www.scriptrock.com/blog/devops-new-job-skills-roles-titles
  108. 108. 圖⽚片來源: http://www.splitshire.com/hand-holding-moleskine/ Summary
  109. 109. What is DevOps ? ‧Culture ‧Automation ‧Lean ‧Measurement ‧Sharing or depends on whom you ask.
  110. 110. Why DevOps ? ‧Why Agile ? ‧Why Lean ? ‧Why CI / CD ? ‧Why Automation ? 為了又短 又快又靈活 (羞)
  111. 111. How ? ‧從 Agile 到 DevOps ‧或者找出屬於你的最佳實踐! Best Practices
  112. 112. DevOps Engineer ? ‧Defined by the company 定義 大亂鬥
  113. 113. DevOps 之舊瓶新裝 ? 圖⽚片來源: https://blog.openshift.com/what-is-devops-really/ ‧舊東西包在一起改名為新東西? ‧你覺得呢?
  114. 114. DevOps 之舊瓶新裝 ? ‧舊東西包在一起改名為新東西? ‧你覺得呢? 圖⽚片來源: http://pixabay.com/en/kick-martial-arts-warrior-185384/ 啊…噠噠噠噠 DEVOPS KUNG FU MASTER
  115. 115. DevOps 神話 ? 來源: https://www.facebook.com/groups/DevOpsTaiwan/
  116. 116. Agile ? DevOps ? 來源: https://www.facebook.com/groups/DevOpsTaiwan/
  117. 117. 別讓「噱頭辭彙」 迷惑了你! 來源: https://www.facebook.com/Punnode
  118. 118. 圖⽚片來源: https://www.flickr.com/photos/state-records-nsw/7653426404 Building the bridge between development and operation 感謝聆聽

×