Cheng Wei @ DevOpsTaiwan Meetup
DevOps for modern developer team
摩登開發團隊的
DevOps之道
圖⽚片來源: http://nos.twnsnd.co/image/59875737775
!
Cheng Wei Chen
!
DevOps Engineer @ 得寬科技
http://chengweichen.com
#DevOpsDays
2009 ~ 至今
#DevOpsDays
http://www.ithome.com.tw/news/96861
為什麼會出現 DevOps?
2009 ~ 至今
圖⽚片來源: https://blog.openshift.com/what-is-devops-really/
DevOps之瞎子摸象
Is DevOps Bullshit?
來源: https://lionfacelemonface.wordpress.com/2015/03/08/devops-is-bullshit-why-one-programmer-doesnt-do-it-anymore/
Is DevOps Bullshit?
充滿爭議的新詞?
來源: https://lionfacelemonface.wordpress.com/2015/03/08/devops-is-bullshit-why-one-programmer-doesnt-do-it-anymore/
Is DevOps Bullshit?
充滿爭議的新詞?
來源: https://lionfacelemonface.wordpress.com/2015/03/08/devops-is-bullshit-why-one-programmer-doesnt-do-it-anymore/
呼嚨斂財的新選擇?
Is DevOps Bullshit?
來源: https://lionfacelemonface.wordpress.com/2015/03/08/devops-is-bullshit-why-one-programmer-doesnt-do-it-anymore/
充滿爭議的新詞?
呼嚨斂財的新選擇?
管他的 只要掛上 DevOps 就是「潮」!
Is DevOps Bullshit?
來源: http://www.ithome.com.tw/news/96862 , http://www.gartner.com/newsroom/id/2999017
充滿爭議的新詞?
呼嚨斂財的新選擇?
管他的 只要掛上 DevOps 就是「潮」!
What is DevOps?
請問 Google 大神
is devops ?
困惑?
Developer Operator?
? ?
Tools for DevOps
來源: http://stackshare.io/devops#!
Tools for DevOps
Load more !!
來源: http://stackshare.io/devops#!
Tools for DevOps
來源: http://newrelic.com/devops/toolset
Tools for DevOps
來源: http://newrelic.com/devops/toolset
沒有最困惑,只有更困惑
Developer Operator
?
? ?
Dev + Ops
= DevOps
Dev + Ops
= DevOps
(╯°Д°)╯ ~╩═╩
慣⽼老闆:
⼀一個⼈人
當兩⼈人⽤用?
DevOps
來源: http://zh.wikipedia.org/wiki/DevOps
DevOps is about CAMS
‧Culture
‧Automation
‧Measurement
‧Sharing
Culture
圖⽚片來源: http://negativespace.co/photos/guitarist/
Functional Silos Problematic
Development Operations
dev dev dev ops ops ops
keep calm it
works on my
machine
來源: http://www.keepcalm-o-matic.co.uk/p/keep-calm-it-works-on-my-machine/
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
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
逃げちゃだめだ
The essence of Devops, I believe, is
to design a system
in which people are held responsible
for the consequences of their
actions – and indeed,
one in which the right thing to do is
also the easiest thing to do.
來源: http://continuousdelivery.com/2012/10/theres-no-such-thing-as-a-devops-team
The essence of DevOps
Functional Silos Problematic
Development Operations
dev dev dev ops ops ops
DevOps
Functional Silos Problematic
Development Operations
dev
dev
dev ops
ops
ops
DevOps
Functional Silos Problematic
Development Operations
dev ops
devops
DevOps
dev ops
Functional Silos Problematic
Development Operations
dev dev ops opsdev ops
DevOps
dev

ops
dev

ops
dev

ops
New
Culture
Development Operations
dev dev ops opsdev ops
DevOps
dev

ops
dev

ops
dev

ops
Culture
Development Operations
dev dev ops opsdev ops
DevOps
利⽤用 Docker 建⽴立開發環境
Culture
Development Operations
dev dev ops opsdev ops
DevOps
利⽤用 Docker 建⽴立開發環境 利⽤用 Docker 建⽴立營運環境
Culture
Development Operations
dev dev ops opsdev ops
DevOps
We all love Docker, 

