102
Body Level One Body Level Two Body Level Three Body Level Four Body Level Five 圖⽚來源: https://unsplash.com/photos/1rZcfdsjoR4 Cheng Wei Chen @ Cloud & DataCenter EXPO 2016 iThome 困境與轉型一個小型開發團隊的DevOps學習之旅

困境與轉型:一個小型開發團隊的 DevOps 學習之旅

Embed Size (px)

Citation preview

Body Level One!Body Level Two!

Body Level Three!Body Level Four!

Body Level Five

圖⽚來源: https://unsplash.com/photos/1rZcfdsjoR4 Cheng Wei Chen @ Cloud & DataCenter EXPO 2016 iThome

困境與轉型: 一個小型開發團隊的DevOps學習之旅

!Cheng Wei Chen 陳 正瑋

!DevOps Engineer @ TheQwan 得寬科技

chengweichen.com

關於得寬科技網路服務・社群整合・行動應用

說一個故事

OOO 音樂教室XXX 美術教室

OOO 音樂教室XXX 美術教室XXX 程式教室

“the people who are crazy enough to think they can change the world are the ones who do.”

― Steve Jobs

We can change the world.

“the people who are crazy enough to think they can change the world are the ones who do.”

― Steve Jobs

We need $ $ $ $$

!?

Project-001: Website

Date

Project-001: Website

Date

Project-002: iOS App

Project-001: Website

Project-003: Website

Date

Project-005: EDM

Project-002: iOS App

Project-004: iOS App

Project-001: Website

Project-003: Website

Date

Project-005: EDM怒

煩累

Project-002: iOS App

Project-004: iOS App

Date

煩累

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 開發

Date

煩累

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 開發

Date

煩累

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 開發

We need more $$$

Date

Project-001: Website

Project-003: Website

Project-005: EDM

Project-002: iOS App

Project-004: iOS App

Date

Date

怒煩累

Date

怒煩累

Date

怒煩累

新技術? 新流程? 新方法?

聽說此團隊, 想要做自己的產品?

故事中的困境

資源 有限

資源 有限

資金

資源 有限

資金

人力

資源 有限

資金

人力

時間

重複 勞動

重複 勞動

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 開發

重複 勞動

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 開發

需求 差異

需求 差異

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 環境 開發

規劃 開發

專案 管理

專案 管理

Date

專案 管理

技術 工具 方法

技術 工具 方法

The Good Old Days

技術 工具 方法

The Good Old Days

BRAND NEW DAY

困境

困境

生產力

困境資訊

透明度

生產力

困境資訊

透明度 文化

生產力

DevOps

HERO

DevOps

!?

DevOps

HERO

今天不談 What is DevOps

DevOps 三個關鍵

DevOps 三個關鍵

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

DevOps 三個關鍵

自動化

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

DevOps 三個關鍵

透明度

自動化

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

DevOps 三個關鍵

透明度

自動化

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

敏捷

DevOps 三個關鍵

透明度 敏捷 精實

自動化

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

敏捷 精實

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

敏捷技巧

持續改善

看見問題

減少浪費

敏捷 精實

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

透明度

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

需求反饋

專案管理

維運狀況

程式碼技術

透明度

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

自動化

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

減少浪費

加快速度

減少人為疏失

有效運用人力

自動化

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

DevOps 三個關鍵

透明度 敏捷 精實

自動化

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

透明度 敏捷 精實

自動化

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

持續改善

得寬科技 DevOps 之旅

LEAN

Agile

Continuous Integration

Continuous Delivery

在談 DevOps 之前

Virtualization

Infrastructure as

Code

DevOps

圖⽚來源: http://negativespace.co/photos/guitarist/ , http://finda.photo/image/11418 , http://nos.twnsnd.co/image/58523667245 , https://www.flickr.com/photos/nationalarchives/3047452735/ , http://nos.twnsnd.co/image/83208814778

DevOps

圖⽚來源: http://negativespace.co/photos/guitarist/ , http://finda.photo/image/11418 , http://nos.twnsnd.co/image/58523667245 , https://www.flickr.com/photos/nationalarchives/3047452735/ , http://nos.twnsnd.co/image/83208814778

