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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
VTRyo
April 19, 2018
Technology
0
380
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
86
自分だけの、誰も想像できないキャリアの育て方 〜偶然から始めるキャリアプラン〜 / Career planning starting by luckly v2
vtryo
1
390
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
700
一人から始めた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.9k
MySQLテーブル毎のデータサイズ集計をDatadog × Prometheus Exporter × Kubernetesを使って自動化する / Automate data size aggregation for each MySQL table using Datadog, Prometheus Exporter and Kubernetes
vtryo
0
440
自分だけの、誰も想像できないキャリアの育て方 ~懇親会で実践できる!偶然から始めるキャリアプラン~ / Career planning starting by luckly
vtryo
2
1.4k
なぜSREをはじめるのは難しいのか / Why is it hard to start SRE?
vtryo
1
700
Other Decks in Technology
See All in Technology
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
140
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
120
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.5k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
220
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
140
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
110
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
0
140
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
200
Context Engineeringの取り組み
nutslove
0
350
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
780
Design in an AI World
tapps
0
140
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
GraphQLとの向き合い方2022年版
quramy
50
14k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.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