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
ニフティ社内ISUCON開催への道のり - NIFTY Tech Day 2023
Search
ニフティ株式会社
PRO
November 27, 2023
Video
Resources
Programming
0
310
ニフティ社内ISUCON開催への道のり - NIFTY Tech Day 2023
ニフティ株式会社
PRO
November 27, 2023
Tweet
Share
Video
Resources
NIFTY Tech Day 2023
https://techday.nifty.co.jp/2023/
More Decks by ニフティ株式会社
See All by ニフティ株式会社
FourKeysを導入したが生産性向上には至らなかった理由
niftycorp
PRO
1
20
モニタリングダッシュボード に表示しておきたい情報 / NIFTY Tech Talk #21
niftycorp
PRO
1
57
PagerDutyを導入して変わったシステム運用とこれから / NIFTY Tech Talk #21
niftycorp
PRO
1
57
ゼロからボトムアップで始めるインナーソース ニフティのリアル事例 - InnerSource Gathering Tokyo 2024
niftycorp
PRO
2
130
FourKeysを導入したが生産性向上には至らなかった理由
niftycorp
PRO
5
5k
AWS Summit Japan 2024, AWS Game Day 振り返り - NIFTY Tech Talk #20
niftycorp
PRO
2
260
2つのスクラムチームの 調和的な協働・連携について - ニフティのスクラムトーク Vol. 3 / NIFTY Tech Talk #19
niftycorp
PRO
1
44
チーム力を高めるスクラム実践法:カンバン公開と課題攻略について - ニフティのスクラムトーク Vol. 2 - NIFTY Tech Talk #18
niftycorp
PRO
1
230
スクラムチームと認知負荷 - ニフティのスクラムトーク Vol2. / NIFTY Tech Talk #18
niftycorp
PRO
1
210
Other Decks in Programming
See All in Programming
iOSDC 2024 SMBファイル共有をSwiftで実装する
kishikawakatsumi
1
110
めざせ!WKWebViewマスター! / WKWebView Master
marcy731
3
480
Swiftで高速フーリエ変換してオーディオビジュアライザーを作る / iOSDC Japan 2024 Day1 Track D
kyome22
2
460
フロントエンドのテストからアクセシビリティをしれっと広めていく
nano72mkn
3
700
メモリ最適化を究める!iOSアプリ開発における5つの重要なポイント
yhirakawa333
0
370
ECMAScript仕様を読むのに必要な知識 - ダイジェスト版
syumai
4
2.5k
Mastering AsyncSequence - 使う・作る・他のデザインパターン(クロージャ、Delegate など)から移行する
treastrain
3
1.3k
iOSDC 2024
auramagi
3
590
From Spring Boot 2 to Spring Boot 3 with Java 22 and Jakarta EE
ivargrimstad
0
940
長期運用プロダクトの開発速度を維持し続けるためのリファクタリング実践例
wataruss
8
2.5k
実践 Advanced CallKit 〜快適な通話の実現に向けて〜
mot_techtalk
3
110
REXML改善のその後
naitoh
0
150
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.4k
Art, The Web, and Tiny UX
lynnandtonic
294
20k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
122
18k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
27
1.6k
Navigating Team Friction
lara
183
13k
Writing Fast Ruby
sferik
623
60k
Raft: Consensus for Rubyists
vanstee
135
6.5k
Six Lessons from altMBA
skipperchong
26
3.3k
Building Adaptive Systems
keathley
36
2.1k
Fireside Chat
paigeccino
31
2.9k
Code Review Best Practice
trishagee
62
16k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
58k
Transcript
Copyright ©NIFTY Corporation All Rights Reserved. χϑςΟࣾISUCON ։࠵·ͰͷಓͷΓ ձһγεςϜάϧʔϓɹୈೋ։ൃνʔϜ ্ݪ
ر
Copyright © NIFTY Corporation All Rights Reserved. ࣗݾհ 2 χϑςΟגࣜձࣾ
ձһγεςϜάϧʔϓ ୈೋ։ൃνʔϜ ্ݪ ر χϑςΟχϡʔεͷ։ൃɾӡ༻ @Penpen7 (GitHub)
Copyright ©NIFTY Corporation All Rights Reserved. ISUCONͱʁ
Copyright © NIFTY Corporation All Rights Reserved. ISUCONͱʁ 4 •
ݶΒΕͨϦιʔεɾ࣌ؒͷதͰWebαʔϏεΛͲΕ͚ͩߴԽͰ͖͔ͨΛ νʔϜؒͰڝ͍߹͏ίϯςετ • ࢀՃऀಈ࡞͕͍WebΞϓϦέʔγϣϯ͕༩͑ΒΕɺઃఆΛ࠷దԽͨ͠ ΓɺίʔυΛվળͨ͠Γͯ͠ߴԽ͢Δ • ύϑΥʔϚϯενϡʔχϯάεΩϧΛʹ͚ͭΔ͜ͱ͕Ͱ͖Δ • LINEϠϑʔגࣜձ͕ࣾओ࠵͓ͯ͠Γɺ༏উ͢Ε100ສԁ֫ಘͰ͖Δ • ʮISUCONʯɺLINEϠϑʔגࣜձࣾͷඪ·ͨొඪͰ͢ɻ
Copyright © NIFTY Corporation All Rights Reserved. ISUCONͰԿΛΔͷ͔ʁ 5 •
8࣌ؒͰ෦࣮Λมߋ͠ಈ࡞Λߴʹ͍ͯ͘͠ ◦ ͨͩ͠ɺwebΞϓϦέʔγϣϯͷϖʔδͷݟͨม͑ͳ͍ • σʔλϕʔε ◦ ΠϯσοΫεΛΔ ◦ ෆཁͳσʔλΛݮΒ͢ • ΞϓϦέʔγϣϯ ◦ Ωϟογϡ͢Δ ◦ ΫΤϦνϡʔχϯά(N+1ͷղফͳͲ) • શମ ◦ ϩά͔ΒϘτϧωοΫͷղੳ ◦ CI/CDڥͷඋ
Copyright © NIFTY Corporation All Rights Reserved. ੈͷதͰࣾISUCON͕։࠵͞Ε͍ͯΔ 6 NTTίϛϡχέʔγϣϯζגࣜձࣾ
※ https://developer.ntt.com/ja/blog/31e9fb86-7309-4145-a72b-0ea5f17e3f5a ※ https://bit-labs.nri.co.jp/report_007.html גࣜձࣾଜ૯߹ݚڀॴ
Copyright ©NIFTY Corporation All Rights Reserved. χϑςΟͷࣾISUCON
Copyright © NIFTY Corporation All Rights Reserved. χϑςΟͷࣾISUCON 8 •
ΤϯδχΞҭΛతͱͯ͠20238݄ʹॳ։࠵ • ࠲ֶͱϋϯζΦϯΛΈ߹ΘͤͨϫʔΫγϣοϓܗࣜͰ։࠵ ◦ ύϑΥʔϚϯενϡʔχϯάͷεΩϧࠩISUCONະܦݧऀ͕ଟ͍͜ ͱΛՃຯ͠ɺڝٕܗࣜஅ೦ • ଟ͘ͷΤϯδχΞʹࢀՃͯ͠Β͏ͨΊʹΦϓτΞτܗࣜͱͨ͠ ◦ શһࢀՃલఏͰܽ੮ऀͷΈ࿈བྷͯ͠Β͏ • ݁Ռɺ94໊ͷଟ͘ͷΤϯδχΞ͕ࢀՃ
Copyright © NIFTY Corporation All Rights Reserved. λΠϜεέδϡʔϧ 9 ࠲ֶ
(1࣌ؒ) ߴͳwebαʔϏεͷҙٛ νϡʔχϯάͷجૅ ϞχλϦϯάͷجૅ ϋϯζΦϯ (3࣌ؒ) ͓ൃද(private-isu)ɾॾҙ ϫʔΫϩʔυͷੳɾϘτϧωοΫͷൃݟ σʔλϕʔενϡʔχϯά webαʔόͷνϡʔχϯά
Copyright © NIFTY Corporation All Rights Reserved. λΠϜεέδϡʔϧ 10 ࠲ֶ
(1࣌ؒ) ߴͳwebαʔϏεͷҙٛ νϡʔχϯάͷجૅ ϞχλϦϯάͷجૅ ϋϯζΦϯ (3࣌ؒ) ͓ൃද(private-isu)ɾॾҙ ϫʔΫϩʔυͷੳɾϘτϧωοΫͷൃݟ σʔλϕʔενϡʔχϯά webαʔόͷνϡʔχϯά
Copyright © NIFTY Corporation All Rights Reserved. վળରͷwebΞϓϦέʔγϣϯ 11 •
pixivגࣜձࣾͷࣾISUCONͰ༻͞Εͨ private-isuΛ༻ ◦ GitHub - catatsuy/private-isu: ࣾISUCON • ൺֱతқ͕͘ॳ৺ऀ͚ • isucogramͱ͍͏Ծͷࣸਅڞ༗SNSͰɺࣸਅ ߘػೳίϝϯτػೳ͕͋Δ
Copyright © NIFTY Corporation All Rights Reserved. ϋϯζΦϯͰ͏αʔόʔ 12 •
αʔόʔ2ͣͭࢀՃऀશһʹఏڙ͠νϡʔχϯάͯ͠Β͏ ◦ ΞϓϦέʔγϣϯαʔόʔ1(νϡʔχϯάର) ◦ ϕϯνϚʔΫαʔόʔ1 • ࢀՃऀ͕αʔόʔʹϩάΠϯͰ͖Ε͙͢ʹύϑΥʔϚϯενϡʔχϯά Λָ͠ΊΔঢ়ଶʹͨ͠ ◦ αʔόʔઃఆɺπʔϧಋೖɺαʔόʔ্ཱͪ͛ͳͲඞཁͳ४උӡӦଆ Ͱ࣮ࢪ ◦ ssh͕͏·͘Ͱ͖ͳ͍͜ͱݟӽͯ͠ɺAWSͷηογϣϯϚωʔδϟʔ ܦ༝ͰαʔόʔʹϩάΠϯͰ͖ΔΑ͏ʹͨ͠
Copyright © NIFTY Corporation All Rights Reserved. ϋϯζΦϯͷྲྀΕ 13
Copyright © NIFTY Corporation All Rights Reserved. ϋϯζΦϯͷ࣮ࡍͷ༷ࢠ 14
Copyright © NIFTY Corporation All Rights Reserved. ࢀՃऀ͔Βͷײ 15 •
۩ମతͳͱͯ͠είΞվળ͕ݟΒΕΔͷ໘ന͔ͬͨɻ • ͜ͷ࣌ؒͰɺڧ੍Ͱͳ͘͜Ε΄ͲͷࢀՃऀΛूΊΒΕΔ͜ͱʹײಈ͠ ·ͨ͠ɻࣗΤϯδχΞͱͯ͠ͷࣝʹૄ͍΄͏ͳͷͰ͕͢ɺઆ໌ஸ ೡͰͱָͯ͘͠ɺΘ͔Γ͔ͬͨ͢Ͱ͢ɻ • ීஈ৮Βͳ͍ٕज़ͷษڧ͕Ͱ͖·ͨ͠ɻ୲γεςϜͷDBͷεϩʔΫΤϦ ΛݟͯΈΑ͏ͱࢥ͍·ͨ͠ɻ • ४උ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂΊͪΌΊͪΌָ͔ͬͨ͠Ͱ͢ɻ
Copyright © NIFTY Corporation All Rights Reserved. ࢀՃऀ͔Βͷײ 16 •
۩ମతͳͱͯ͠είΞվળ͕ݟΒΕΔͷ໘ന͔ͬͨɻ • ͜ͷ࣌ؒͰɺڧ੍Ͱͳ͘͜Ε΄ͲͷࢀՃऀΛूΊΒΕΔ͜ͱʹײಈ͠ ·ͨ͠ɻࣗΤϯδχΞͱͯ͠ͷࣝʹૄ͍΄͏ͳͷͰ͕͢ɺઆ໌ஸ ೡͰͱָͯ͘͠ɺΘ͔Γ͔ͬͨ͢Ͱ͢ɻ • ීஈ৮Βͳ͍ٕज़ͷษڧ͕Ͱ͖·ͨ͠ɻ୲γεςϜͷDBͷεϩʔΫΤϦ ΛݟͯΈΑ͏ͱࢥ͍·ͨ͠ɻ • ४උ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂΊͪΌΊͪΌָ͔ͬͨ͠Ͱ͢ɻ 👍 ҙతͳײ͕ଟ͔ͬͨ
Copyright ©NIFTY Corporation All Rights Reserved. ࣾISUCONͷཪଆ(ӡӦ)
Copyright © NIFTY Corporation All Rights Reserved. ӡӦνʔϜ 18 ্ݪ
ر খদ ༐و ۽୩ ྑ ٶຊ ୡ ্ ྙਓ ࢿྉ࡞ ղઆ(࠲ֶ) εέδϡʔϧཧ Πϯϑϥઃܭɾߏங ཱҊ ࢿྉ࡞ ղઆ(ϋϯζΦϯ) ࢿྉ࡞ ղઆ(࠲ֶ) ࣄલͷίετ༧ଌ ࢿྉ࡞ ղઆ(ϋϯζΦϯ) ϋϯζΦϯࡐܾΊ
Copyright © NIFTY Corporation All Rights Reserved. ४උεέδϡʔϧ 19 ✊
ΩοΫΦϑ 🤔 ΞΠσΟΞͩ͠ 🖋 ࢿྉࣥච 🧰 Πϯϑϥݕ౼ɾઃܭɾ࣮ 2023/04 05 06 07 08 👀 ࢿྉϨϏϡʔ ✅ ಈ࡞νΣοΫ 🎉 ։࠵
Copyright © NIFTY Corporation All Rights Reserved. αʔόʔୡʹඞཁͳཁ݅ 20 •
200ͷEC2ΠϯελϯεΛىಈ͢Δඞཁ͕͋Δ ◦ 100ਓͷࢀՃऀʹͦΕͧΕ2 • ඞཁͳઃఆΛ͋Β͔͡Ίαʔόʹద༻͢Δඞཁ͕͋Δ ◦ ϩάղੳʹඞཁͳίϚϯυͷΠϯετʔϧ ◦ ࣾͷ౿Έαʔόʔͱͷૄ௨ઃఆ ◦ Python࣮ͷมߋ
Copyright © NIFTY Corporation All Rights Reserved. αʔόʔͷߏஙํ๏Λߟ͑Δ 21 ํ๏I
ํ๏II ํ๏III AMIԽͷํ๏ - ඞཁͳઃఆΛϢʔβʔσʔλʹࢦ ఆ͠αʔόΛىಈɺAMIԽ͢Δ EC2 Image BuilderΛͬͯࣗಈ తʹAMIΛ࡞͢Δ αʔόʔىಈํ๏ TerraformͰ200αʔ όʔΛىಈͯ͠1ͣͭઃఆ ΛਓͷखͰೖΕ͍ͯ͘ ࡞ͨ͠AMI͔ΒTerraformΛ ͬͯ200αʔόΛىಈ͢Δ ࡞ͨ͠AMI͔ΒTerraformΛ ͬͯ200αʔόΛىಈ͢Δ ϝϦοτ ɾͳ͠ (ਓͷԹ͔ΈΛײ͡ΒΕΔ) ɾઃఆΛೖΕΔͨΊʹαʔόʔʹ ϩάΠϯ͢Δඞཁ͕ͳ͍ ɾAMIͷ࡞·ͰࣗಈԽͰ͖Δͷ Ͱָ σϝϦοτ ɾ͕͔͔࣌ؒΔ ɾർΕΔ ɾϛε͕ى͖ͯؾ͚ͮͳ ͍ ɾαʔόʔͷAMIԽखಈͰߦ͏ ඞཁ͕͋Δ ɾϢʔβʔσʔλͰΤϥʔ͕ى͖ ͯؾ͚ͮͳ͍ ɾEC2 Image Builderͷ͍ํΛ Δඞཁ͕͋Δ ɾYAMLͷهड़ʹ׳ΕΔඞཁ͕͋ Δ ɾAMI͕͢Δ·Ͱʹ͕͔࣌ؒ ͔Δ
Copyright © NIFTY Corporation All Rights Reserved. ࣗಈͰAMIΛ࡞͢ΔαʔϏε 22
Copyright © NIFTY Corporation All Rights Reserved. ࣗಈͰAMIΛ࡞͢ΔαʔϏε 23 👍
͓ئ͍ͨ͠Β উखʹAMIΛ࡞ͬͯ͘ΕΔ
Copyright © NIFTY Corporation All Rights Reserved. Πϯϑϥߏ 24
Copyright © NIFTY Corporation All Rights Reserved. EC2 Image Builderͱʁ
25 • AWS͕ఏڙ͢ΔΠϝʔδ࡞ɾςετɾαʔϏε ◦ EC2Πϯελϯε͚ͷOSΠϝʔδ(AMI) • ݩͱͳΔAMIʹඞཁͳઃఆɾιϑτΣΞΛՃ͑ͯࣗಈతʹAMIԽ ͯ͘͠ΕΔ • ͦͷଞɺςετσϓϩΠࣗಈతʹߦͬͯ͘ΕΔ • Ճඅ༻ͳ͠Ͱ༻Ͱ͖Δ ◦ ੜͰ͋ΔAMIͳͲͷඅ༻ผ్͔͔Δ
Copyright © NIFTY Corporation All Rights Reserved. EC2 Image Builderͱʁ
26 τϦΨʔ Ϗϧυ ςετ ύΠϓϥΠϯ ιʔεAMI (ࡐྉ) ΧελϜAMI ()
Copyright © NIFTY Corporation All Rights Reserved. ɹ τϦΨʔઃఆ 27
• ࣮ߦܖػΛͲ͏͢Δ͔ઃఆ • खಈ࣮ߦ ◦ ίϯιʔϧ্͔ΒϘλϯΛԡԼ ◦ AWS CLI͔ΒίϚϯυ࣮ߦ • εέδϡʔϧ࣮ߦ ◦ cronࣜͰ࣮ߦ͍ͨ͠λΠϛϯάΛهड़ τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. Ϗϧυ 28 •
ιʔεͱͳΔAMIΛͱʹɺඞཁͳιϑτΣΞɺઃఆΛՃ ͑ɺΧελϜAMIΛ࡞͢Δఔ τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. Ϗϧυઃఆ 29 ΠϯϑϥετϥΫνϟઃఆ
AMIΛ࡞͢ΔͨΊʹىಈ͢ΔEC2Πϯελϯε ͷઃఆ Ϩγϐ ιʔεAMI ݩʹͳΔAMIΛࢦఆ Ϗϧυίϯϙʔωϯτ YAMLܗࣜͰ࣮ߦ͍ͨ͠ίϚϯυΛهड़ τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. Ϗϧυίϯϙʔωϯτ 30 •
࣮ߦ͍ͨ͠ίϚϯυΛYAMLͰهड़͢Δ τϦΨʔ Ϗϧυ ςετ name: install_sl # コンポーネント名(スペースは入れられないので_をいれる) description: install sl schemaVersion: 1.0 phases: - name: build # buildを指定 steps: - name: install_sl # スペースは入れられない action: ExecuteBash # bashで実行 inputs: commands: - sudo apt update - sudo apt install sl # slコマンドをインストール
Copyright © NIFTY Corporation All Rights Reserved. ΠϯϑϥετϥΫνϟઃఆ 31 •
Ϗϧυ࣌ʹىಈ͢ΔEC2Πϯελϯεͷઃఆ τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. Ϩγϐ 32 τϦΨʔ
Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. ΠϯϑϥετϥΫνϟઃఆͰࠔͬͨϙΠϯτ 33 •
AMI࡞ͷͨΊʹىಈ͢ΔEC2Πϯελϯεͷઃఆʹҙ͕ඞཁ ◦ ॲཧ͕ਐ·ͣɺλΠϜΞτͯ͠ऴΘΔͷͰͱͯࠔΔ • SSM Agent͕AWSͷ֤छαʔϏεͱૄ௨Ͱ͖Δඞཁ͕͋Δ ◦ ύϒϦοΫαϒωοτʹஔ͘߹ ▪ αϒωοτʹࣗಈύϒϦοΫIPΛ༩͢ΔΑ͏ઃఆ ◦ ϓϥΠϕʔταϒωοτʹஔ͘߹ ▪ VPCΤϯυϙΠϯτͷઃஔ • imagebuilder, ssm, ssmmessages, ec2messages ▪ NAT GatewayͷઃஔɺϧʔςΟϯάઃఆ ◦ ผ్ηΩϡϦςΟάϧʔϓͷઃఆඞཁ
Copyright © NIFTY Corporation All Rights Reserved. ςετ 34 •
ϏϧυఔͰ࡞ͨ͠ΧελϜAMIΛςετ͢Δఔ • ΧελϜAMI͔ΒΠϯελϯεΛىಈ͠ɺίϚϯυΛ࣮ߦ͢Δ τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. Copyright © NIFTY
Corporation All Rights Reserved. ςετઃఆ Copyright © NIFTY Corporation All Rights Reserved. 35 ΠϯϑϥετϥΫνϟઃఆ AMIΛςετ͢ΔͨΊʹىಈ͢ΔEC2Πϯελϯεͷઃఆ (Ϗϧυͱڞ௨) Ϩγϐ (Ϗϧυͱڞ௨) ςετίϯϙʔωϯτ YAMLܗࣜͰ࣮ߦ͍ͨ͠ίϚϯυΛهड़ 35 τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. Copyright © NIFTY
Corporation All Rights Reserved. ςετίϯϙʔωϯτ Copyright © NIFTY Corporation All Rights Reserved. 36 • ςετ͍ͨ͠ίϚϯυΛهड़͢Δ 36 τϦΨʔ Ϗϧυ ςετ name: install_sl # 半角スペースの代わりに_を入れる description: install sl schemaVersion: 1.0 - name: test # testを入れるとテストしてくれる steps: - name: run_sl # 半角スペースの代わりに_を入れる action: ExecuteBash # bashで実行 inputs: commands: - which sl # slコマンドの存在を確認
Copyright © NIFTY Corporation All Rights Reserved. Copyright © NIFTY
Corporation All Rights Reserved. Copyright © NIFTY Corporation All Rights Reserved. 37 • ϏϧυఔͰ࡞ͨ͠ΧελϜAMIΛ ࢦఆͨ͠ΞΧϯτɾϦʔδϣϯʹஔ͢Δఔ 37 τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. Copyright © NIFTY
Corporation All Rights Reserved. Copyright © NIFTY Corporation All Rights Reserved. ઃఆ Copyright © NIFTY Corporation All Rights Reserved. 38 • ग़ྗ͢ΔΧελϜAMIͷ໊শɾઌ(ϦʔδϣϯɾΞΧϯτ)Λ ࢦఆ͢Δ Copyright © NIFTY Corporation All Rights Reserved. 38 38 τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. Copyright © NIFTY
Corporation All Rights Reserved. ύΠϓϥΠϯΛ࣮ߦͯ͠ΈΔ Copyright © NIFTY Corporation All Rights Reserved. 39 • ύΠϓϥΠϯΛ࣮ߦ͢ΔΛΫϦοΫ͠ɺ։࢝͢Δ 39 τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. ύΠϓϥΠϯΛ࣮ߦͯ͠ΈΔ 40 •
Πϝʔδͷεςʔλε͕࡞தʹมΘΔ τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. ύΠϓϥΠϯΛ࣮ߦͯ͠ΈΔ 41 •
ॱ൪ʹεςοϓ͕ਐΜͰ͍͘ τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. ύΠϓϥΠϯΛ࣮ߦͯ͠ΈΔ 42 •
ϏϧυதEC2Πϯελϯε͕ىಈ͠ɺίϚϯυ͕࣮ߦ͞ΕΔ τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. ύΠϓϥΠϯΛ࣮ߦͯ͠ΈΔ 43 •
ྃ͢Δͱɺࢦఆͨ͠ΞΧϯτɾϦʔδϣϯʹAMI͕࡞͞ΕΔ τϦΨʔ Ϗϧυ ςετ
Copyright © NIFTY Corporation All Rights Reserved. AMI͔ΒEC2ΠϯελϯεΛىಈͯ͠ΈΔ 44 •
slίϚϯυͰػؔं͕Γग़͢ʂ
Copyright © NIFTY Corporation All Rights Reserved. EC2 Image Builderͷશମ૾
45 τϦΨʔ Ϗϧυ ςετ ύΠϓϥΠϯ ιʔεAMI (ࡐྉ) ΧελϜAMI ()
Copyright © NIFTY Corporation All Rights Reserved. EC2 Image Builderͷྑ͍ͱ͜Ζ
46 • AMIͷ࡞ΛࣗಈͰͬͯ͘ΕΔ ◦ ϘλϯΛԡ͚ͩ͢Ͱશ෦ͬͯ͘ΕΔ ◦ ԿΛͯ͠΄͍͔͠ͷઃఆඞཁ • AMIͷςετࣗಈͰͬͯ͘ΕΔ ◦ ຊʹίϚϯυ࣮ߦͰ͖ΔΜͩΖ͏͔ʁΓͳ͍ઃఆͳ͍ΜͩΖ͏ ͔ʁͱ͍͏ෆ͕҆ͳ͘ͳͬͨ • AWS Black Belt Online Seminarͷࢿྉ͕ஸೡ ◦ ࠔͬͨ͜ͱ͕͋ΕݟͯΈΑ͏ • TerraformͰཧՄೳ ◦ ίʔυͰશͯͷઃఆΛཧͰ͖Δ
Copyright © NIFTY Corporation All Rights Reserved. ͷӡӦͷରԠ 47 •
ेʹݕূΛߦͳ͍ͬͯͨͨΊɺΠϕϯτͷਐߦ͕ࢭ·ΔΑ͏ͳେ͖ͳ ͕ى͖Δ͜ͱͳ͔ͬͨ ◦ TerraformEC2 Image BuilderΛͬͯAMIΛ࡞͍ͯͨͨ͠Ίɺ ͏·͘ಈ͘ঢ়ଶΛ؆୯ʹ࠶ݱͰ͖ͨɻ • લͷࢀՃऀՃʹରԠ ◦ TerraformͷcountΛͬͯΠϯελϯεΛෳ࡞ΔΑ͏ʹ͍ͯͨ͠ͷ ͰɺࣈΛ૿͚ͩ͢Ͱ͙͢ʹରԠͰ͖ͨ • ϩʔΧϧPCͷڥཁҼͰsshͰ͖ͳ͍ࢀՃऀ͕ਓ͍ͨ ◦ AWSͷίϯιʔϧ͔ΒηογϣϯϚωʔδϟܦ༝ͰϩάΠϯ͢ΔΑ͏
Copyright ©NIFTY Corporation All Rights Reserved. ·ͱΊ
Copyright © NIFTY Corporation All Rights Reserved. ·ͱΊ 49 •
ISUCONݶΒΕͨϦιʔεɾ࣌ؒͷதͰwebαʔϏεΛͲΕ͚ͩߴԽ Ͱ͖͔ͨΛνʔϜؒͰڝ͍߹͏ίϯςετ ◦ ύϑΥʔϚϯενϡʔχϯάͱԿֶ͔Ϳ͜ͱ͕Ͱ͖Δ • 20238݄ʹχϑςΟͷࣾISUCONΛॳΊͯ։࠵ ◦ ڝٕܗࣜͰͳ͘࠲ֶ+ϋϯζΦϯܗࣜʹΞϨϯδ ◦ ࢀՃऀ͔Βʮ͕ࣝਂ·ͬͨʯͳͲͷҙతͳҙݟΛ͍ͨ • ӡӦ໘Ͱେ͖ͳ͕ى͜Δ͜ͱͳ͘ແࣄऴྃͰ͖ͨ ◦ TerraformEC2 Image BuilderΛ׆༻ͨ͠ • ࣍ճ࡞Λߦ͍ɺڝٕܗࣜͰ։࠵͍ͨ͠