DevOps tools…etc
利⽤用 Docker 建⽴立開發環境 利⽤用 Docker 建⽴立營運環境
Automation
圖⽚片來源: http://finda.photo/image/11418
Automation
圖⽚片來源: http://finda.photo/image/11418
來源: http://www.ithome.com.tw/news/87144
Automation
Continuous Delivery
Continuous Integration
非讀不可
Continuous Delivery

ISBN: 978-0321601919
Continuous Delivery 中文版

利用自動化的建置、測試與部署完美創造

出可信賴的軟體發佈

ISBN: 978-9862019627
目標
就是要又短又快!!
謎之音:這樣描述沒問題嗎?
目標
就是要又短又快!!
謎之音:這樣描述沒問題嗎?
開發週期 除錯 解決問題 測試 部署
目標
就是要又短又快!!
開發週期 除錯 解決問題 測試 部署
自動 可重複運行 可靠 減少人為錯誤
Measurement
圖⽚片來源: http://nos.twnsnd.co/image/69890360201
圖⽚片來源: http://nos.twnsnd.co/image/83208814778
Monitor
Metrics
圖⽚片來源: http://nos.twnsnd.co/image/83208814778
Monitor
Metrics
圖⽚片來源: http://nos.twnsnd.co/image/83208814778
Monitor
Analytics
讓數據說話!
圖⽚片來源: http://nos.twnsnd.co/image/69890360201
讓數據說話!
Continuous Delivery
Measurement
回饋
監測任何數據

!
performance, error log …etc
Sharing
圖⽚片來源: http://nos.twnsnd.co/image/58523667245
再看一次!
Development Operations
dev
dev ops
ops
devops
Culture
dev ops
Sharing
Sharing
‧找其他部門的正妹一起吃個飯
!
!
誤
Sharing
‧找其他部門的正妹一起吃個飯
‧跨部門來場技術研討
!
誤
對
Sharing
‧找其他部門的正妹一起吃個飯
‧跨部門來場技術研討
‧跨部門分享數據、資訊
誤
對
對
Sharing
‧找其他部門的正妹一起吃個飯
‧跨部門來場技術研討
‧跨部門分享數據、資訊
‧在公司中培養一種新的文化
誤
對
對
對
Why DevOps?
來源: http://www.ithome.com.tw/news/87144
Why DevOps ?
藉由將各開發階段自動化以及訊息公
開,幫助企業軟體研發相關部門,解決
傳統流程端對端(End to end)所產生
訊息不對稱,以及協作不順暢的問題,
並且自動化開發流程的每個階段,進而
提升軟體交付的速度。
來源: http://www.ithome.com.tw/news/87144
Why DevOps ?
藉由將各開發階段自動化以及訊息公
開,幫助企業軟體研發相關部門,解決
傳統流程端對端(End to end)所產生
訊息不對稱,以及協作不順暢的問題,
並且自動化開發流程的每個階段,進而
提升軟體交付的速度。
來源: http://www.ithome.com.tw/news/87144
Why DevOps ?
CIO在雲端時代必須聚焦在總體商業的結
果,了解究竟IT提供企業什麼價值,這包
含三個要點,應用程式部署的速度、衡量
風險、控制成本。如果守著過去開發及營
運模式,對於以上提及的三點將失去競爭
力,也因為如此,傳統的方式必須改變。
來源: http://www.ithome.com.tw/news/87144
Why DevOps ?
就如同精實開發的精隨,減少不
必要的浪費以及重複性的程序,
做到剛好符合需求。
來源: http://www.ithome.com.tw/news/87144
Why DevOps ?
因此可以減少錯誤發生,開發人員也可以
專注在產生更有品質的程式碼,避免之後
不停的修補程式碼,有更多心力去做一些
有趣的事,我們也從一些客戶案例看到,
開發人員不只更有生產力,他們也更快樂
了,而且良好軟體讓維運更容易。
來源: http://www.ithome.com.tw/news/87144
Why DevOps ?
我們有一些來自客戶的數據,軟體測試
可以減少90%的時間,版本釋出和部署
的頻率可以大幅提升。實際案例顯示,
過去要兩年才能釋出1個新產品,導入
DevOps開發方法後,一年半可以發布
18個成品。
來源: http://www.ithome.com.tw/news/87144
Why DevOps ?
我們有一些來自客戶的數據,軟體測試
可以減少90%的時間,版本釋出和部署
的頻率可以大幅提升。實際案例顯示,
過去要兩年才能釋出1個新產品,導入
DevOps開發方法後,一年半可以發布
18個成品。
C.A.M.S
How?
Moving Towards A
DevOps Culture
‧Moving to cross functional
teams
‧Cross training or hiring
people with polyglot skillsets
來源: http://devops.com/2015/05/18/dislike-term-devops-culture/
‧Training and coaching
developers, testers and IT
operations on new collaborative
ways of working
‧Bringing in new tools to support
collaboration across siloes
來源: http://devops.com/2015/05/18/dislike-term-devops-culture/
Moving Towards A
DevOps Culture
more …
‧Training and coaching
developers, testers and IT
operations on new collaborative
ways of working
‧Bringing in new tools to support
collaboration across siloes
來源: http://devops.com/2015/05/18/dislike-term-devops-culture/
Moving Towards A
DevOps Culture
more …
C.A.M.S
DevOps Enigneer?
is devops ?
‧Job
‧Job Title
‧Manage and provision 

