Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
StreetVoice 自動化部署演進
Search
Ming Shien Tzang
August 23, 2016
Technology
610
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
StreetVoice 自動化部署演進
Ming Shien Tzang
August 23, 2016
Transcript
43 slides
ᛔ㵕玕蟂ᗟᄍ蝱 @ ModernWeb 2016
橕ෝ StreetVoice ᤋ肨牏౯
加缏ᶪ禼ᐒᗭ翕ᒊ ݣ傀牏詂牏Ӿ㾴
窔稧 碍֖ᶪ禼咳ᤈ
憎挨य़㿁 襎憙℄ፓ牏ᶪ禼蔭ᄍ
墋㻌ኞၚ℄ 狶ࡅ稭ጱԪ 虏ࡅ稭ጱԪ磪㰷独
tzangms ੜၹ, Ո圸ၹ者ቘ
Intro ࣁ獺叨禂牧ग़犖ฎ蝍穩讨ದ蔩
ض藯᯿讨 StreetVoice ই֜狶ᛔ㵕玕蟂ᗟ
蝫ೲ衔᮷犋አೲ master branch ݝᥝ磪ๅ碝, 纷ୗ疰䨝ᛔ㵕蟂ᗟکྋୗ絑ह
傶֜ᥝᛔ㵕蟂ᗟ 狶ࡅ稭ጱԪ 虏ࡅ稭ጱԪ磪㰷独 耆卓ጱԪ眐虏犢ᛔ૩㵕
翕ᒊॡग़ 犋ᛔ㵕蟂ᗟ䨝稴Ոጱ 30+ instance 20+ instance
ᥝ揗揣ጱ翕ᒊ
犋ݝ蝡犚 螭磪皃㮆ࣁ憒㴟Ӿ …
ྯ㮆翕ᒊ螭磪犋ݶ絑ह production, staging, development
翕ᒊአکጱ䩚ᥜॡग़ python npm nginx gunicorn cronjob worker linux etc طฎӞ㮆翕ᒊ疰አک盄ग़๐率
֕ฎ౯㮉ݝ磪Ӟ㮆 SA 犥獮ฎ vinta Ӟ㮆Ո獊۱
–౯㮉疑 SA ̿ᥝ᯿ୌ SV ܈皃ݣ犋ݶአ蝝ጱ֑๐瑊کӤ娄, ݝ 襑ᥝ妔౯犋ک 20 獤楮̀
ᛔ㵕玕蟂ᗟጱ獮 • ᪃䄪ጱᛔ㵕玕介手 • ૡ֢窕纷 • 碻樌
ૡ֢窕纷
None
None
None
蝢Ꭳ 蝚螂 Slack Ꭳ螇ಅ磪य़ੜԪ
蟂ᗟᄍ蝱 • FTP • Fabric • SaltStack • Ansible
FTP 犋ᥝᒞ, ک匍ࣁ螭ฎ磪Ոࣁ FTP
Fabric ݢ犥አ㬵狶盄ग़Ԫ, ݢฎ吚翕ᒊ᩼虋᩼蕦褾ጱ碻狡 …
SaltStack
$ salt “*” state.highstate ݞ saltstack 蝱ᤈ蟂ᗟ
ፗ矑ࣁ hipchat 矒ګ saltstack አ hubot 矒ګ
None
None
匍ࣁ䷱Ոቘ hubot ԧ ࢩ傶蟂ᗟ᮷ᛔ㵕玕ԧ, 犋螂螨ع苭Ӟ, 犢螭ฎࣁ
蟂ᗟᛔ㵕蝢Ꭳ
傶֜矦 Ansible
–౯㮉疑 SA ̿穉蚏 saltstack牧ࣗ穉斃牧 戔ਧොୗ墋㻌牏竃༩牐̀
蜢舚ጱ䌃纷ୗ 䌃纷ୗ 樄 feature branch 盅 push Ӥ Github ݚ樄
Pull Request, ࣁ merge 獮, 䨝ض Code Review 㪐Ӥ粚矒ګ羬翄 蝚螂 Travis CI ᪒㻌ز 介手, ইຎ蝢螂介手, Code Review 犖䷱㺔 氂ጱ扖, 䨝 merge 㻌ز介手 ইຎ磪纷ୗ merge 蝱 develop ฎ master branch, Travis CI 介 手蝢螂䨝ᛔ㵕ݞ ansible 樄ত蟂ᗟ ᛔ㵕蟂ᗟ ansible 䨝ಅ磪ፘ 橕֑๐瑊ጱ纷ୗ牏 戔ਧ᮷ๅ碝ک磧碝 ጱ制眲 ๅ碝纷ୗ牏制眲 ᛔ㵕玕蟂ᗟ窕纷
ဳԪ殻 Ջ讕碻狡犋胼ᛔ㵕蟂ᗟ
DB migration • ࣁ staging 碝ी䳱֖ • ࣁ production 㳫ᴻ䳱֖
NoSQL ጱ๏藶᪡螂, 蘛蘛!
ᛔ㵕玕盅ݢڥአጱ猻玊
䌕ஞ䌃纷ୗ 蟂ᗟӤ娄缛, 㻌ز介手缛, 傶֜犋缛ਠ౮蝢Ꭳ疰অ
֦㮉ᛔ㵕玕ԧ㻟?
Q & A
More Decks by Ming Shien Tzang
See All by Ming Shien Tzang
AI 開發效率的瓶頸,是你讓它做不擅長的事
tzangms
0
59
英文有聲書這樣聽就對了
tzangms
0
640
從工程師到總經理
tzangms
19
10k
克服人心的障礙,跨越自動化測試的門檻
tzangms
7
2.5k
小海之路
tzangms
2
520
The workflow of the New StreetVoice
tzangms
20
2.2k
小海嚴選
tzangms
6
1.5k
StreetVoice: From Windows/ASP to Linux/Python
tzangms
12
1.8k
Deploy Django on Windows Azure web sites in 5 minutes
tzangms
1
1.3k
Other Decks in Technology
See All in Technology
An Introduction to Context Ontology Accelerator (teaching AI agents what your data means)
inariku
PRO
1
270
Where Should Platform Complexity Live? Lessons from a Cross-Team PR Preview Platform
taiki45
0
110
仕様と現実の間で落とし所を探るリモートMCPの認証・認可 — Sansanの認証基盤における課題と実践
sansantech
PRO
2
320
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
270
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
140
市販IoT機器や自作IoT機器とHomeAssistantを駆使して家の電気代をできる限り見える化する方法の考案
harutiro
0
260
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
1
350
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
340
SSFの現在地 ― CAEP/RISCからAI Identityへ
oidfj
0
450
内製アプリとClaudeスキルのセキュリティチェック、 Backlogの課題で回しています。
ayaka_egaaa
0
200
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
180
プロダクションコードにおける encoding/json から encoding/json/v2 へのスムーズな移行
sansantech
PRO
1
440
Featured
See All Featured
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
560
Six Lessons from altMBA
skipperchong
29
4.6k
Agile that works and the tools we love
rasmusluckow
331
22k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
How GitHub (no longer) Works
holman
316
150k
It's Worth the Effort
3n
188
29k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
Optimising Largest Contentful Paint
csswizardry
37
4k
The SEO Collaboration Effect
kristinabergwall1
1
620
Designing Experiences People Love
moore
143
24k
4 Signs Your Business is Dying
shpigford
187
23k
Amusing Abliteration
ianozsvald
1
390