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
HCP Terraform で AWS マルチアカウントのリソースを管理する / AWS mu...
Search
m_norii (のりぃ)
July 08, 2024
Technology
0
500
HCP Terraform で AWS マルチアカウントのリソースを管理する / AWS multiple account IaC using HCP Terraform
JAWS-UG SRE支部 #9 初心者LT大会の登壇資料です。
https://jawsug-sre.connpass.com/event/321380/
m_norii (のりぃ)
July 08, 2024
Tweet
Share
More Decks by m_norii (のりぃ)
See All by m_norii (のりぃ)
DatadogでPHP・Laravelアプリケーションを監視する / monitoring-php-laravel-using-datadog
m_norii
1
320
巨大インフラ産業で戦うSRE / SRE working in the large infrastructure industry
m_norii
2
3k
DatadogでLaravelジョブワーカーの監視 / monitoring laravel job workers using datadog
m_norii
1
140
Other Decks in Technology
See All in Technology
Application Development WG Intro at AppDeveloperCon
salaboy
0
200
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
160
これまでの計測・開発・デプロイ方法全部見せます! / Findy ISUCON 2024-11-14
tohutohu
3
370
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
520
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
140
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.5k
The Rise of LLMOps
asei
8
1.7k
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
180
AGIについてChatGPTに聞いてみた
blueb
0
130
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
700
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.7k
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Facilitating Awesome Meetings
lara
50
6.1k
How GitHub (no longer) Works
holman
310
140k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Speed Design
sergeychernyshev
25
620
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
How STYLIGHT went responsive
nonsquared
95
5.2k
The Pragmatic Product Professional
lauravandoore
31
6.3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
A Tale of Four Properties
chriscoyier
156
23k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Transcript
݄ ݄ +"846(43&ࢧ෦ॳ৺ऀ-5େձ !N@OPSJJ )$15FSSBGPSNͰ "84ϚϧνΞΧϯτͷ ϦιʔεΛཧ͢Δ
ࣗݾհ w ྛਖ਼ل )BZBTIJ.BTBOPSJ w 9 5XJUUFS !N@OPSJJ w
Շͱ.S$IJMESFOͱຑΛѪ͢ΔΤϯδχΞ w גࣜձࣾΦʔϓϯϩδ43& w ݄ɾ43&/&95εϙϯαʔɺొஃˍϒʔε͋Γ·͢ w 43&ΤϯδχΞืूʂʲϦΞϧºςοΫʳٸதͷྲྀελʔτΞοϓ IUUQTIFSQDBSFFSTWPQFOMPHJ4"CO'3@RM
ຊ-5ͷલఏ w 5FSSBGPSNΛ4BB4ڥͰར༻Ͱ͖Δ)$15FSSBGPSNΛ͏ w "84ෳΞΧϯτͷϦιʔεΛཧ w ̍ͭͷϫʔΫϩʔυͷෳڥͷϦιʔεΛཧ͢Δ w ͋ΔαʔϏεͷEFWTUBHFQSPEVDUJPOڥͷϦιʔεΛཧ
͞ͳ͍͜ͱ w 5FSSBGPSNɺ)$15FSSBGPSNࣗମͷҰൠతͳར༻ํ๏ w )$15FSSBGPSNΛΘͳ͍߹ͷཧํ๏ w ެࣜελΠϧΨΠυʹهࡌ͞Ε͍ͯ·͕͢ɺ͜ͷ߹Ϟδϡʔϧߏɾڥ͝ͱʹσΟϨ ΫτϦͰΘ͚Δͷ͕ྑ͍ͦ͏Ͱ͢ IUUQTEFWFMPQFSIBTIJDPSQDPNUFSSBGPSNMBOHVBHFTUZMFNVMUJQMFFOWJSPONFOUT w
։ൃڥʹΑΓɺঢ়گʹࠩҟͷ͋ΔϦιʔεͷཧํ๏ w EFWڥͰ&$ΠϯελϯεɺQSPEVDUJPOෳɺͳͲ w ڥผʹҟͳΔมΛར༻͍ͨ͠߹ɺ࠷ޙʹগ͠৮Ε·͢
)$15FSSBGPSNͱ w )BTIJ$PSQ͕ࣾӡӦ͢Δ4BB4 w چশ5FSSBGPSN$MPVE ݄ʹมΘΓ·ͨ͠ *OUSPEVDJOH5IF*OGSBTUSVDUVSF$MPVE IUUQTXXXIBTIJDPSQDPNCMPHJOUSPEVDJOHUIFJOGSBTUSVDUVSFDMPVE w
Ϋϥυ্ͰUFSSBGPSNQMBO BQQMZͷ࣮ߦ͕Մೳ w ΞΧϯτ͋ͨΓϦιʔε·ͰແྉͰར༻Մೳ w ͦΕҎ߱Ϧιʔεɾ࣌ؒ͋ͨΓͰ՝ۚ IUUQTXXXIBTIJDPSQDPNQSPEVDUTUFSSBGPSNQSJDJOH
)$15FSSBGPSNͷը໘ 8PSLTQBDFҰཡ
)$15FSSBGPSNͷը໘ UFSSBGPSNQMBOBQQMZ࣮ߦཤྺ
)$15FSSBGPSNͷϝϦοτ w ݸਓͷڥʹґଘ͠ͳ͍ w 4UBUFϑΝΠϧཧΛ4BB4্ͰͰ͖Δ w 8FC্ʹ"QQMZͷཤྺ͕Δ w (JU)VCɺ7$4ͱ࿈ܞͰ͖Δ w
NBJOϒϥϯνʹϚʔδ͞ΕͨΒBQQMZ͢ΔɺͳͲ w 0*%$࿈ܞͰ͖ΔͷͰɺΞΫηεΩʔͷൃߦෆཁ w Πϕϯτ௨ػೳ w BQQMZ࣮ߦޙʹ4MBDL௨ɺͱ͍ͬͨ࿈ܞ͕Մೳ w "QQMZલʹঝೝϑϩʔΛڬΉ͜ͱՄೳ
)$15FSSBGPSNͰෳ"84ΞΧϯτͷϦιʔεΛཧ͢Δ w )$15FSSBGPSNΛར༻͢Δ߹ɺXPSLTQBDFػೳΛར༻͠ɺͭͷίʔυͰෳڥΛߏ ங͠·͢ɻ w ެࣜελΠϧΨΠυʹهࡌ͞Ε͍ͯΔํ๏ IUUQTEFWFMPQFSIBTIJDPSQDPNUFSSBGPSNMBOHVBHFTUZMFNVMUJQMFFOWJSPONFOUT w 8FSFDPNNFOEUIBUZPVSSFQPTJUPSZTNBJOCSBODICFUIFTPVSDFPGUSVUIGPSBMM FOWJSPONFOUT'PS)$15FSSBGPSNBOE5FSSBGPSN&OUFSQSJTFVTFST
XFSFDPNNFOE UIBUZPVVTFTFQBSBUFXPSLTQBDFTGPSFBDIFOWJSPONFOU
ߏஙྫ w "84ͷෳΞΧϯτʢEFWTUBHFQSPEVDUJPOʣʹɺ4/45PQJDΛ࡞͢Δ
ϑΝΠϧߏ w ϑΝΠϧ໊ɺ5FSSBGPSN4UZMF(VJEFʹ४ڌ IUUQTEFWFMPQFSIBTIJDPSQDPNUFSSBGPSNMBOHVBHF TUZMF
UFSSBGPSNUG w 5FSSBGPSNͷར༻όʔδϣϯɺ ඞཁϓϩόΠμͷར༻όʔδϣϯΛهड़
QSPWJEFSTUG w ϓϩόΠμݻ༗ͷઃఆ
CBDLFOEUG w UFSSBGPSNϒϩοΫԼʹDMPVEϒϩοΫΛهड़ w XPSLTQBDFTϒϩοΫʹɺQSPKFDUͱUBHTΛࢦఆ w UBHʹXPSLTQBDF໊ͷQSF fi YΛࢦఆ w
͜͜Ͱࢦఆͨ͠λάɺޙͰ)$15FSSBGPSNଆʹઃ ఆ͢Δ w ʲҙʳXPSLTQBDFϒϩοΫʹOBNFΛࢦఆ͢Δ ͜ͱͰ͖Δ͕ɺࠓճϫʔΫεϖʔε໊ʹڥछผΛ ೖΕΔͷͰɺOBNFࢦఆ͠ͳ͍ ʢ͜ͷϒϩοΫͰWBSJBCMFTʹΑΔࢀর͕Ͱ͖ͳ͍ʣ IUUQTEFWFMPQFSIBTIJDPSQDPNUFSSBGPSNDMJ DMPVETFUUJOHT
NBJOUG w ࡞͢ΔϦιʔεͷใΛهड़
)$15FSSBGPSNଆͷ४උ ϓϩδΣΫτɺϫʔΫεϖʔεΛ࡞ w UFSSBGPSNJOJU͢Δલʹɺ ͋Β͔͡ΊϓϩδΣΫτͱ ϫʔΫεϖʔεΛ࡞͓ͯ͘͠ w XPSLTQBDF໊ɺ ʲڞ௨QSF fi
Yʳʲڥ໊ʳ ͱ͢Δ
)$15FSSBGPSNଆͷ४උ ֤ϫʔΫεϖʔεʹλάΛ࡞ w CBDLFOEUGʹͯࢦఆͨ͠λά ʢXPSLTQBDFͷڞ௨1SF fi YʣΛ ֤ϫʔΫεϖʔεʹ͋Β͔͡Ί࡞ ͓ͯ͘͠ ʢઌʹ࡞͓͔ͯ͠ͳ͍ͱɺ
UFSSBGPSNJOJU࣌ʹࣦഊ͢Δʣ
"84ʹ*".ϩʔϧ࡞ w )$15FSSBGPSN͔Β "84ϦιʔεΛཧͰ͖ΔΑ͏ʹ )$15FSSBGPSNΛ৴པͨ͠ *".3PMFΛ֤"84ΞΧϯτʹ࡞
)$15FSSBGPSNͷઃఆ w "84ͱ࿈ܞ͢ΔͨΊ )$15FSSBGPSNʹมΛ̎ͭ ઃఆ w 5'$@"84@1307*%&3@"65) w USVFΛઃఆ w
5'$@"84@36/@30-&@"3/ w ઌ΄Ͳ"84ʹ࡞ͨ͠*". 3PMFͷ"3/Λઃఆ
UFSSBGPSNJOJU w ࣮ߦ͍ͨ͠ϫʔΫεϖʔε໊Λ5'@803,41"$&ڥมʹࢦఆ࣮ͯ͠ߦ w 5'@803,41"$&KBXTVHTSFEFWUFSSBGPSNJOJU
UFSSBGPSNQMBO BQQMZ w QMBO BQQMZ5'@803,41"$&Λࢦఆ࣮ͯ͠ߦ w 5'@803,41"$&KBXTVHTSFEFWUFSSBGPSNQMBO w 5'@803,41"$&KBXTVHTSFEFWUFSSBGPSNBQQMZ
ڥ͝ͱʹҟͳΔมΛར༻͢Δ߹ w WBSJBCMFTΛར༻͠·͢ ᶃ4/4τϐοΫ໊ඌʹڥ໊Λ͚͍ͭͨ߹ ᶄWBSJBCMFTUGΛఆ͓͖ٛͯ͠·͢ ᶅ)$15FSSBGPSN্ͷ7BSJBCMFTͰରԠ͢ΔΛఆٛ͠·͢
·ͱΊ w )$15FSSBGPSNͰ"84ෳΞΧϯτʢಉҰϫʔΫϩʔυͷڥผΞΧϯτʣͷϦιʔε Λཧ͢Δ߹ɺιʔείʔυ୯ҰͰ8PSLTQBDFػೳΛར༻͢Δ w ڥ͝ͱʹҟͳΔมͷೖʹ7BSJBCMFTͷػೳ͕͑Δ w )$15FSSBGPSNɺෳਓͰ4BB4ͷϦιʔεΛཧ͢Δ߹ʹศརͳػೳ͕ଟఏڙ͞Εͯ ͍ΔͷͰ͓͢͢Ί w
݄ʹެ։͞ΕͨެࣜͷελΠϧΨΠυʹɺࠓճͷؚ݅Ίɺ༷ʑͳϓϥΫς Οε͕·ͱ·͍ͬͯΔͷͰ͓͢͢Ί
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