Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWS費用と戦う

3383368c2bd31bbc7cc9c6043e335e09?s=47 Ryo Manzoku
November 10, 2017

 AWS費用と戦う

2017-11-10 Geeks Who Drink in Tokyo -AWS & 神楽坂 Edition- @nulab

3383368c2bd31bbc7cc9c6043e335e09?s=128

Ryo Manzoku

November 10, 2017
Tweet

Transcript

  1. "84අ༻ͱઓ͏ Studyplus inc. @rmanzoku 2017-11-10 Geeks Who Drink in Tokyo

    -AWS & ਆָࡔ Edition-
  2. © 2017 Studyplus, Inc. All Rights Reserved. wελσΟϓϥεגࣜձࣾ wຬ଍྄3ZP.BO[PLV wΠϯϑϥ·ΘΓΤϯδχΞ

    w೥݄δϣΠϯ w1Z$PO+1ελοϑ wझຯ͸ϥʔϝϯͱҿञͱϘϧμϦϯά w*46$0/͸༧બഊୀ͠·ͨ͠ wIUUQTHJUIVCDPNSNBO[PLV  ࣗݾ঺հ
  3. 0VSNJTTJPO ֶͿتͼΛ͢΂ͯͷਓ΁

  4.  ษڧͷه࿥Λ͚ͭͯάϥϑͱͯ͠ՄࢹԽͨ͠Γɺ αʔϏε಺Ͱษڧ஥ؒΛ࡞ͬͯ ͓ޓ͍ʹྭ·͠߹ͬͨΓ͢Δ͜ͱͰɺ ࠳ં͕ͪ͠ͳษڧΛश׳Խ͢Δ͜ͱ͕Ͱ͖·͢ɻ ࡏ੶ੜెͷֶशਐͪΐ͘ͱঢ়گΛఆྔσʔλͰ ೺Ѳ෼ੳ͢Δ͜ͱ͕ՄೳʹͳΓɺ ࠓ·ͰҎ্ʹतۀ΍໘ஊͷޮՌΛ޲্ͤ͞Δ͜ͱ͕ՄೳͰ͢ɻ

  5. © 2017 Studyplus, Inc. All Rights Reserved. 

  6. "84ͷඅ༻Λ൒ֹʹͨ͠࿩

  7. © 2017 Studyplus, Inc. All Rights Reserved. wΠϯϑϥඅ༻ͱ͸ w໨ඪΛઃఆ͢Δ wΠϯϑϥඅ༻Λ೺Ѳ͢Δ

    w࣮ྫ  ࠓ೔࿩͢͜ͱ
  8. © 2017 Studyplus, Inc. All Rights Reserved. wΠϯϑϥඅ༻࡟ݮ͸ΠϯϑϥΤϯδχΞ͚ͩͰ͸ղܾͰ͖ͳ͍ w։ൃऀɺاըͷਓͱҰॹʹͳͬͯਐΊΔ w໨ඪΛڞ༗͢Δ

    wඅ༻Λ࡟ΔͨΊͷূڌूΊΛ͢Δ wϞνϕʔγϣϯʹ΋ͳΔ wΠϯϑϥࢹ఺͔Βݟ͑Δվળ఺Λੵۃతʹൃ৴͍ͯ͘͠  ఻͍͑ͨ͜ͱ
  9. ͳͥΠϯϑϥඅ༻Λ࡟Δඞཁ͕͋Δͷ͔

  10. © 2017 Studyplus, Inc. All Rights Reserved. 

  11. © 2017 Studyplus, Inc. All Rights Reserved.  Πϯϑϥඅ༻͸ίί རӹ͕૿͑Δ

  12. © 2017 Studyplus, Inc. All Rights Reserved. wച্ݪՁʹ౰ͨΔ wΫϥ΢υ͸ैྔ՝ۚͳͷͰΦϯϓϨͱҧͬͯ୹ظͰ࡟ݮՄೳ w࡟ݮ͚ͨͩ͠ച্རӹ͕૿͑Δ

    wϏδωεͷ੒௕ʹ࢖͑Δ͓͕ۚ૿͑Δ w͓څྉʹ·Θ͓ۚ͢΋૿͑Δϋζ wརӹΛ૿΍͠Ϗδωεͷ੒௕Λࢧ͑Δͱ͍͏ؾ࣋ͪͰऔΓ૊Ή wίετͳͷͰ௿͍΄͏͕ΈΜͳخ͍͠  Πϯϑϥඅ༻
  13. ఆྔతͳ໨ඪΛܾΊΔ

  14. © 2017 Studyplus, Inc. All Rights Reserved. ରച্ൺ 

  15. © 2017 Studyplus, Inc. All Rights Reserved. wରച্ൺͰߟ͑Δͷ͕Ұൠత wച্ͷ͏ͪY͕Πϯϑϥඅ༻ w೥౓ͷΠϯϑϥඅ༻͕ରച্ൺ͕999

    w೥݄ͷΠϯϑϥඅ༻Λ݄ؒച্༧ࢉͷͱઃఆ w9ʹ͢ΔΘ͚Ͱ͸ͳ͘ɺച্༧ࢉ͔Βٯࢉֹͨۚ͠Λ໨ࢦ͢ w։ൃ΍اըͷਓͱڞ௨ೝࣝΛ΋ͭ w೥͔͚ͯຖ݄গ͚͍ͣͭۙͮͯ͘͠ w໨ඪୡ੒ͷͨΊͷϩʔυϚοϓΛ࡞੒͢Δ  4UVEZQMVTͷ໨ඪઃఆ
  16. © 2017 Studyplus, Inc. All Rights Reserved. 

  17. © 2017 Studyplus, Inc. All Rights Reserved. wΠϯϑϥΤϯδχΞͷ৬຿ൣғ͸޿͘ͳΓ͕ͪͳͷͰ͜͏͍͏͜ ͱΛ΍Γ·͢ͱ͍͏ҙࢥදࣔ wΠϯϑϥͬͯͳʹ΍Δͷʁ

    wʮ͍ͭ·Ͱʹ9ԁΛ໨ࢦ͍ͯ͠ΔͷͰɺࠓ݄:Λ࣮ࢪ͠·͢ʯ wਐḿΛ؅ཧ͢ΔΘ͚Ͱͳ͘ɺ໨ඪڞ༗Λ໨తͱ͍ͯ͠Δ wઌճΓͯ͠࢓ࠐΈΛߦ͏ wʮ࠶དྷ݄͘Β͍ʹ9ΛೖΕ͍ͨͷͰ४උΛ͓ئ͍͠·͢ʯ  ϩʔυϚοϓ
  18. "84අ༻Λܭଌ͢Δ࢓૊Έͮ͘Γ

  19. ਪଌ͢ΔͳɺܭଌͤΑ %POUHVFTT NFBTVSF

  20. © 2017 Studyplus, Inc. All Rights Reserved. $MPVE8BUDI#JMMJOH ௨஌#PU 

  21. © 2017 Studyplus, Inc. All Rights Reserved. wຖ೔ɺ$MPVE8BUDIͷ#JMMJOH৘ใΛऔ͖ͬͯͯ௨஌͢Δ wDSPOͰ"84$-*Λୟ͍ͯ੔ܗ͢Δ͚ͩ wIUUQTHJUIVCDPNSNBO[PLVTDSJQUTCMPCNBTUFSDSPO

    CJMMJOHTI wͳΜͱͳ͘ͷֹ݄༧૝͕Ͱ͖Δɺҟৗͳ਺஋ʹͳ͍ͬͯΕ͹͢ ͙ʹؾͮ͘͜ͱ͕Ͱ͖Δ  "84ྉۚ௨஌#PU
  22. © 2017 Studyplus, Inc. All Rights Reserved. 

  23. © 2017 Studyplus, Inc. All Rights Reserved. $PTU&YQMPSFS 

  24. © 2017 Studyplus, Inc. All Rights Reserved. w"84#JMMJOHEBTICPBSE wσϑΥϧτͷ΋ͷ͚ͩͰͳࣗ͘࡞Մೳ wϙνϙνͯ͠Δ͚ͩͰ࡞੒Ͱ͖Δ

    wఆظϨϙʔτ͕͠қ͍ w։ൃऀʹઆ໌͠΍͍͢ wάϥϑΛݟΔͱ߲໨9্͕͕ͬͯ·͕͢ͲΜͳॲཧͯ͠·͢ʁ wվળ͕౰ͨͬͨͱ͖ʹ࣮ײΛಘ΍͍͢  $PTU&YQMPSFS
  25. © 2017 Studyplus, Inc. All Rights Reserved. 

  26. © 2017 Studyplus, Inc. All Rights Reserved.  ίετΧοτ࣮ײ͢Δ΍ͭ

  27. © 2017 Studyplus, Inc. All Rights Reserved.  $MPVE'SPOUར༻

  28. © 2017 Studyplus, Inc. All Rights Reserved. 5SVTUFE"EWJTPS 

  29. © 2017 Studyplus, Inc. All Rights Reserved. wαϙʔτϓϥϯΛܖ໿͢Δͱ࢖͑Δ w$16ͷར༻཰ͳͲ͔Βɺద੾Ͱͳ͍ΠϯελϯελΠϓͷϦιʔ εΛදࣔͯ͘͠ΕΔ

    wΠϯελϯεΛׂΓ౰ͯΒΕͯͳ͍&-#΍&*1ͳͲ΋Θ͔Δ wແବͳϦιʔεΛՄࢹԽͰ͖Δ wίετҎ֎ʹ΋ύϑΥʔϚϯε΍ηΩϡϦςΟͷ؍఺͔Βڭ͑ ͯ w"84΋ෆ౰ʹߴֹ͍ۚͰ࢖ͬͯ΄͍͠Θ͚Ͱ͸ͳ͍  5SVTUFE"EWJTPS
  30. © 2017 Studyplus, Inc. All Rights Reserved. 

  31. © 2017 Studyplus, Inc. All Rights Reserved. %FUBJMFECJMMJOHSFQPSU XJUISFTPVSDFTBOEUBHT 

  32. © 2017 Studyplus, Inc. All Rights Reserved. wྉۚௐࠪͷ࠷ऴखஈ wৄࡉͳ#JMMJOH3FQPSUTΛ4ʹอଘͰ͖Δ wʮ%FUBJMFECJMMJOHSFQPSUXJUISFTPVSDFTBOEUBHTʯͰϦι

    ʔε͝ͱͷྉ͕ۚݟΕΔ wHSFQͱRίϚϯυͰ42-Λ࢖ͬͯूܭ͢Δ w΄Μͱ͸"UIFOBʹ͍ͨ͠ wεϓϨουγʔτͰڞ༗  %FUBJMFECJMMJOHSFQPSU
  33. © 2017 Studyplus, Inc. All Rights Reserved.  Πϯλʔωοτ΁ͷσʔλ௨৴ྔ

  34. ग़͖ͯͨ໰୊ͷྫ

  35. © 2017 Studyplus, Inc. All Rights Reserved. &$$MBTTJD 

  36. © 2017 Studyplus, Inc. All Rights Reserved. w71$ʹೖ͍ͬͯͳ͍Πϯελϯε wd೥ʹ࡞ͬͨ"84ΞΧ΢ϯτͷσϑΥϧτ wԾ૝Խํ͕ࣜQW͔͠࢖͑ͳ͍

    w࠷ۙͷ$16࠷దΠϯελϯε͸IWNͷΈରԠD U w։ൃ؀ڥͱͯ͠Քಇ͢ΔNTNBMM wύοͱݟɺҰ൪͍҆Πϯελϯεʹݟ͑Δ wηΩϡϦςΟάϧʔϓͷண୤Ͱ࠶ىಈ͢ΔΠϯελϯε w71$QFFSJOHͱ͔࢖͑ͳ͍  &$$MBTTJDͷͭΒ͞
  37. © 2017 Studyplus, Inc. All Rights Reserved.  IUUQBXTUZQFQBEDPNBXT@KBQBOBNB[POFDVQEBUF WJSUVBMQSJWBUFDMPVETGPSFWFSZPOFIUNM

  38. © 2017 Studyplus, Inc. All Rights Reserved.  IUUQTBXTBNB[PODPNKQCMPHTOFXT OPXBWBJMBCMFDPNQVUFJOUFOTJWFDJOTUBODFTGPSBNB[POFD

  39. © 2017 Studyplus, Inc. All Rights Reserved.  $MBTTJDʢQWํࣜʣͰ࢖͑ΔΠϯελϯε

  40. © 2017 Studyplus, Inc. All Rights Reserved.  $MBTTJDʢQWํࣜʣͰ࢖͑ΔΠϯελϯε

  41. © 2017 Studyplus, Inc. All Rights Reserved.  $MBTTJDʢQWํࣜʣͰ࢖͑ΔΠϯελϯε

  42. © 2017 Studyplus, Inc. All Rights Reserved.  $MBTTJDʢQWํࣜʣͰ࢖͑ΔΠϯελϯε

  43. © 2017 Studyplus, Inc. All Rights Reserved.  $MBTTJDʢQWํࣜʣͰ࢖͑ΔΠϯελϯε

  44. © 2017 Studyplus, Inc. All Rights Reserved.  $MBTTJDʢQWํࣜʣͰ࢖͑ΔΠϯελϯε

  45. © 2017 Studyplus, Inc. All Rights Reserved.  $MBTTJDʢQWํࣜʣͰ࢖͑ΔΠϯελϯε

  46. © 2017 Studyplus, Inc. All Rights Reserved. NϑΝϛϦʔ 

  47. © 2017 Studyplus, Inc. All Rights Reserved.   ࣌ؒ

    = = ݄
  48. © 2017 Studyplus, Inc. All Rights Reserved.   ࣌ؒ

    = = ݄
  49. © 2017 Studyplus, Inc. All Rights Reserved.  IUUQTBXTBNB[PODPNKQCMPHTOFXTFDQSJDFSFEVDUJPODNBOEUJOTUBODFT

  50. © 2017 Studyplus, Inc. All Rights Reserved. 71$Ҡߦ͢Ε͹࣮֬ʹ ҆͘ͳΔ 

  51. © 2017 Studyplus, Inc. All Rights Reserved. 71$Ҡߦ 

  52. © 2017 Studyplus, Inc. All Rights Reserved. w͕࣌ؒͳ͍ͷͰৄࡉׂѪ w%#͕$MBTTJDʹ͍ΔͷͰɺܭըϝϯςφϯε wਂ໷ʹ࣌ؒ΄ͲϝϯςΛೖΕ࣮ͯࢪɻ

    wࣄલ४උʹϲ݄ఔ౓ wຊ൪Πϯελϯε΋DDϑΝϛϦʔʹมߋ w·ΘΓΛר͖ࠐΜͰ஍ಓʹ΍͍͔ͬͯ͋͘͠Γ·ͤΜ  71$Ҡߦ
  53. © 2017 Studyplus, Inc. All Rights Reserved. wຊ൪ϐʔΫ࣌ؒͷΦʔτεέʔϧ୆਺͕୆͔Β୆ʹݮগ wຊ൪࣌ؒ͋ͨΓͷ୯Ձ͕࡟ݮʢੑೳ͸޲্ʣ w։ൃ؀ڥͷίετ࡟ݮ

    wNΠϯελϯεͷ๾໓ w71$Ҡߦʹ߹ΘͤͯϦιʔε഑ஔΛ࠷దԽͨ͠ͷͰ&$ͷίε τશମͰ͸͘Β͍ݮͬͨ wͻͬͦΓͱύϑΥʔϚϯε͕͔Βʹվળ w͓ۚΑΓଈޮੑͷ͋Δ  ޮՌ
  54. © 2017 Studyplus, Inc. All Rights Reserved.  &$ར༻ྉۚ

  55. © 2017 Studyplus, Inc. All Rights Reserved. "NB[PO$MPVE4FBSDI 

  56. © 2017 Studyplus, Inc. All Rights Reserved. wλΠϜϥΠϯݕࡧͱ͍͏Ϣʔβ౤ߘΛݕࡧͰ͖Δػೳʹར༻ w͋Δ೔ಥવഒʹͳΔར༻ྉۚ wͳ͔ͥഒͷσʔλྔʹεέʔϧ͍ͯͨ͠

    w౤ߘ͋ͨΓճ࣮ߦ͞ΕΔ#BUDI6QMPBE w෼ؒʹճఔ౓͔͠ൃߦ͞Εͳ͍ݕࡧϦΫΤετ wαʔϏε։࢝Ҏདྷɺ͢΂ͯͷ౤ߘ͕શจݕࡧՄೳ  $MPVE4FBSDIར༻ঢ়گ
  57. © 2017 Studyplus, Inc. All Rights Reserved.  $MPVE4FBSDIར༻ྉۚ ಥવഒʹͳΔ

    ར༻ྉۚ ྉۚͷΛ઎ΊΔ #BUDI6QMPBE 0UIFSTʹ·ͱΊΒΕ͍ͯΔͱ ࢥΘΕΔϢʔβϦΫΤετ
  58. © 2017 Studyplus, Inc. All Rights Reserved. wʮ͜ͷػೳɺ͋·Γ࢖ΘΕͯͳ͍ͬΆ͍Ͱ͚͢ͲཁΓ·͢ʁʯ w͍͖ͳΓఫୀ͸ෆՄೳ w࢓༷Λௐ੔ͯ͠࡞੒͠௚ͯ͠΋Βͬͨ

    wαʔϏε։࢝Ҏདྷ௚ۙϲ݄෼Ͱ࡞੒ w#BUDI6QMPBEΛ෼ؒʹճʹมߋ  ղܾࡦ
  59. © 2017 Studyplus, Inc. All Rights Reserved.  $MPVE4FBSDIར༻ྉۚ #BUDI6QMPBE

    ରࡦ ࠶࡞੒
  60. © 2017 Studyplus, Inc. All Rights Reserved.  $MPVE4FBSDIͷ#BUDI6QMPBEճ਺ #BUDI6QMPBE

    ରࡦ
  61. © 2017 Studyplus, Inc. All Rights Reserved. ݁ہͲ͏ͳ͔ͬͨ 

  62. © 2017 Studyplus, Inc. All Rights Reserved.  "84೥ؒਪҠ

  63. © 2017 Studyplus, Inc. All Rights Reserved. wΠϯϑϥඅ༻͕ࣄۀͷதͰͲͷΑ͏ͳҐஔʹ͋Δͷ͔Λ೺Ѳ w·ΘΓͷڠྗΛಘΒΕΔΑ͏ʹ໨ඪΛڞ༗ wܧଓతʹΠϯϑϥඅ༻Λ೺Ѳ͢Δ࢓૊Έͮ͘Γ

    wΠϯϑϥࢹ఺͔Β࢓༷ϨϕϧͰఏҊ wҰਓͰ͸ղܾͰ͖ͳ͍ͷͰ։ൃऀɺاըͷਓΛר͖ࠐΜͰקΊ ͍ͯ͘  ·ͱΊ
  64. +0*/0635&". ৽͍͠ڭҭͷ࢓૊ΈΛڞʹੜΈग़͢
 ஥ؒʹͳΓ·ͤΜ͔ʁ