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
340
ニフティ社内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 ニフティ株式会社
AWS AppSyncを用いた GraphQL APIの開発について - NIFTY Tech Talk #22
niftycorp
PRO
0
78
「天気予報があなたに届けられるまで」 - NIFTY Tech Talk #22
niftycorp
PRO
0
87
@nifty天気予報:フルリニューアルの挑戦 - NIFTY Tech Talk #22
niftycorp
PRO
0
84
@nifty天気予報のフロントエンドを 実装するまで - NIFTY Tech Talk #22
niftycorp
PRO
0
84
Application Signalsで始めるSLO ユーザー満足度を数値化する第一歩
niftycorp
PRO
2
230
FourKeysを導入したが生産性向上には至らなかった理由
niftycorp
PRO
1
67
モニタリングダッシュボード に表示しておきたい情報 / NIFTY Tech Talk #21
niftycorp
PRO
1
100
PagerDutyを導入して変わったシステム運用とこれから / NIFTY Tech Talk #21
niftycorp
PRO
1
110
ゼロからボトムアップで始めるインナーソース ニフティのリアル事例 - InnerSource Gathering Tokyo 2024
niftycorp
PRO
2
250
Other Decks in Programming
See All in Programming
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
距離関数を極める! / SESSIONS 2024
gam0022
0
280
Jakarta EE meets AI
ivargrimstad
0
590
Micro Frontends Unmasked Opportunities, Challenges, Alternatives
manfredsteyer
PRO
0
100
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
140
受け取る人から提供する人になるということ
little_rubyist
0
240
Tauriでネイティブアプリを作りたい
tsucchinoko
0
370
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
色々なIaCツールを実際に触って比較してみる
iriikeita
0
330
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.4k
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Designing Experiences People Love
moore
138
23k
Writing Fast Ruby
sferik
627
61k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Embracing the Ebb and Flow
colly
84
4.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
The Cult of Friendly URLs
andyhume
78
6k
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Λ׆༻ͨ͠ • ࣍ճ࡞Λߦ͍ɺڝٕܗࣜͰ։࠵͍ͨ͠