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
48
モニタリングダッシュボード に表示しておきたい情報 / NIFTY Tech Talk #21
niftycorp
PRO
1
80
PagerDutyを導入して変わったシステム運用とこれから / NIFTY Tech Talk #21
niftycorp
PRO
1
78
ゼロからボトムアップで始めるインナーソース ニフティのリアル事例 - InnerSource Gathering Tokyo 2024
niftycorp
PRO
2
160
FourKeysを導入したが生産性向上には至らなかった理由
niftycorp
PRO
6
5.1k
AWS Summit Japan 2024, AWS Game Day 振り返り - NIFTY Tech Talk #20
niftycorp
PRO
2
290
2つのスクラムチームの 調和的な協働・連携について - ニフティのスクラムトーク Vol. 3 / NIFTY Tech Talk #19
niftycorp
PRO
1
46
チーム力を高めるスクラム実践法:カンバン公開と課題攻略について - ニフティのスクラムトーク 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
ドメイン駆動設計を実践するために必要なもの
bikisuke
4
330
Jakarta EE meets AI
ivargrimstad
0
380
The Sequel to a Dream of Ruby Parser's Grammar
ydah
1
220
Rubyのobject_id
qnighy
6
1.3k
LangChainでWebサイトの内容取得やGitHubソースコード取得
shukob
0
160
GoのIteratorに詳しくなってしまう
inatonix
1
200
『ドメイン駆動設計をはじめよう』中核の業務領域
masuda220
PRO
5
990
XStateでReactに秩序を与えたい
gizm000
0
720
Go Code Generation at newmo / 2024-08-27 #newmo_layerx_go
genkey6
0
560
What you can do with Ruby on WebAssembly
kateinoigakukun
0
160
サーバーレスで負荷試験!Step Functions + Lambdaを使ったk6の分散実行
shuntakahashi
6
1.5k
connect-go で面倒くささと戦う / 2024-08-27 #newmo_layerx_go
izumin5210
2
640
Featured
See All Featured
Scaling GitHub
holman
458
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.3k
Happy Clients
brianwarren
96
6.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.6k
What's in a price? How to price your products and services
michaelherold
242
11k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
27
7.4k
Side Projects
sachag
451
42k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
Mobile First: as difficult as doing things right
swwweet
221
8.8k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
A Tale of Four Properties
chriscoyier
155
22k
Teambox: Starting and Learning
jrom
131
8.7k
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Λ׆༻ͨ͠ • ࣍ճ࡞Λߦ͍ɺڝٕܗࣜͰ։࠵͍ͨ͠