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
510
【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
150
2020.02.13_ABEJA_プロダクトがスケールする過程における課題と取り組み
koba_taka
0
240
2019.08.10_AAJUG Kyoto #2_Alexa✕ML
koba_taka
0
61
2019.07.05 Cloud Native Kansai #04 MLOpsで必要なflowを考えてみる
koba_taka
0
180
2018.07.31 JAWS-UG京都 AWSマネージドDB祭~まだDBにEC2使ってんの?~ / 今のAuroraのスゴさ
koba_taka
0
290
JAWS-UG Sales #0 「SalesがJAWS-UGに参加してみて」
koba_taka
0
190
【さるる勉強会#1】AWSの機械学習って?
koba_taka
0
310
2018.2.11- Alexa Day 2018 - Alexa Ninja Warrior 結果発表
koba_taka
0
5k
【さばわの「わ」#2】AWSパートナーとしてのサバワの営業スタイル
koba_taka
0
550
Other Decks in Technology
See All in Technology
メールヘッダーを見てみよう
hinono
0
110
2025年のARグラスの潮流
kotauchisunsun
0
790
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
450
AWS re:Invent 2024 re:Cap Taipei (for Developer): New Launches that facilitate Developer Workflow and Continuous Innovation
dwchiang
0
160
【Oracle Cloud ウェビナー】2025年のセキュリティ脅威を読み解く:リスクに備えるためのレジリエンスとデータ保護
oracle4engineer
PRO
1
100
Amazon Route 53, 待ちに待った TLSAレコードのサポート開始
kenichinakamura
0
170
#TRG24 / David Cuartielles / Post Open Source
tarugoconf
0
580
実践! ソフトウェアエンジニアリングの価値の計測 ── Effort、Output、Outcome、Impact
nomuson
0
2.1k
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
140
iPadOS18でフローティングタブバーを解除してみた
sansantech
PRO
1
140
Accessibility Inspectorを活用した アプリのアクセシビリティ向上方法
hinakko
0
180
EMConf JP の楽しみ方 / How to enjoy EMConf JP
pauli
2
150
Featured
See All Featured
Site-Speed That Sticks
csswizardry
3
270
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
500
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Done Done
chrislema
182
16k
Mobile First: as difficult as doing things right
swwweet
222
9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Statistics for Hackers
jakevdp
797
220k
Optimizing for Happiness
mojombo
376
70k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
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 ťƭůƋũŷŹŧơźƂĆ