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

Middleware Configuration as Code

Middleware Configuration as Code

connect infra engineers with app engineers

MATSUMOTO Ryosuke

August 08, 2015
Tweet

More Decks by MATSUMOTO Ryosuke

Other Decks in Technology

Transcript

  1. ϛυϧ΢ΣΞͷߏ੒ͷมԽ ˞ ྫ͑͹8FCαʔό  $(*͸GPSL ͷίετʹΑΓ஗͍  ΠϯλϓϦλΛαʔόʹ૊ΈࠐΉ  ίϯςϯπͱ8FCαʔό͕ີ݁߹

     ΞϓϦέʔγϣϯαʔόͱϓϩΩγͷ෼཭  ͍͔ʹ֤ػೳΛޮ཰ྑ͘࿈ܞͤ͞Δ͔ ˞NSVCZͱ͜Ε͔Βͷ8FCαʔόٕज़ IUUQTTQFBLFSEFDLDPNNBUTVNPUP@S NSVCZUPLPSFLBSBGBMTFXFCTBCBKJTIV 3VCZ౦ژϓϨθϯςʔγϣϯςΫχΧϧτʔΫ 'FC 
  2. ݹ͔͘Β͋Δ8FCαʔόͷ֦ு  NPE@QFSMɺNPE@SVCZͳͲ  $(*Ϟσϧͷվળ  8FCαʔόͷ಺෦֦ு΋Մೳ˞   ੑೳ໘ɾϝϞϦ໘Ͱͷ՝୊

     ˞!YUFUTVKJ lϞμϯNPE@QFSMೖ໳z IUUQXXXTMJEFTIBSFOFUYUFUTVKJ NPEFSONPEQFSMHVJEFZBQDBTJB :"1$"TJB5PLZP 4FQ
  3. 044Խ͞Ε࣮ͨ૷ྫ  NPE@NSVCZ NPE@MVB  OHY@NSVCZ MVBOHJOYNPEVMF  IP@NSVCZ 

    5SVTUFSE)5518FC4FSWFS  NSVCZJQWT WJSUVBMJOH  UT@NSVCZGPS"QBDIF5SB⒏D4FSWFS  MJCWNPE@NSVCZGPS7BSOJTI$BDIF  NZTRMNSVCZ )PMZDPSOGPS%BUB4UPSF 
  4. 044Խ͞Ε࣮ͨ૷ྫ  NPE@NSVCZ NPE@MVB  OHY@NSVCZ MVBOHJOYNPEVMF  IP@NSVCZ 

    5SVTUFSE)5518FC4FSWFS  NSVCZJQWT WJSUVBMJOH  UT@NSVCZGPS"QBDIF5SB⒏D4FSWFS  MJCWNPE@NSVCZGPS7BSOJTI$BDIF  NZTRMNSVCZ )PMZDPSOGPS%BUB4UPSF 
  5. ࣮૷໘ͰؾΛ͚͍ͭͯΔࣄ  ϋΠύϑΥʔϚϯε  ΦʔόʔϔουʹͳΓʹ͍͘  ϝϞϦ͕୯ௐ૿Ճ͠ͳ͍Α͏ʹ͢Δ  ֶशίετΛݮΒ͢ 

    γϯϓϧͳΫϥεͱϝιου  ػೳ֦ு͸Ͱ͖Δ͚ͩNSCHFN˞ ˞$3VCZͷHFNʹ͋ͨΔNSVCZͷϞδϡʔϧ 
  6. ϋΠύϑΥʔϚϯε  NSVCZΛ࠾༻ͯ͠ੑೳ໘Ͱ࠷దԽ  εϨου୯ҐͰ7.୯ҐͰ࣋ͯΔ  +*4ن֨ʹ४ڌͨ͠࢓༷ʹΑΓܰྔ  ࣄલʹόΠτίʔυʹ͓ͯ͘͠ͱߴ଎ 

    3VCZίʔυͷෳ਺ճ࣮ߦͰ͸ܰྔͳΠϯλϓ Ϧλ͕଎౓ʹ΋ޮ͍ͯ͘Δ  ৄ͘͠͸࿦จ˞ ˞দຊ྄հɾԬ෦णஉ NPE@NSVCZɿεΫϦϓτݴޠͰߴ଎͔ͭলϝϞϦʹ֦ுՄೳͳ8FCαʔόͷػೳ֦ ுࢧԉػߏ ৘ใॲཧֶձ࿦จࢽ 7PM /P QQ ೥݄
  7. େྔΞΫηεͷࣗಈ੍ޚ ˞  ϗετ୯ҐͰ੍ޚ  ϑΝΠϧ୯ҐͰ੍ޚ  ʙ୯Ґ͸ࣗ༝ʹܾΊΒΕΔ  େྔΞΫηεͱݕ஌ͨ͠Β೚ҙͷ੍ޚ

     ෳࡶͳ৚݅Ͱ΋؆୯ʹॻ͚ΔΑ͏ʹ ˞!IBSBTPV lؔ੢3VCZձٞʹొஃͤͯ͞΋Βͬͨ IUUQIBSBTPVHJUIVCJPؔ੢3VCZձ ٞʹొஃͤͯ͞΋Βͬͨ ؔ੢3VCZձٞ +VMZ 
  8. NPE@NSVCZͰ࣮૷  IUUQEPTEFUFDUPS  ೚ҙͷΞΫηεύλʔϯΛݕ஌  ݕ஌தʹ೚ҙͷॲཧΛ࣮ߦ  IUUQBDDFTTDPVOUFS 

    ೚ҙͷଐੑʢϑΝΠϧ໊ɾVJE౳ʣΛΧ΢ϯτ  Χ΢ϯτ͕ᮢ஋Λ௒͑ͨΒݕ஌  ݕ஌தʹ೚ҙͷॲཧΛ࣮ߦ
  9. ུ֓ਤ  IUUQEPTEFUFDUPSIUUQBDDFTTMJNJUUFS "QBDIF ਌ϓϩηε NSVCZ XPSLFS NSVCZ XPSLFS NSVCZ

    XPSLFS NSVCZ XPSLFS NSVCZ ڞ༗ϝϞϦ HMPCBMMPDL ᶄΧ΢ϯλ ΠϯΫˠॲཧˠσΫϦ MPDBMNFNDBDIF ,74 ᶃUSZ@MPDL ᶅVOMPDL 
  10. ऩ༰αʔό ऩ༰αʔό ϦόʔεϓϩΩγ %# OHY@NSVCZ MPDBMNFNDBDIF %# NSVCZ ϦόʔεϓϩΩγ UFYBNQMFKQ

    UFYBNQMFKQ UFYBNQMFKQ -# )PTUUFYBNQMFKQ ϨϓϦέʔγϣϯ %#ߋ৽͋Ε͹Ωϟογϡ࡟আ Ωϟογϡͳ͚Ε͹औಘͯ͠ΩϟογϡԽ όοΫΤϯυ৘ใऔಘ ϦόʔεϓϩΩγ ऩ༰αʔό ऩ༰αʔό
  11. BQBDIFͱOHJOY NSVCZ ͷੑೳൺֱ SFRTFD      ૯ΞΫηε਺

              BQBDIF OHJOY NSVCZ ಉ࣌઀ଓ਺
  12. ϝϯςφϯεը໘੾Γସ͑ ˞  WBSUNQNBJOU͕ଘࡏͨ͠Βϝϯς φϯεը໘  WBSUNQNBJOU@JHOPSF@P⒏DF͕ଘ ࡏͯ͠ɺ׌ͭΞΫηεݩ͕ Ͱ͋Ε͹ɺͦ͜͸௨ৗ௨ΓϨεϙϯε 

    OHJOYDPOGʹͦͷ··ίʔυΛهड़ ˞!MBNBOPUSBNB lOHY@NSVCZΛ࢖ͬͯಛఆϗετҎ֎͔ΒͷΞΫηεΛϝϯςφϯεը໘ʹ͢Δz  IUUQMBNBOPUSBNBIBUFCMPKQFOUSZ "VH 
  13. ಈతը૾ม׵αʔόͷ63-Ճ޻ ˞  63-ϕʔεͷಈతը૾ม׵ॲཧ  ΫϥΠΞϯτ͕উखʹը૾ม׵Ͱ͖ ͳ͍Α͏ʹ63-ͷҰ෦ΛϋογϡԽ  OHY@NSVCZͰ63-Λղੳ͠όοΫ Τϯυͷը૾ετϨʔδ΁

    ˞!ZBOP l%ZOBNJDJNBHFUSBOTGPSNBUJPOTFSWFS0LBSB#&5"z IUUQTTQFBLFSEFDLDPNZBOP EZOBNJDJNBHFUSBOTGPSNBUJPOTFSWFSPLBSBCFUB ୈҰճϖύϘςοΫΧϯϑΝϨϯε "QS 
  14. ը૾αʔϏεͷΞΫηε੍ޚ ˞  ηογϣϯ*%ͷೝূ  NFNDBDIFEʹηογϣϯ*%อଘ  63-ϕʔεͷೝূ  *1ΞυϨεϕʔεͷೝূ

    ˞!ITCU l.JEEMFXBSFBT$PEFXJUINSVCZz IUUQXXXTMJEFTIBSFOFUITCUNJEEMFXBSFBT DPEFXJUINSVCZ 3FE%PU3VCZ$POG  +VOF