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
ちいさな会社でのAnsible活用事例
Search
Kaz Watanabe
February 28, 2017
Technology
930
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ちいさな会社でのAnsible活用事例
Kaz Watanabe
February 28, 2017
More Decks by Kaz Watanabe
See All by Kaz Watanabe
開発エンジニアが取り組む DevSecOps ~ GitHub Enterprise × Azure での実践~
kaz29
0
55
Greenは本当にGreenか? - B/GデプロイとAPI自動テストで安心デプロイ
kaz29
1
210
CI/CD/IaC 久々に0から環境を作ったらこうなりました
kaz29
1
510
開発エンジニアが実践するDevSecOps
kaz29
0
180
PHPCon福岡2024-Azureもなかなかいいですよ.pdf
kaz29
2
420
Azure Container Apps + Bicep 〜 こんな感じで運用しています
kaz29
3
1.4k
20220908_フロントエンドパフォーマンス改善.pdf
kaz29
2
200
PHP製のPodCast配信用WebアプリをReact+Next.jsなSSGで作り直してみた話
kaz29
3
730
バックエンドエンジニアの私がお勧めする SPAフロントエンド開発環境
kaz29
6
6.3k
Other Decks in Technology
See All in Technology
Building Audio Plugin Ecosystem for Android in 2026
atsushieno
1
110
PostgreSQL オプティマイザ統計の秘密
nori_shinoda
0
210
企画からFlutter実装まで、1つの機能を一貫して開発したプロセスと成果物
khiroyuki1003
0
130
慶應義塾大学 AI実践05 論文執筆の仕組み化
keio_smilab
PRO
6
3.5k
(swiftc) NonCopyableとライフタイム修飾子
teamhimeh
0
170
Deep Data Security 機能解説
oracle4engineer
PRO
3
1k
Content Mapper APIの応用例~CSS Modules、言語ファイル~
uhyo
2
530
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
200
"AWSはちょっと苦手"でも大丈夫。AWS Blocks で手軽に作る Flutter のバックエンド #FlutterKaigi
tacck
PRO
0
130
アクセラレーターで実現するServiceNow活用の高速化 / ServiceNow World Forum 2026
visional_engineering_and_design
0
120
Patterns in AI Driven Software Development
akosma
PRO
0
460
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
150
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
380
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
So, you think you're a good person
axbom
PRO
2
2.2k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Paper Plane
katiecoart
PRO
5
54k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
310
Transcript
͍ͪ͞ͳձࣾͰͷAnsible׆༻ࣄྫ ʰAnsibleపఈೖʱग़൛ه೦Πϕϯτ(2017/2/27) ߹ಉձࣾdecr දࣾһ ลҰ(@kaz_29)
WHO!? ลҰ(@kaz_29) ߹ಉձࣾ decr දࣾһ WebΞϓϦέʔγϣϯͷ։ൃ iOSΞϓϦέʔγϣϯͷ։ൃ ΫϥυΠϯϑϥͷߏஙɾӡ༻
WHAT? • WebܥͷαʔϏε։ൃ • iOSΞϓϦ։ൃ • APIόοΫΤϯυͷ։ൃ • ϑϩϯτΤϯυΞϓϦ։ൃ •
Πϯϑϥߏஙɾӡ༻
TEAM • Θͨͳ (Backend, iOS, Ops, (Frontend)) • member(Backend, Frontend)
x 1 • (࣌ʑύʔτφʔ͞Μͷελοϑ)
SIZE ɾɾɾ ɾɾɾ ɾɾɾ ࠷খ 1 ଟͯ͘ 4ʙ10ఔ ʙ
TOOLS / SERVICES
DEVELOPMENT • Vagrant + Ansible • ansible_local provisioner • synced_foler(rsync-auto
+ rsync-back) • nodejsϗετଆͰ࡞ۀ͍ͯ͠Δ(࠷ۙ) • ndenvͰόʔδϣϯཧ
None
ࣗಈςετ͍ͯ͠·͔͢ʁ
DEVELOPMENT • UnitTest͕ͬͭΓॻ͍ͯ·͢ • TDD·Ͱͬͯͳ͍͚ͲProductionͷίʔυͱηοτͰ Commit͍ͯ͠·͢ • JSͷϑϩϯτ/iOSΞϓϦͷςετ৭ʑΜͰ͍·͢ • ཁ݅తʹඞཁͰ͋ΕBDDͰडೖΕςετॻ͘(͜ͱ͋Γ·͢)
• डೖΕςετͷࣗಈԽ৭ʑ಄௧͍Ͱ͢
DEVELOPMENT • ܧଓతΠϯςάϨʔγϣϯ • githubͷpushͰCiecleCIͰࣗಈςετ • API Documentͷࣗಈੜ(swagger) • Github/PivotalTracker/CircleCIͳͲͷΠϕϯτSlackʹ௨
• Ұ෦αʔϏεͰHubotͰdeployͰ͖ΔΑ͏ʹ͍ͯ͠Δ
STAGING / PRODUCTION • ͱͰ͖Δ͚ͩຊ൪ͱಉ͡ڥͰ… • εςʔδϯάڥɺ༧ࢉతʹԽͳͲ͠ͳ͍ͳͲɺશ͘ҰॹͰ ͳ͍͜ͱ͕ଟ͍ • ༻్
• Provision/Deployͷಈ࡞ݕূ • ΫϥΠΞϯτ͞Μͷಈ࡞ݕূ • ʢεςʔδϯά༻ͷΞϓϦΛ࡞ͯ͠ʣ
STAGING / PRODUCTION • Dynamic inventory΄ͱΜͲͬͯͳ͍ • ͕গͳ͍ͷͰ… • Feature
flag • Քಇঢ়ଶΛSlackʹ௨ • Ansible/CapistranoͳͲͷ࣮ߦঢ়گ • ࢹͷΤϥʔ
·ͱΊ • શͯͷڥΛAnsibleͰߏங • खಈͰઃఆ͠ͳ͍ • pyenv+virtualenvେࣄ • ࣗಈςετॏཁ •
ChatͰঢ়گΛࣗಈڞ༗͢ΔͱָͰ͢