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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kaz Watanabe
February 28, 2017
Technology
920
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
48
Greenは本当にGreenか? - B/GデプロイとAPI自動テストで安心デプロイ
kaz29
1
200
CI/CD/IaC 久々に0から環境を作ったらこうなりました
kaz29
1
510
開発エンジニアが実践するDevSecOps
kaz29
0
180
PHPCon福岡2024-Azureもなかなかいいですよ.pdf
kaz29
2
400
Azure Container Apps + Bicep 〜 こんな感じで運用しています
kaz29
3
1.3k
20220908_フロントエンドパフォーマンス改善.pdf
kaz29
2
200
PHP製のPodCast配信用WebアプリをReact+Next.jsなSSGで作り直してみた話
kaz29
3
720
バックエンドエンジニアの私がお勧めする SPAフロントエンド開発環境
kaz29
6
6.3k
Other Decks in Technology
See All in Technology
Cognition AI Japan - ウェビナー2_テストQA_運用監視
cogakira
0
140
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
870
AI時代だからこそ推したい!Gitコマンド再入門
munakata
0
180
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
180
会社説明資料
persolserverworks
0
9.7k
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.2k
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
100
今こそ知りたいAmplifyGen2
mkdev10
2
160
契約書画像からの情報抽出に特化した視覚接地モデルを育てる話
sansantech
PRO
1
170
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
0
110
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
320
ゲームのリアルタイム通信から見た QUIC と MoQ
segadevtech
0
110
Featured
See All Featured
Building an army of robots
kneath
307
47k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
260
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
400
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
730
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
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Ͱঢ়گΛࣗಈڞ༗͢ΔͱָͰ͢