Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ansible実践 / ansible-my-use-case
Search
VTRyo
April 19, 2018
Technology
0
370
ansible実践 / ansible-my-use-case
2018/4/19 サポーターズ勉強会資料
github:
https://github.com/VTRyo/ansible-samples
blog:
https://tech.vtryo.me
VTRyo
April 19, 2018
Tweet
Share
More Decks by VTRyo
See All by VTRyo
あの職員室 / That teachers' lounge
vtryo
0
73
自分だけの、誰も想像できないキャリアの育て方 〜偶然から始めるキャリアプラン〜 / Career planning starting by luckly v2
vtryo
1
370
60以上のプロダクトを持つ組織における開発者体験向上への取り組み - チームAPIとBackstageで構築する組織の可視化基盤 - / sre next 2025 Efforts to Improve Developer Experience in an Organization with Over 60 Products
vtryo
3
2.7k
一体いつからSRE NEXTがSREだけのカンファレンスだと錯覚していた? / When did you ever get the idea that SRE NEXT was a conference just for SREs?
vtryo
1
680
一人から始めたSREチーム3年の歩み - 求められるスキルの変化とチームのあり方 - / The three-year journey of the SRE team, which started all by myself
vtryo
9
14k
2ヶ月かかるDBアップグレード検証を最大2週間に短縮した自作Go製CLIツール「Platinum」を紹介する / Introducing Go CLI tool "Platinum" for shortened DB upgrade validation
vtryo
3
1.8k
MySQLテーブル毎のデータサイズ集計をDatadog × Prometheus Exporter × Kubernetesを使って自動化する / Automate data size aggregation for each MySQL table using Datadog, Prometheus Exporter and Kubernetes
vtryo
0
430
自分だけの、誰も想像できないキャリアの育て方 ~懇親会で実践できる!偶然から始めるキャリアプラン~ / Career planning starting by luckly
vtryo
2
1.4k
なぜSREをはじめるのは難しいのか / Why is it hard to start SRE?
vtryo
1
690
Other Decks in Technology
See All in Technology
AI Agent Standards and Protocols: a Walkthrough of MCP, A2A, and more...
glaforge
0
250
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
Cloud WAN MCP Serverから考える新しいネットワーク運用 / 20251228 Masaki Okuda
shift_evolve
PRO
0
150
Java 25に至る道
skrb
3
220
困ったCSVファイルの話
mottyzzz
0
230
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
21k
旬のブリと旬の技術で楽しむ AI エージェント設計開発レシピ
chack411
1
250
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
1
910
自己管理型チームと個人のセルフマネジメント 〜モチベーション編〜
kakehashi
PRO
5
2.9k
Claude Codeを使った情報整理術
knishioka
20
12k
次世代AIコーディング:OpenAI Codex の最新動向 進行スライド/nikkei-tech-talk-40
nikkei_engineer_recruiting
0
140
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
61k
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
270
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
51
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
AI: The stuff that nobody shows you
jnunemaker
PRO
2
170
Mind Mapping
helmedeiros
PRO
0
48
GitHub's CSS Performance
jonrohan
1032
470k
The Limits of Empathy - UXLibs8
cassininazir
1
200
Technical Leadership for Architectural Decision Making
baasie
0
200
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
370
Paper Plane (Part 1)
katiecoart
PRO
0
3k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Transcript
A N S I B L E ࣮ ફ I
N F R A / S R E RY O
࣍ • ࣗݾհ • ͲΜͳαʔόΛཧ͍ͯ͠Δʁ • ࣮ࡍʹӡ༻͍ͯ͠ΔσΟϨΫτϦߏ • ࣄྫू
ɹɾvagrant + ansible ɹɾdocker + ansible ɹɾansible-vault ɹɾAWS + ansible
͓ Β ͤ • ͭͿ͍ͯ͘ΕΔͱ࣭ͱͯ͠रͬͨΓ͠·͢ • #spzcolab ΑΓٞ͘͢͠
͓ Β ͤ • https://github.com/VTRyo/ansible-samples ҎԼͷϦϙδτϦΛݩʹΛਐΊ·͢
ࣗ ݾ հ
ࣗ ݾ հ HUGOͰϒϩά
ࣗ ݾ հ ৽ଔͰSESʹೖͬͨ΅͘ ແࣄग़
ࣗ ݾ հ sp.17aʲήετ: 3s_hvʳ ָ͍͠ɺۀޮԽېࢭͷϒϥοΫSESاۀ͔Βͷग़ Sier4͚͔࣍ΒJob Change!!
Ͳ Μ ͳ α ʔ ό Λ ཧ ͯ͠
͍ Δʁ Ұ෦͓Έͤ͠·͢
Ͳ Μ ͳ α ʔ ό Λ ཧ ͯ͠
͍ Δʁ ࣗࣾϓϩμΫτΛྫʹ
࣮ ࡍ ʹ ӡ ༻ ͯ͠ ͍ Δ σΟ Ϩ
Ϋ τ Ϧ ߏ ͳΔ͘ϕετϓϥΫςΟεʹد͍ͤͯΔ ɾมϑΝΠϧͷgroup_vars ɾରαʔόΛهड़ͨ͠hosts ɾrolesʹϛυϧΣΞ܈
࣮ ࡍ ʹ ӡ ༻ ͯ͠ ͍ Δ σΟ Ϩ
Ϋ τ Ϧ ߏ HSPVQ@WBST ɾ֤ڥ͝ͱʹϑΝΠϧΛ ɹΘ͚ͯ͋Δɻ ɾhostsͷάϧʔϐϯάʹ ɹج͍ͮͯಡΈࠐ·ΕΔ
࣮ ࡍ ʹ ӡ ༻ ͯ͠ ͍ Δ σΟ Ϩ
Ϋ τ Ϧ ߏ )PTUT ɾhostsڥ͝ͱʹ ɾhostsάϧʔϐϯά
࣮ ࡍ ʹ ӡ ༻ ͯ͠ ͍ Δ σΟ Ϩ
Ϋ τ Ϧ ߏ 3PMFT ɾ֤ϛυϧΣΞΛ֨ೲ ɾαʔόʹΑͬͯҟͳΔ ɹόʔδϣϯ͋Δ
࣮ ࡍ ʹ ӡ ༻ ͯ͠ ͍ Δ σΟ Ϩ
Ϋ τ Ϧ ߏ αʔό͝ͱʹ࣮ߦ͍ͤͨ͞λεΫ͕ҧ͏ͱ͖ʁ ɾྫ͑CentOSͱamazonlinuxͱͰذ͍ͨ͠ͱ͖
ࣄ ྫ ू ͓͔ͪͶʁ
ࣄ ྫ ू 7BHSBOU BOTJCMF ɾChefͰߏ͞Εͯͯෆศ ɾ୭ϝϯςͰ͖ͳ͍ ɾςϯϓϨʔτίϐϖͷcookbook ʲ࠾༻ཧ༝ʳ
ࣄ ྫ ू %PDLFS BOTJCMFʢ˞ݱࡏݕূஈ֊ʣ ɾDockerfileΛॻ͖͢ͷ͕େม ɾvagrantͰ࡞ͨ͠playbookΛྲྀ༻Ͱ͖Δ ɾansible + packerͰdocker
imageΛݻΊΒΕΔ ʲ࠾༻ཧ༝ʳ
ࣄ ྫ ू BOTJCMFWBVMU ɾSaasʹίʔυΛPush͢ΔͨΊͷ҉߸Խ ɾansible-vault͏ͷ͕༰қ ʲ࠾༻ཧ༝ʳ
ࣄ ྫ ू "84 BOTJCMFʢΊ·ͨ͠ʣ ɾplaybook͕Խͨ͠ ɾAWSϞδϡʔϧ͕update࣌ʹසൟʹೖΕସΘΔ ɹˠॻ͖͕͠ൃੜ͢Δ ɾTerraformͰΑ͘Ͷʁ ʲ࠾༻͠ͳ͔ͬͨཧ༝ʳ
· ͱ Ί
· ͱ Ί BOTJCMF͍͍ͧ ɾͰແཧʹansibleΛ͏ඞཁͳ͍ ɾ͋͘·Ͱӡ༻্ͷޮͳͲΛߟྀ͍ͯͬͯ͘͠ ɾߏཧͱͯ͠ͷ͍উखҰ൪͍͍ͱߟ͑ͯΔ
A N S I B L E ࣮ ફ I
N F R A / S R E RY O