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

StackStorm ワークフローエンジンによる運用コスト・リスク低減の取り組み

StackStorm ワークフローエンジンによる運用コスト・リスク低減の取り組み

#workflowenginesnight にてお話させていただいたスライドです!
インフラエンジニア" が行う運用作業では、チケット管理システムや、ハードウェア管理システム、構成管理システム、ソースコード管理システムなど、複数のシステムに跨ったオペレーションを行います。
こうした運用作業には、運用者の作業・習熟コストがシステムの複雑さに比例する、長く運用されたシステムの置き換えが難しくなるといった問題がつきまといます。
このセッションでは、DMM.comラボにおける StackStorm を用いたそれらの改善の取り組みと、何故 StackStorm に注目しているかについて共有させていただきました!

B6d9eb9a3825f15c84b5e7588c56a405?s=128

DMM.com

June 08, 2017
Tweet

Transcript

  1. ӡ༻ίετɾϦεΫ௿ݮͷऔΓ૊Έ େࢁ༟ହ %..DPNϥϘΠϯϑϥຊ෦9BB4෦ StackStormʹΑΔ 8PSLqPX&OHJOFT/JHIU 

  2. େࢁ ༟ହ / OHYAMA Hiroyasu Working at: XaaS Development, Infrastructure

    Division Recent Attributes 2 - StackStorm / Contributor - StackStorm AWS pack (Official extension of StackStorm) / Maintainer - OpenStack (oslo-messaging) / Technical Contributor
  3. γεςϜӡ༻ऀΛ೰·ͤΔ՝୊ 3 (*1) (*1) Icon made by 'Freepik' from www.flaticon.com

  4. 4 γεςϜӡ༻ऀΛ೰·ͤΔ՝୊ λεΫཁٻॲཧɺใࠂɺ෦಺ௐ੔FUD Ϣʔβͱͷંিίετ (*1) (*1) Icon made by 'Freepik'

    from www.flaticon.com Neighbor Section Operation Talking Email Tack Ticket Other Division Outside of department Managed Target System(s) Managed Target System(s) Managing System(s)
  5. 5 ݸผɾ۩ମతͳػث΁ͷΦϖϨʔγϣϯίετ ߏ੒؅ཧ ετϨʔδ Ծ૝ج൫ CC by FatCow - Server

    Stanchion icon CC by George Shuklin - Storage (*1) Icon made by 'Freepik' from www.flaticon.com (*1) /8εΠον ϩʔυόϥϯα ଟ༷Խ͢ΔγεςϜ؀ڥ΁ͷରԠ ෳࡶԽ͢Δػث΁ͷशख़ γεςϜӡ༻ऀΛ೰·ͤΔ՝୊
  6. 6 ߏ੒؅ཧ /8εΠον ετϨʔδ Ծ૝ج൫ CC by FatCow - Server

    Stanchion icon CC by George Shuklin - Storage (*1) Icon made by 'Freepik' from www.flaticon.com ϩʔυόϥϯα (*1) Miss Operation!! (*1) ΦϖϨʔγϣϯϛεͷϦεΫ ӡ༻ͷݫ֨Խɺڭҭɾӡ༻ίετͷ૿େ γεςϜӡ༻ऀΛ೰·ͤΔ՝୊ “Oops, Sorry.”
  7. ཧ૝తͳγεςϜͷӡ༻ܗଶ 7

  8. 8 ཧ૝తͳγεςϜͷӡ༻ܗଶ ఆܕӡ༻ͷ"1*Խ ݱঢ়ɿϑϦʔϑΥʔϚοτͷࢦࣔɾґཔॻ ཧ૝ɿΧλϩάԽͨ͠ΦϖϨʔγϣϯͷ"1*Λఏڙ Neighbor Section Operation Other Division

    Outside of department Managed Target System(s) Managed Target System(s) Machine API Request Managing System(s)
  9. 9 CC by FatCow - Server Stanchion icon CC by

    George Shuklin - Storage (*1) Icon made by 'Freepik' from www.flaticon.com (*1) YOU API Request create VM & service in Machine γεςϜͷந৅Խ ཧ૝తͳγεςϜͷӡ༻ܗଶ ݸผͷγεςϜΛૢ࡞͢ΔͷͰ͸ͳ͘ɺ ݸผͷγεςϜΛૢ࡞ͯ͠ಘ͍ͨ݁ՌΛػցʹڭ͑Δ ݸผͷγεςϜૢ࡞͸ػցʹ΍ΒͤΔ
  10. 10 CC by FatCow - Server Stanchion icon CC by

    George Shuklin - Storage (*1) Icon made by 'Freepik' from www.flaticon.com Machine (*1) YOU γεςϜͷந৅Խ ཧ૝తͳγεςϜͷӡ༻ܗଶ ݸผͷγεςϜΛૢ࡞͢ΔͷͰ͸ͳ͘ɺ ݸผͷγεςϜΛૢ࡞ͯ͠ಘ͍ͨ݁ՌΛػցʹڭ͑Δ ݸผͷγεςϜૢ࡞͸ػցʹ΍ΒͤΔ
  11. 11 CC by FatCow - Server Stanchion icon CC by

    George Shuklin - Storage (*1) Icon made by 'Freepik' from www.flaticon.com (*1) YOU Machine Report γεςϜͷந৅Խ ཧ૝తͳγεςϜͷӡ༻ܗଶ ݸผͷγεςϜΛૢ࡞͢ΔͷͰ͸ͳ͘ɺ ݸผͷγεςϜΛૢ࡞ͯ͠ಘ͍ͨ݁ՌΛػցʹڭ͑Δ ݸผͷγεςϜૢ࡞͸ػցʹ΍ΒͤΔ
  12. 12 StackStorm ʹΑΔγεςϜͷந৅Խ ӡ༻ίετɾϦεΫ௿ݮͷͨΊͷ

  13. ͱ͸ʁ 13

  14. 14 4UBDL4UPSNͱ͸ʁ *'555Y8PSL'MPX ࢀরɿ&WFOUESJWFOBVUPNBUJPO %FW0QTXBZ%NJUSJ;JNJOF

  15. 15 4UBDL4UPSNͱ͸ʁ *'555Y8PSL'MPX If This Then That 5SJHHFS "DUJPO

  16. 16 4UBDL4UPSNͱ͸ʁ *'555Y8PSL'MPX If This Then That 5SJHHFS "DUJPO CC

    by Charles Lowell and Frontside
  17. 17 4UBDL4UPSNͱ͸ʁ USJHHFS BDUJPO An external world Another external world

    *'555Y8PSL'MPX
  18. 18 4UBDL4UPSNͱ͸ʁ SENSOR SENSOR Action Action Action An external world

    SENSOR USJHHFS Another external world *'555Y8PSL'MPX
  19. 19 4UBDL4UPSNͱ͸ʁ USJHHFS An external world SENSOR SENSOR SENSOR Action

    Action Action Another external world BDUJPO *'555Y8PSL'MPX Rule
  20. 20 4UBDL4UPSNͱ͸ʁ Another external world An external world SENSOR SENSOR

    SENSOR Action Action *'555Y8PSL'MPX Action Workflow
  21. 21 4UBDL4UPSNͱ͸ʁ Another external world An external world SENSOR SENSOR

    SENSOR Action Action *'555Y8PSL'MPX Rule Action Workflow
  22. 22 4UBDL4UPSNͱ͸ʁ Another external world An external world SENSOR SENSOR

    Action Action BDUJPOT *'555Y8PSL'MPX SENSOR Rule USJHHFS Workflow Action
  23. 23 4UBDL4UPSNͱ͸ʁ ग़లɿ4UBDL4UPSNͰ࢝ΊΔӡ༻ࣗಈԽʙೖ໳ฤʙ$PEF;JOF *'555Y8PSL'MPX

  24. 24 4UBDL4UPSNͱ͸ʁ 4UBDL4UPSNͷ8PSL'MPXఆٛ "DUJPO$IBJO ϑΝΠϧͷத਎ *'555Y8PSL'MPX

  25. 25 4UBDL4UPSNͱ͸ʁ ༷ʑͳγεςϜͱ࿈ܞ͢ΔϞδϡʔϧ͕ఏڙ͞Ε͍ͯΔ *'555Y8PSL'MPX Actions SENSOR Pack for AWS SENSOR

    Pack for GitHub ʜ Actions Actions Actions SENSOR Pack for vSphere Actions Actions Rules Rules Workflow Workflows
  26. 26 4UBDL4UPSNͱ͸ʁ ༷ʑͳγεςϜͱ࿈ܞ͢ΔϞδϡʔϧ͕ఏڙ͞Ε͍ͯΔ *'555Y8PSL'MPX ൈਮɿ4UBDL4UPSN&YDIBOHF

  27. 27 4UBDL4UPSNͱ͸ʁ .JTUSBM 0QFO4UBDLͷ8PSLqPXαʔϏε Ͱ΋هड़Մೳ *'555Y8PSL'MPX

  28. 28 ͷ͋Δ؀ڥ

  29. 29 4UBDL4UPSNͷ͋Δ؀ڥ ΦϖϨʔγϣϯ༻"1*ͷఏڙ ʮ୭ʹฉ͚͹͍͍ͷ͔Θ͔Βͳ͍ʯΛແ͘͢ ΦϖϨʔγϣϯͷϦʔυλΠϜΛ୹ॖ͢Δ Neighbor Section Operation Other Division

    Outside of department Managed Target System(s) Managed Target System(s) API Request Managing System(s)
  30. 30 (*1) Icon made by 'Freepik' from www.flaticon.com (*1) YOU

    The Order what you want to do (create VM & service in) γεςϜͷந৅Խ Pack Pack Pack CC by FatCow - Server Stanchion icon ݸผͷػث΁ͷΦϖϨʔγϣϯΛӅṭ͠ɺ Ϣʔβ͸ཉ͍݁͠Ռ͚ͩΛࢦఆ͢Δ 4UBDL4UPSNͷ͋Δ؀ڥ
  31. 31 (*1) Icon made by 'Freepik' from www.flaticon.com (*1) YOU

    The Order what you want to do (create VM & service in) γεςϜͷந৅Խ Pack Pack Pack Report Execution Details CC by FatCow - Server Stanchion icon ݸผͷػث΁ͷΦϖϨʔγϣϯΛӅṭ͠ɺ Ϣʔβ͸ཉ͍݁͠Ռ͚ͩΛࢦఆ͢Δ 4UBDL4UPSNͷ͋Δ؀ڥ
  32. 32 (*1) Icon made by 'Freepik' from www.flaticon.com (*1) YOU

    ӡ༻ࣗಈԽ Pack Pack Pack Information CC by FatCow - Server Stanchion icon Trigger ݸผͷγεςϜͷঢ়گʹԠͨ͡ରԠΛػցతʹ࣮ࢪ͢Δ 4UBDL4UPSNͷ͋Δ؀ڥ
  33. 33 (*1) Icon made by 'Freepik' from www.flaticon.com (*1) YOU

    Pack Pack Pack Information Trigger CC by FatCow - Server Stanchion icon Action Report Execution Details ӡ༻ࣗಈԽ ݸผͷγεςϜͷঢ়گʹԠͨ͡ରԠΛػցతʹ࣮ࢪ͢Δ 4UBDL4UPSNͷ͋Δ؀ڥ
  34. ·ͱΊ 34

  35. 35 ·ͱΊ ંিۀ຿Λߦ͏ΤϯδχΞͷղ์ ΦϖϨʔγϣϯͷΧλϩάԽͱ"1*ͷఏڙͰɺંিۀ຿ΛݮΒ͢ ΦϖϨʔλͷӡ༻ɾֶशίετͷ௿ݮ γεςϜͷந৅ԽʹΑͬͯɺݸผɾ۩ମతͳΦϖϨʔγϣϯΛݮΒ͢ αʔϏεӡ༻ϦεΫͷ௿ݮ ΦϖϨʔγϣϯͷίʔυԽʹΑΔΦϖϨʔγϣϯϛεΛݮΒ͢ 4UBDL4UPSNͰ࣮ݱ͢Δ ͜ͱΛظ଴͢Δ

    ະདྷ
  36. THANK YOU! 36