Sharing

LEANAutomationCulture

Measurement

文化

Culture

圖⽚來源: http://negativespace.co/photos/guitarist/

文化

Culture 鼓勵創新

容許錯誤

持續改善

圖⽚來源: http://negativespace.co/photos/guitarist/

Project Management

Workflow

Development Pipeline

重新檢視現況

code build test release deploy operateplan

Pipeline

operate

Plan

看板方法 KanBan

deployreleasetestbuildcodeplan

圖⽚來源: http://www.tenlong.com.tw/items/9865617021

operate

Plan

影響地圖 Impact Mapping

deployreleasetestbuildcodeplan

圖⽚來源: https://www.impactmapping.org/book.html

operate

Plan

影響地圖 Impact Mapping

deployreleasetestbuildcodeplan

圖⽚來源: https://www.impactmapping.org/book.html

Why -> Who -> How -> What

operate

Plan

deployreleasetestbuildcodeplan

除了討論 Functional requirements

還要討論 Non-Functional requirements

operate

Plan

deployreleasetestbuildcodeplan

Security

Backups

High Availability

Upgradeability

Configuration management

Monitoring

Logging

Metrics

Non-Functional requirements

operateplan

Development Pipeline

deployreleasetestbuildcode

operateplan

Development Pipeline

deployreleasetestbuildcode

Version Control Provisioning

Configuration Management

operateplan

Development Pipeline

deployreleasetestbuildcode

透明度、⾃動化

operateplan

Development Pipeline

deployreleasetestbuildcode

透明度、⾃動化

CIcommit dev stagingtest

testprod deploy

code build test release deploy operateplan

Measurement !!Monitor Metrics Analytics

Measurement

Feedback

code build test release deploy operateplan

Measurement !!Monitor Metrics Analytics

Measurement

Feedback

透明度

code build test release deploy operateplan

Measurement !!Monitor Metrics Analytics

Measurement

Feedback

code build test release deploy operateplan

Measurement !!Monitor Metrics Analytics

Measurement

Feedback

工具選擇策略

工具選擇策略

符合需求 學習成本

價格 售後服務 商業支援

生態系社群教學資源

設計邏輯

Before, After

Before, After

debug

create environment

deployment

又短又快

environment config

Before, After

debug

create environment

deployment

又短又快

environment confighour minute

Before, After

效率、品質

Issue Tracking

Source Control

Collaboration

Performance Availability

Before, After

效率、品質

Issue Tracking

Source Control

Collaboration

Performance Availability

developer customer

Happy, Happy

Summary

困境資訊

透明度 文化

生產力

DevOps 三重點

透明度 敏捷 精實

自動化

資料來源: https://channel9.msdn.com/Events/DevOps-TW/2015-DevOps-Day/b01

LEAN

Agile

Continuous Integration

Continuous Delivery

在談 DevOps 之前

Virtualization

Infrastructure as

Code

DevOps

圖⽚來源: http://negativespace.co/photos/guitarist/ , http://finda.photo/image/11418 , http://nos.twnsnd.co/image/58523667245 , https://www.flickr.com/photos/nationalarchives/3047452735/ , http://nos.twnsnd.co/image/83208814778

Sharing

LEANAutomationCulture

Measurement

文化

Culture 鼓勵創新

容許錯誤

持續改善

圖⽚來源: http://negativespace.co/photos/guitarist/

流程

code build test release deploy operateplan

Measurement !!Monitor Measure Analytics

Feedback

Pipeline

FastIteration

符合需求 學習成本

價格 售後服務 商業支援

生態系社群

設計邏輯

工具選擇策略

教學資源

團隊規模

流程

產品\架構

最佳實踐

最佳 實踐

Thank You

圖⽚來源: https://unsplash.com/photos/oxjo1IQBK7M

圖⽚來源: https://stock.tookapic.com/photos/17849

DevOps Taiwan

https://www.facebook.com/groups/DevOpsTaiwan/

https://devopstaiwan.slack.com/

https://gitter.im/DevOpsTW