Virtual Machine.
is devops a good
career ?
來源: http://theagileadmin.com/what-is-devops/
DevOps in Your Job
Title Is Doing You Harm
來源: https://pete.wtf/2013/05/03/devops-in-your-job-title-is-doing-you-harm/
But, 到處都有人在徵
DevOps Engineer
來源: http://www.indeed.com/q-Devops-Engineer-jobs.html
來源: https://intel.taleo.net/careersection/10000/jobdetail.ftl?job=770899&src=JB-10400
來源: https://intel.taleo.net/careersection/10000/jobdetail.ftl?job=770899&src=JB-10400
Facebook, DevOps
Engineer, Data
來源: https://www.facebook.com/careers/department?req=a0IA000000G3OXJMA3
Facebook, DevOps
Engineer, Data
來源: https://www.facebook.com/careers/department?req=a0IA000000G3OXJMA3
Facebook, DevOps
Engineer, Data
來源: https://www.facebook.com/careers/department?req=a0IA000000G3OXJMA3
What Is a DevOps
Engineer?
來源: http://www.ithome.com.tw/news/87144
What Is a DevOps
Engineer?
來源: https://puppetlabs.com/blog/what-is-a-devops-engineer
What is DevOps?
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
來源: http://www.infoworld.com/article/2905307/devops/what-is-devops-depends-on-whom-you-ask.html
"There are now lots of people that [are] doing a thing
called devops," said Adam Jacob, Chef CTO, during a
presentation at the Chef Conf 2015 conference in Silicon
Valley this week.
來源: http://www.infoworld.com/article/2905307/devops/what-is-devops-depends-on-whom-you-ask.html
The truth, Jacob said, "is we don't need to win the war
for a devops definition. What we need to do is make
progress on our understanding of what it means to
do devops." Devops is reinventing how businesses are
run, he said. "Really, devops is a thing that comes
from experience and it comes from the doing of your
craft."
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
圖⽚片來源: http://pixabay.com/en/kick-martial-arts-warrior-185384/
BE
A
DEVOPS
KUNG FU
MASTER
圖⽚片來源: http://pixabay.com/en/kick-martial-arts-warrior-185384/
BE
A
DEVOPS
KUNG FU
MASTER
少林武功好~ 誒~
圖⽚片來源: http://pixabay.com/en/kick-martial-arts-warrior-185384/
BE
A
DEVOPS
KUNG FU
MASTER
少林武功好~ 誒~
哼哼哈兮!快使用雙截棍!
DevOps 之道?
圖⽚片來源: http://skitterphoto.com/?portfolio=winter-fog
DevOps 之道?
圖⽚片來源: http://skitterphoto.com/?portfolio=winter-fog
如同一條通往某種技藝的漫長旅程!
超簡短總結
‧What is DevOps ?
‧Culture, Automation,
Measurement and Sharing
超簡短總結
‧Why DevOps ?
‧又短又快!
超簡短總結
‧How ?
‧Just do it ! Keep walking !
超簡短總結
‧What is DevOps Engineer ?
‧Defined by the company
圖⽚片來源: http://pixabay.com/en/kick-martial-arts-warrior-185384/
BE
A
DEVOPS
KUNG FU
MASTER
感謝聆聽
啊…噠噠噠噠!

摩登開發團隊的DevOps之道 (@DevOpsTaiwan)