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

カオスエンジニアリングへの招待

KyoheiSaiki
January 15, 2020

 カオスエンジニアリングへの招待

「AKIBA.AWS #15 ガチ編〜re:Invent振り返り その1〜」での発表資料です。
https://classmethod.connpass.com/event/159529/

KyoheiSaiki

January 15, 2020
Tweet

More Decks by KyoheiSaiki

Other Decks in Programming

Transcript

  1. ఆٛʢจݙΑΓʣ  wΧΦεΤϯδχΞϦϯά͸ɺຊ൪؀ڥͷߥΕڰͬͨঢ়ଶʹ଱͑ΔγεςϜͷೳྗ ʹࣗ৴Λ࣋ͨͤΔͨΊʹɺ෼ࢄγεςϜͰ࣮ݧ͢Δֶ໰Ͱ͢ Netflix paper ɻ wΧΦεΤϯδχΞϦϯάͷ࠷ऴతͳ໨ඪ͸ɺγεςϜͷ҆ఆੑͱճ෮ྗΛڧԽ͢ Δ͜ͱͰ͢ Gremlin

    white paper ɻ resilience  ʤපؾɾෆ޾ɾࠔ೉ɾۤڥͳͲ͔Βͷʥճ෮ྗɺཱͪ ௚Δྗɺ෮׆ྗ  ʤมܗ͞Εͨ෺͕ݩͷܗʹ໭Δʥ෮ݩྗɺ஄ྗʢੑʣ ӳࣙ࿠POUIF8&#ΑΓൈਮ
  2. ఆৗঢ়ଶʹ͓͚ΔৼΔ෣͍ͷԾઆΛཱͯΔఆৗঢ়ଶͷ೺Ѳ  ϏδωεϝτϦΫεʹ஫໨ w ސ٬Λࣦ͍ͬͯΔ͔ʁ w ސ٬͸αΠτͷॏཁͳػೳΛ࣮ߦͰ͖Δ͔ʁʢ&$αΠτͰΧʔτͷνΣοΫΞ΢τ΍௥ՃͳͲʣ w ஗ԆΛཧ༝ʹސ٬͸αʔϏεΛఀࢭ͢Δ͔ʁ w

    ຖඵϏσΦͷετϦʔϛϯάΛ։࢝͢ΔϢʔβʔ਺ ‎4USFBNJOHQFSTFDPOE 414  ࢀߟ  w"NB[PO F#BZച্ w(PPHMF 'BDFCPPL޿ࠂͷදࣔճ਺ https://medium.com/netflix-techblog/sps-the-pulse-of-netflix-streaming-ae4db0e05f8a SPS
  3. ܧଓతʹ࣮ߦ͢ΔݕূͷࣗಈԽ  • ॳΊͷҰճΛखಈͰ࣮ݧΛߦͬͯΈΔͷ͸࣮ݧ͕ਖ਼͘͠ߦ͑Δ͔Λ֬ೝ͢Δͷʹྑ͍ • ҰํͰɺݱ୅ͷγεςϜͷෳࡶ͞͸ɺͲͷมߋ͕࣮ݧͷ݁ՌΛม͑Δ͔༧ଌͰ͖ͳ͍ ➡ ͢΂ͯͷมߋ͕݁ՌʹӨڹ͢Δͱߟ͑Δ • લ߲Ͱड़΂ͨͱ͓Γɺຊ൪؀ڥ͸ৗʹมԽ

    ➡ ࣮ݧ݁Ռ͕୲อ͢Δ৴པੑ͸࣌ؒͱͱ΋ʹݮਰ • ΤϯδχΞϦϯάϦιʔε͸༗ݶ ➡ खಈ࣮ݧʹΑΔ։ൃεϐʔυͷ௿Լ͸ຊ຤స౗ w ΧΦε࣮ݧࣗಈԽͷͨΊͷπʔϧͱϓϥοτϑΥʔϜͷ࡞੒
  4.  Tool (N)umber of attack types available Enterprise support Can

    halt attack in progress GUI Open source Software as a service (SaaS) Cloud agnostic Can attack container / pod Can attack using k8s primitives Can attack serverless Has API Bloomberg Powerful Seal 1 ✔ ✔ ✔ ✔ ✔ ChaosBlade 4 ✔ ✔ ✔ ChaosIQ Chaos Toolkit 3 Via vendor ✔ ✔ ✔ ✔ ✔ ✔ Gremlin Free 2 ✔ ✔ ✔ ✔ ✔ ✔ ✔ Gremlin ILFI 11 ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ Gremlin ALFI 1 ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ Istio 2 ✔ ✔ ✔ ✔ Netflix Chaos Monkey 1 ✔ Netflix Simian Army 2 ✔ New Relic Chaos Panda 2 ✔ Nutanix X- Ray 3 ✔ ✔ Pumba 6 ✔ ✔ ✔ https://www.gremlin.com/chaos-engineering/chaos-engineering-tools-comparison/ ো֐஫ೖπʔϧ͸݁ߏ๛෋
  5. ࢝ΊΑ͏ͱ͢Δͱʜ  w ຊ൪Ͱͷ࣮ݧ͸ϦεΫߴͯ͘ා͍ɻຊ൪Ͱ͸΍Γͨ͘ͳ͍ʜ w Ͱ΋࣮ݧͷͨΊ͚ͩͷ؀ڥΛҡ࣋͢Δͷ΋େมͩ͠ɺαʔυ ύʔςΟ࿈ܞ౳ຊ൪ͱҧ͏ͱ͜Ζ΋ଟ͍ʜ ো֐ൃੜ࣌ͷϏδωεΠϯύΫτ w ػձଛࣦ

    w ചΓ্͛ w ϒϥϯυΠϝʔδ w ิঈඅ༻ ΧΦεΤϯδχΞϦϯάಋೖίετ w ࣄނൃੜͷϦεΫ w ਓతϦιʔε w ৺ཧతϋʔυϧ VS ܦݧ͕ͳ͍ͱΧΦεΤϯδχΞϦϯάͷίετͷݟੵ΋Γ͸೉͍͠ʜ ✖ ൃੜ֬཰
  6. (BNFEBZͷεεϝ  "84(BNFEBZ w ౉͞Εͨ"84؀ڥʹͲΜͲΜো֐͕ൃੜ͢ΔͷͰɺͦΕΛൃݟ͠मਖ਼ w ୹࣌ؒͰେྔͷো֐ʹରԠ͢Δ͜ͱʹͳΔͷͰຊ౰ͷҙຯͰ"84΁ͷཧղ͕ࢼ͞ΕΔ w Ϋϥϝι΋ࣾ಺(BNFEBZΛݱࡏاըதɻ΋͠धཁ͕͋Ε͹֎෦޲͚ʹ΋ʜ •

    ҆શͳ؀ڥͰͷΧΦεΤϯδχΞϦϯάͷ࿅श • είʔϓΛߜͬͯ਺࣌ؒఔ౓ɺো֐஫ೖΛ࣮ࢪ • ࣗࣾͰग़དྷΔͷ͕ϕλʔ͕ͩAWS Gameday΋͋Δ https://awsgamedaymicroservicestokyo.splashthat.com/