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
【JAWS-UG大阪&JAWS-UG関西女子会合同企画「AWSのおJAWSな使い方」】ストレー...
Search
Takayoshi Kobayashi
July 26, 2016
Technology
1
500
【JAWS-UG大阪&JAWS-UG関西女子会合同企画「AWSのおJAWSな使い方」】ストレージのごっつはまるポイント
2016/7/26【JAWS-UG大阪&JAWS-UG関西女子会合同企画「AWSのおJAWSな使い方」】ストレージのごっつはまるポイント
Takayoshi Kobayashi
July 26, 2016
Tweet
Share
More Decks by Takayoshi Kobayashi
See All by Takayoshi Kobayashi
AWS re:Invent 2020 SageMakerのUpdateをre:cap
koba_taka
0
120
2020.02.13_ABEJA_プロダクトがスケールする過程における課題と取り組み
koba_taka
0
220
2019.08.10_AAJUG Kyoto #2_Alexa✕ML
koba_taka
0
52
2019.07.05 Cloud Native Kansai #04 MLOpsで必要なflowを考えてみる
koba_taka
0
170
2018.07.31 JAWS-UG京都 AWSマネージドDB祭~まだDBにEC2使ってんの?~ / 今のAuroraのスゴさ
koba_taka
0
280
JAWS-UG Sales #0 「SalesがJAWS-UGに参加してみて」
koba_taka
0
190
【さるる勉強会#1】AWSの機械学習って?
koba_taka
0
290
2018.2.11- Alexa Day 2018 - Alexa Ninja Warrior 結果発表
koba_taka
0
4.8k
【さばわの「わ」#2】AWSパートナーとしてのサバワの営業スタイル
koba_taka
0
530
Other Decks in Technology
See All in Technology
なぜクラウドサービスで Web コンソールを提供するのか
shuta13
4
2k
Segment Anything Model 2
tenten0727
3
540
自社サービスのための独自リリース版Redmine「RedMica」の取り組み
vividtone
0
1.1k
社内の学びの場・コミュニティ形成とエンジニア同士のリレーションシップ構築/devreljapan2024
nishiuma
3
130
Estrategias de escalabilidade para projetos web
jessilyneh
2
220
SAVEPOINT α版
savepoint
0
620
Swift Testingのconfirmationを コードリーディング/Dive into Swift Testing confirmation
laprasdrum
1
210
2024年版 運用者たちのLLM
nwiizo
3
530
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
0
3.2k
Functional TypeScript
naoya
11
4.5k
ロボットアームを遠隔制御の話 & LLMをつかったIoTの話もしたい
soracom
PRO
1
260
サプライチェーン攻撃に備える
ryunen344
0
150
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
125
16k
A Tale of Four Properties
chriscoyier
155
22k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
225
22k
Writing Fast Ruby
sferik
623
60k
The World Runs on Bad Software
bkeepers
PRO
64
11k
Web Components: a chance to create the future
zenorocha
308
41k
The Straight Up "How To Draw Better" Workshop
denniskardys
230
130k
Web development in the modern age
philhawksworth
204
10k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
The Invisible Customer
myddelton
119
13k
It's Worth the Effort
3n
182
27k
Transcript
2016.7.26 JAWS-UGେࡕˍJAWS-UGؔঁࢠձ߹ಉاը ʮAWSͷ͓JAWSͳ͍ํʯɹ#jawsug #jawsugkgirls ǏǞȂ✣ǎƑŷƆƇƒơƮdzƺȉǞ ʙ4UPSBHFJTHPUTIBNBSVQPJOUʙ
#jawsug #jawsugkgirls ཬਟ ŶƓƧźƂŮƫź ᇩൔ߶ഠNj✣Ǧ✣ȅ✣DžǏ ǓȀǻ✣ǍǽȉƸ✣ǃǜDžǞ` !LPCB@UBLB ݺŰƍ"84Nj✣ǩǏ $MPVE4FBSDI
&MBTUJDTFBSDI4FSWJDF 8IPJT
#jawsug #jawsugkgirls ຊͷϙέϞϯGoঢ়گ • 19:30͔ΒGPS͕ར༻Ͱ͖ͳ͍ঢ়ଶʹ • iPhoneΛ࠶ىಈͯ͠վળͤͣ • ॿ͚͍ͯͩ͘͞…
#jawsug #jawsugkgirls ƾȉǕ✣ǭǿƺǐƵᇏྏƎഠ` ǭȃǎƽDžǞƑẹೆ⻎Ὥ`¸୍ᄅଌℭׄ Ọࣘնፘڞ༶ "1/1SFNJFS$POTVMUJOH1BSUOFS "84Ǝห߄źƂƺȉǜdžȂ✣Ǖ
#jawsug #jawsugkgirls ЧರƒǦǙǟǤƼǥƼƊż
#jawsug #jawsugkgirls ǏǞȂ✣ǎ
#jawsug #jawsugkgirls ǦǙǟǤƼǥƼǏǞȂ✣ǎ
#jawsug #jawsugkgirls ૾ͯ͠Έ͍ͯͩ͘͞
#jawsug #jawsugkgirls
#jawsug #jawsugkgirls ŸƉa⇀⻎ƎଢƵМŴŽƎྛŰơźƪũ
#jawsug #jawsugkgirls ЧರƒƇƑǦǙǟǤƼǥƼƵℚࢺźơż LJ✣Ǐ "VSPSBLJ✣Ǐ "VSPSB
#jawsug #jawsugkgirls EBSॳظԽ όουέʔε ͦͷ1
#jawsug #jawsugkgirls EBSॳظԽʹ͍ͭͯ͝ଘͷ͔ͨʁ
#jawsug #jawsugkgirls EBSॳظԽ • ৽͍͠ EBS ϘϦϡʔϜɺར༻ՄೳʹͳΔͱ͙͢ʹ࠷େͷύϑΥʔ ϚϯεΛൃش͠ɺॳظԽ (ҎલࣄલΥʔϛϯάͱݺΕ·ͨ͠) Λඞཁͱ͠·ͤΜɻͨͩ͠ɺεφοϓγϣοτ͔Β෮ݩ͞ΕͨϘ
ϦϡʔϜͷετϨʔδϒϩοΫɺΞΫηε͢ΔͨΊʹࣄલʹॳ ظԽ͢Δඞཁ͕͋Γ·͢ (Amazon S3 ͔Βϓϧμϯͯ͠ϘϦϡʔ Ϝʹॻ͖ࠐΈ·͢)ɻ
#jawsug #jawsugkgirls έʔε • 14TiBͷEBS(PIOPS)Λར༻ͷϚγϯ • Snapshot͔ΒϦΧόϦ • ϦΧόϦޙi/Oੑೳ͕ஶ͘͠ྼԽ •
320MB/sఔ༧ఆͷI/O͕50MB/s • 85%ఔͷI/OੑೳྼԽ
#jawsug #jawsugkgirls ॳظԽରԠ • fioddΛར༻͠શͯͷϒϩοΫΛಡΈࠐΈ fio --filename=/dev/xvdf --bs=4k --direct=1 --ioengine=libaio
-- clocksource=clock_gettime --randrepeat=0 --iodepth=32 --rw=read: 508k --name=volume-initialize • S3ΑΓॳճ࣌ͷಡΈࠐΈΛ࣮ࢪ
#jawsug #jawsugkgirls • 14TiBΛ50MiB/sͰॳظԽ • 14000000(MiB) / 50(MiB/s) = 280000(s)
• 70࣌ؒఔඞཁ (280000(s)/3600 = 77.7(h)) • ΄΅3͔͔Δܭࢉʹɻɻ ͔͠͠..ʁ
#jawsug #jawsugkgirls ㅁҦ cƕƂżƬրƇ c 4OBQTIPUŮƬƑἋჭᗥaǦǙDždžǿƼȉǟƊℭᾇƵŮŴƉ䪎Ƣ䴘ơƯơżb c൙భƎсေƍℭᾇƵᾖᄀźƉԚ௹߄Ƶ⻎ീżƮ c ಸਈƎㅁŻƉℭᾇůŮŮƮƂƤa൙భƎсေℭᾇƑίෘƵźƉŭŲ c"DUJWF"DUJWFƊƑDžǿǏǕἧӮƥॉ⁒żƮ
c %3ႨƊնŰƍ4OBQTIPUŮƬƑȀǏǞƸ≓ႨƵ㙽ⅯŸƯƉŧƮLJ✣Ǐ c żųƎ*0ůсေƍṳކaDžǿǏǕἧӮƥ㙽Ⅿůсေ
#jawsug #jawsugkgirls Next Bad Case…
#jawsug #jawsugkgirls MBR GPTࣄ݅ όουέʔε ͦͷ2
#jawsug #jawsugkgirls έʔε • WindowsͰϑΝΠϧαʔόʔΛ • 2TiBఔͰӡ༻ • ༰ྔ͕ރׇ͖ͯͨ͠ •
EBSͳΒ༰қʹ֦ுͰ͖..
#jawsug #jawsugkgirls ͓‥ʁ • 2TiBҎ্͕ೝࣝ͞Εͳ͍ • ֦ுखॱؒҧ͍ͬͯͳ͍ • ·͔͞..
#jawsug #jawsugkgirls MBR / GPT • σΟεΫͷϑΥʔϚοτ࣌ʹࢦఆ͢Δܗࣜ • Windows ServerͰEC2configͷڍಈͰ2TiBҎԼͷEBS
ʹ͍ͭͯɺMBRϑΥʔϚοτͰࣗಈతʹϚϯτ • EC2࡞࣌ʹAttachͨ͠EBSͰ༰ྔ2TiBҎԼͷEBS͕ର
#jawsug #jawsugkgirls ରԠࡦ • EC2configͷڍಈͷͨΊɺEC2 launch࣌ʹ֦ு σΟεΫAttach͠ͳ͍ • EC2ىಈޙɺEBSΛՃAttach͠ɺGPTͰϑΥʔ ϚοτΛ࣮ࢪ͢Δ
#jawsug #jawsugkgirls Next Bad Case..
#jawsug #jawsugkgirls Aurora ΠϯελϯεετϨʔδރׇࣄ݅ όουέʔε ͦͷ3
#jawsug #jawsugkgirls "VSPSBƑȂǏdzȉǏůㆮŧ c ᇷźŲ"VSPSBƑȂǏdzȉǏůㆮŧ c ࢤ䌺ƾǿ✣ů₹㻂 c ᄜఏọٳųƬŧ䌂ἾźƉƥBWBJMBCMFƎƍƬƍŧ
#jawsug #jawsugkgirls ݪҼ • AuroraͷϞχλϦϯάΛ֬ೝ͢Δͱ • Free Local Storage͕ރׇ͍ͯ͠Δ •
AuroraͬͯσΟεΫ͕ࣗಈ֦ுͰ.. • Free Local Storageͱ..
#jawsug #jawsugkgirls Aurora Free Local Storage • ΠϯελϯελΠϓ͝ͱʹ༻ҙ͞Ε͍ͯΔΠϯελϯεετϨʔδ • ༰ྔΠϯελϯελΠϓʹԠͯ͡ҟͳΔ
• ࣗಈ֦ு͠ͳ͍ • tableྖҬͷͨΊɺඪ४Ͱgeneral logslow query͕อଘର
#jawsug #jawsugkgirls ㅁҦ • log_output = TABLE Ͱར༻͍ͯ͠Δ߹ɺgeneral logɺslow query
ͷอଘظؒͷ੍ݶ͕ͳ͍ • ݱঢ়ɺϩʔςʔτΛ࣮ࢪ͢Δํ๏͕ͳ͍ঢ়ଶ • ͜ͷڍಈকདྷमਖ਼༧ఆͱͷ͜ͱ ※20167݄ݱࡏ • ϩάग़ྗΛ࣮ࢪ͢Δࡍlog_output = FILEʹมߋ
#jawsug #jawsugkgirls ·ͱΊ • AWSͷετϨʔδศར • গ͠ϋϚϦϙΠϯτ͕͋Δ • ϋϚͬͯ͡Ί͔ͯΔ͜ͱ •
όουϊϋΛͲΜͲΜڞ༗͠Α͏
#jawsug #jawsugkgirls ťƭůƋũŷŹŧơźƂĆ