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でRDSを構築してみる
Search
Tomohiko Isobe
November 20, 2017
Technology
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
あえて、AnsibleでRDSを構築してみる
JAWS-UG CLI専門支部 #96 RDS入門でのLT
Tomohiko Isobe
November 20, 2017
More Decks by Tomohiko Isobe
See All by Tomohiko Isobe
今さらだけど、group_varsとhost_varsについて一言言いたい
isobetomohiko
2
1.7k
Ansible-Vaultはこう使え!
isobetomohiko
1
450
Ansibleで構成管理。〜たったひとつの冴えたやりかた〜
isobetomohiko
12
19k
Other Decks in Technology
See All in Technology
Classmethod Company Deck
satoshi7
1
810
AI駆動開発における開発環境のセキュリティの考え方
yamahiro
1
350
野良MCPサーバーを排除せよ!MCPサーバーのガバナンス
yukiogawa
1
150
Let's Change Our World—Again
snoozer05
PRO
5
330
FinOps Agentが生んだ技術負債:コスト自動調査の落とし穴と解消までの道のり
oasis1994liveforever
3
250
freeeにおける AI を用いた ブラウザ動作確認の自動化の取り組み
freee
PRO
0
130
DevelopersIO 2026 Tokyo 現時点の衛星通信サービスの現状を整理してみる
maroon1st
0
170
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
180
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
150
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
220
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
340
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
240
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
530
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
530
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
450
Making the Leap to Tech Lead
cromwellryan
135
10k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Transcript
͋͑ͯɺAnsibleͰ RDSΛߏஙͯ͠ΈΔ 2017.11.20 JAWS-UG CLIઐࢧ෦ #96 RDSೖ ү෦ஐ
Who am I ? • ү෦ஐ • Infrastructure EngineerˏΫϦχΧϧɾϓϥο τϑΥʔϜגࣜձࣾ(2017.10-)
• job hopperʢݱࡏ8ࣾʣ • Favorites:AWS, Ansible https://clipla.jp
What’s Ansible ?
What’s Ansible ? • ߏཧπʔϧ • ΤʔδΣϯτϨεʢରʹSSHͰ͖ΕOKʣ • YAMLܗࣜͰPlaybookΛهड़Ͱ͖Δ •
ႈੑ • ๛ͳϞδϡʔϧ͕༻ҙ͞Ε͍ͯΔ
AnsibleͷAWSؔ࿈Ϟδϡʔϧ http://docs.ansible.com/ansible/latest/list_of_cloud_modules.html
͍ͬͺ͍͋Δ
RDS
͑ͦ͏ʂ
ͬͯΈͨ ※࣮ࡍ͏গ͠ύϥϝʔλ͕ඞཁͰ͢
Ͱ͖ͨͬΆ͍
͋Εʁ
Α͘ݟΔͱ
ͪΐɺϚάωςΟοΫͬͯw
ެࣜυΩϡϝϯτΛ֬ೝ http://docs.ansible.com/ansible/latest/rds_module.html
ετϨʔδλΠϓʹؔ͢Δ Φϓγϣϯ͕ͳ͍ ※Ansible͕͍ͬͯΔboto͕ରԠ͍ͯ͠ͳ͍Α͏Ͱ͢ (boto3ͰରԠ)
Ͳ͏͢Δ͔
RDSΠϯελϯε࡞෦Λ AWS CLI Ͱ࣮͢ΕΑͦ͞͏
AnsibleʹҙͷίϚϯυΛ ࣮ߦͰ͖ΔϞδϡʔϧ͕͋Δ • shellϞδϡʔϧ http://docs.ansible.com/ansible/latest/shell_module.html
AnsibleʹҙͷίϚϯυΛ ࣮ߦͰ͖ΔϞδϡʔϧ͕͋Δ • ಉ༷ͷϞδϡʔϧʹɺcommandϞδϡʔϧ ͋Δ͕ɺڥมύΠϓɺϦμΠϨΫτͳͲ ͕͑ͳ͍
࣮ͯ͠Έͨ • Πϯελϯε࡞ BXTSETDSFBUFECJOTUBODF Λ࣮ߦ
shellϞδϡʔϧΛ༻͢Δࡍ ɺႈੑʹҙ • ඪ४ϞδϡʔϧΛ༻͢Δ߹ɺAnsible͕ ႈੑΛ୲อͯ͘͠ΕΔ͕ɺshellcommand Ϟδϡʔϧৗʹ࣮ߦ͞Εͯ͠·͏ • RDS࡞ͷ߹ɺಉ໊ͷΠϯελϯε͕͢Ͱ ʹଘࡏ͢ΔͱΤϥʔʹͳΔ
࣮ͯ͠Έͨ • Πϯελϯεଘࡏ֬ೝ BXTSETEFTDSJCFECJOTUBODFT Λ࣮ߦ ্هͰऔಘͨ͠ҰཡΛอ࣋
࣮ͯ͠Έͨ • Πϯελϯε࡞ ಉ໊Πϯελϯε͕ͳ͚Ε࣮ߦ
࣮ͯ͠Έͨ • ύϥϝʔλఆٛ
࣮ߦʂ
Ͱ͖ͨʂ
·ͱΊ
·ͱΊ • ීஈAnsibleΛར༻͍ͯ͠ΔͷͳΒɺAnsible ͔ΒAWS CLIΛ࣮ߦ͢Δ͜ͱͰศརʹͳΔ͜ ͱ • ႈੑΤϥʔͷରॲΛ͓Εͳ͘
·ͱΊ • ଞʹAnsible X AWSͰ৭ʑͬͯ·͢ • https://qiita.com/isobecky74
Thank you !