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
140
2020.02.13_ABEJA_プロダクトがスケールする過程における課題と取り組み
koba_taka
0
240
2019.08.10_AAJUG Kyoto #2_Alexa✕ML
koba_taka
0
58
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
300
2018.2.11- Alexa Day 2018 - Alexa Ninja Warrior 結果発表
koba_taka
0
4.9k
【さばわの「わ」#2】AWSパートナーとしてのサバワの営業スタイル
koba_taka
0
550
Other Decks in Technology
See All in Technology
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
180
大幅アップデートされたRagas v0.2をキャッチアップ
os1ma
2
520
【re:Invent 2024 アプデ】 Prompt Routing の紹介
champ
0
140
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
UI State設計とテスト方針
rmakiyama
2
390
第3回Snowflake女子会_LT登壇資料(合成データ)_Taro_CCCMK
tarotaro0129
0
180
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
株式会社ログラス − エンジニア向け会社説明資料 / Loglass Comapany Deck for Engineer
loglass2019
3
31k
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
180
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
150
AWS re:Invent 2024 ふりかえり
kongmingstrap
0
130
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
260
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
4 Signs Your Business is Dying
shpigford
181
21k
How GitHub (no longer) Works
holman
311
140k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
Documentation Writing (for coders)
carmenintech
66
4.5k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
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 ťƭůƋũŷŹŧơźƂĆ