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

SRE Lounge#2: SRE at CrowdWorks

SRE Lounge#2: SRE at CrowdWorks

SRE Lounge#2: SRE at CrowdWorks

5ade34f8bdf1b55c4ff82c11cf23cf42?s=128

Masayuki Morita

March 13, 2018
Tweet

Transcript

  1. 43&BU$SPXE8PSLT 43&-PVOHF  !NJOBNJKPZP

  2. ࣗݾ঺հ w ৿ాਅ೭ .BTBZVLJ.PSJUB  w 5XJUUFS(JU)VC!NJOBNJKPZP w $SPXE8PSLT*OD w

    43&5FBN-FBEFS w "845FSSBGPSN%PDLFS(Pͱ͔͍ͬͯ͡Δ
  3. $SPXE8PSLTͱ͸ w ೔ຊ࠷େڃͷΫϥ΢υιʔγϯάαʔϏε w ೥݄ʙαʔϏε։࢝ɺձһ਺ສਓ

  4. $SPXE8PSLTͱ͸

  5. Ϋϥ΢υϫʔΫεͷ 43&νʔϜ

  6. Ϋϥ΢υϫʔΫεͷ43&νʔϜ w ݱࡏ43&νʔϜͷઐ೚͸໊͔͍͠ͳ͍ w ଞνʔϜʹ43&ͬΆ͍࢓ࣄΛ͍ͯ͠Δਓ͸਺໊ w νʔϜߏ੒͕࢛൒ظ͝ͱʹগͣͭ͠มΘΓྲྀಈత w ։ൃνʔϜʹEFWͱPQTͷڥք͕ͳ͍ w

    ιϑτ΢ΣΞΤϯδχΞϦϯάͰӡ༻Λվળ
  7. 43&νʔϜͷ΍ͬͯΔ͜ͱ w γεςϜͷ҆ఆՔಇ΁ͷऔΓ૊Έ w ো֐ௐࠪରԠ w ϞχλϦϯά w ΠϯϑϥͷίʔυԽ w

    ηΩϡϦςΟରࡦ w ϚΠΫϩαʔϏεԽͷج൫੔උ w Πϯϑϥઃܭߏங w σϓϩΠͷࣗಈԽ w ೝূج൫ͷ։ൃ w ؅ཧը໘ͷ։ൃ ࠓ೔͸͜ͷ΁Μͷ࿩Λ͠·͢
  8. ϞχλϦϯά

  9. ϞχλϦϯά w ෳ਺ͷαʔϏεΛಛੑʹ߹Θͤͯ༻్͝ͱʹ࢖͍෼͚ w جຊ͸%BUBEPHʹϝτϦΫεΛू໿ w ଞͷαʔϏεΛิॿతʹར༻ w ௨஌͸4MBDLʹू໿

  10. ϞχλϦϯάͷ࢖͍෼͚ w %BUBEPH w αʔόͷϦιʔεಠࣗͷΞϓϦέγϣϯϝτϦΫε w "84$MPVE8BUDI w ϩʔυόϥϯαͷϔϧενΣοΫͳͲ଎ใੑ͕ඞཁͳϝτϦΫ ε

    w 3PMMCBS w ΞϓϦέʔγϣϯΤϥʔ؂ࢹ w /FX3FMJD w ΞϓϦέʔγϣϯύϑΥʔϚϯε؂ࢹ w 6QUJNF3PCPU w ֎ܗ؂ࢹ
  11. ͓΋͠Ζͦ͏ͳ ؂ࢹΛ͍͔ͭ͘঺հ w 3BJMTͷΞΫγϣϯ౷ܭͷ؂ࢹ w 3FETIJGUͷγεςϜϏϡʔͷ؂ࢹ w "84ϚωʔδϝϯτίϯιʔϧͷϩάΠϯ؂ࢹ w 44)ϩάΠϯ؂ࢹ

    w BVEJUEʹΑΔϑΝΠϧվ᜵ݕ஌
  12. 3BJMTͷΞΫγϣϯ౷ܭͷ؂ࢹ w Ϋϥ΢υϫʔΫε͸3VCZPO3BJMTͰಈ͍ͯΔ w εϩʔΫΤϦʔͳͲϐϯϙΠϯτͷΞϓϦέʔγϣϯͷ ύϑΥʔϚϯε෼ੳ͸/FX3FMJDΛ࢖͍ͬͯΔ w ͦΕͱ͸ผʹɺ"DUJWF4VQQPSU/PUJpDBUJPOTΛ࢖ͬͯ 3BJMTͷίϯτϩʔϥΞΫγϣϯͷ౷ܭΛ%BUBEPHʹૹ৴ ͯ͠Δ

    w ো֐࣌ʹීஈͱͳʹ͔ҧ͏͜ͱ͕ͳ͍͔ɺ;Θͬͱશମ తͳ࣌ܥྻͷ܏޲΍ҟৗΛ೺Ѳ͢Δͷʹศར
  13. 3BJMTͷΞΫγϣϯ౷ܭͷ؂ࢹ

  14. 3BJMTͷΞΫγϣϯ౷ܭ ࢀߟ Ϋϥ΢υϫʔΫεΤϯδχΞϒϩά3BJMTҠߦ࣌ͷαʔϏε؂ࢹʹ͍ͭͯ IUUQFOHJOFFSDSPXEXPSLTKQFOUSZ

  15. 3FETIJGUͷγεςϜϏϡʔͷ؂ࢹ w $SPXE8PSLTͷϝΠϯͷσʔλϕʔε͸3%4 .Z42-  w σʔλ෼ੳ༻ʹ'MZ%BUBܦ༝Ͱ3FETIJGUʹಉظ w 3FEBTI͔ΒΞυϗοΫʹ෼ੳΫΤϦΛ࣮ߦ w

    ΤϯδχΞҎ֎ͷϝϯό΋42-Λॻ͘ w ࣗ༝ʹΫΤϦ͕౤͛ΕΔͱ3FETIJGU͕աෛՙʹͳΓ͕ͪ w 3FETIJGUͷෛՙΛ؂ࢹ͢ΔͷʹDZRMEPHͱ͍͏πʔϧΛ ࡞ͬͨ
  16. DZRMEPH w IUUQTHJUIVCDPNDSPXEXPSLTDZRMEPH w ఆظతʹ42-Λ࣮ߦͯ͠%BUBEPHʹϝτϦΫεΛ౤͚͛ͭΔ؂ࢹ πʔϧ w ࣮૷͸(P w σʔλιʔε͸1PTUHSFT

    3FETIJGUؚΉ ɺ.Z42-ʹରԠ w ෳ਺ͷ42-ΛҟͳΔִؒͰ࣮ߦՄೳ w ؂ࢹΫΤϦͰ%#ෛՙΛ͔͚ͳ͍Α͏ʹಉ࣮࣌ߦΫΤϦ͸ͭʹ ੍ޚ
  17. DZRMEPHZNMͷྫ ࢀߟ Ϋϥ΢υϫʔΫεΤϯδχΞϒϩά ఆظతʹ42-Λ࣮ߦͨ݁͠ՌΛ%BUBEPHʹૹ৴͢ΔDZRMEPHͱ͍͏πʔϧΛ࡞ͬͨ IUUQFOHJOFFSDSPXEXPSLTKQFOUSZ Ϋϥ΢υϫʔΫεΛࢧ͑Δσʔλ෼ੳج൫ IUUQTTQFBLFSEFDLDPNNJOBNJKPZPCJHEBUBKBXTOVNCFSEBUBBOBMZUJDTJOGSB GPSDSPXEXPSLT

  18. 3FETIJGUͷγεςϜϏϡʔͷ؂ࢹ

  19. "84ϚωʔδϝϯτίϯιʔϧͷϩάΠϯ؂ࢹ ࢀߟ Ϋϥ΢υϫʔΫεΤϯδχΞϒϩά -BNCEB $MPVE8BUDI&WFOUT ,.4Ͱ"84ίϯιʔϧ΁ͷෆਖ਼ΞΫηεΛඵ଎Ͱݕ ஌ͯ͠ʮฏԺͳੜ׆ʯΛखʹೖΕΔ IUUQFOHJOFFSDSPXEXPSLTKQFOUSZ ࢦఆͷ*1ൣғ֎͔Β"84ϚωʔδϝϯτίϯιʔϧʹϩάΠϯͨ͠Β4MBDL௨஌

  20. 44)ϩάΠϯ؂ࢹ ࢦఆͷ*1ൣғ֎͔Βαʔόʹ44)ϩάΠϯͨ͠Β4MBDL௨஌ ࢀߟ  qVFOUEͱ%BUBEPHΛ࿈ܞͯ͠*1ΞυϨε͝ͱͷ44)ϩάΠϯ੒ޭࣦഊճ਺Λه࿥؂ࢹ͢Δ IUUQTRJJUBDPNNJOBNJKPZPJUFNTBDCBFEE ֤αʔό TFDVSFϩάΛసૹ ਖ਼نදݱͰύʔεͯ͠ 44)ϩάΠϯ

    ϝτϦΫεૹ৴ 4MBDL Ξϥʔτ௨஌
  21. BVEJUEʹΑΔϑΝΠϧվ᜵ݕ஌ αʔό্ͷઃఆϑΝΠϧΛฤूͨ͠Β4MBDL௨஌͢Δ ࢀߟ  BVEJUEͰ-JOVYͷϑΝΠϧվ᜵ݕ஌Λߦ͏ IUUQTRJJUBDPNNJOBNJKPZPJUFNTEBFEB ֤αʔό BVEJUEϩάΛసૹ 4MBDL Ξϥʔτ௨஌

  22. ΠϯϑϥͷίʔυԽ

  23. ΠϯϑϥͷίʔυԽ w ͍ͭͰ΋࡞Γ௚ͤΔ҆৺ײ w Πϯϑϥมߋཤྺͷ؅ཧ w 43&νʔϜ֎΁ͷݖݶͷҕৡ

  24. ߏ੒؅ཧπʔϧ w $IFG w طଘαʔόͷઃఆ؅ཧ w %PDLFS w ৽نαʔϏε͸جຊతʹίϯςφԽͯ͠&$4ʹσϓϩΠͯ͠Δ w

    5FSSBGPSN w "84ͷϦιʔε؅ཧ $SPXE8PSLT͸3VCZͷձ͕ࣾͩɺ࠷ۙ࡞ͬͯΔαʔϏε͸4DBMB(P΋࢖༻ ίϯςφԽͰٕज़తͳଟ༷ੑΛڐ༰ͭͭ͠ɺΠϯϑϥϨΠϠͷ౷ҰԽ
  25. ͱ͜ΖͰ *OGSBTUSVDUVSFBT$PEFͱڣ͹Εͯٱ͍͠Ͱ͕͢ɺ ৽نʹཱͯΔαʔόͰઃఆ಺༰͕ࣗ໌Ͱ͋Ε͹Α͍ΜͰ͚͢ΕͲ΋ɺ طʹຊ൪ӡ༻͞Ε͓ͯΓɺԹ͔Έͷ͋Δ৬ਓͷख࢓ࣄʹΑͬͯҡ࣋؅ ཧ͞Ε͍ͯΔαʔόͬͯ͋Γ·͢ΑͶʁ

  26. طଘαʔόΛޙ͔Βίʔυʹஔ͖׵͑ΔͷͭΒ͍໰୊

  27. BKJNJ w IUUQTHJUIVCDPNDSPXEXPSLTBKJNJ w ͭͷαʔόؒͷઃఆϑΝΠϧͷEJ⒎ΛݟΔπʔϧ w طଘαʔόͱίʔυԽͨ͠αʔόؒͷϑΝΠϧγεςϜશମ ͷEJ⒎Λޮ཰తʹௐࠪ͢Δ໨తͰ։ൃ w ୯७ʹϑΝΠϧγεςϜશମΛEJ⒎͢Δͱେྔʹࠩ෼͕ग़Δͷ

    Ͱɺௐࠪ͢Δਂ͞Λௐ੔ͭͭ͠ɺແࢹͯ͠Α͍ࠩ෼ͱɺରԠ ͕ඞཁͳࠩ෼ͷϦετϑΝΠϧΛ੒௕ͤ͞Δ w ਓ͕ؒ໨ࢹνΣοΫͰ͖Δࠩ෼ྔΛίϯτϩʔϧ ࢀߟ Ϋϥ΢υϫʔΫεΤϯδχΞϒϩά αʔόઃఆEJ⒎πʔϧ"KJNJೖ໳ IUUQFOHJOFFSDSPXEXPSLTKQFOUSZ
  28. BKJNJ ᶃௐࠪ͢Δਂ͞Λࢦఆ ྫ͸֊૚Ί·Ͱ ᶅແࢹͯ͠Α͍ ύεΛࢦఆ ᶄϑΝΠϧϦετͷEJ⒎Λ֬ೝ ᶆϑΝΠϧͷத਎ͷEJ⒎΋ݟΕΔ

  29. 5FSSBGPSN w )BTIJ$PSQ੡ͷΠϯϑϥߏ੒؅ཧπʔϧ w "84($1"[VSFͳͲͷ֤छΫϥ΢υϓϩόΠμʔͷϦιʔ ε͕ίʔυͰ؅ཧͰ͖Δ w Ϋϥ΢υϫʔΫεͰ͸"84ͷϦιʔε؅ཧʹ࢖༻ w "84$MPVE'PSNBUJPOΑΓ΋ίʔυ͕؆ܿͰ࠶ར༻͠΍͍͢

    w Πϯϑϥίʔυ΋ϞδϡʔϧԽͯ͠ෳ਺αʔϏε✕ෳ਺؀ڥ ʹ࠶ར༻ w ೥൒͙Β͍ຊ൪ӡ༻͍ͯ͠Δͱɺ͍Ζ͍Ζֶͼ͕͋Δ
  30. 5FSSBGPSNΛຊ൪ӡ༻͠ଓ͚ͯಘͨ஌ݟ w 5FSSBGPSNຊମϓϥάΠϯͷόʔδϣϯ؅ཧ w νʔϜ಺Ͱόʔδϣϯ͕ҧ͏ͱ૝ఆ֎ͷࠩ෼͕ग़ΔͷͰݻఆ͢Δ w ࠷৽൛͔Β཭Ε͗͢Δͱඇޓ׵ͳมߋͷରԠ͕େมͳͷͰ൒೥ʹճ͙Β্͍͛Δ w UGTUBUF ঢ়ଶ؅ཧϑΝΠϧ

    ΛαʔϏε✕؀ڥͳͲద౰ͳཻ౓Ͱ෼͚Δ w ສ͕ҰUGTUBUF͕յΕͨ৔߹ͷӨڹൣғͷݶఆ w ద౓ͳϞδϡʔϧͷߏ଄Խ w ൚༻తա͗ΔͱͨͩͷϥούʔʹͳΔͷͰಉ࣌ʹ࡞ΔϦιʔεͷू߹ͷ୯ҐΛߟ͑Δ w UGTUBUFΛಡΈॻ͖͢Δٕज़ w 5FSSBGPSN৬ਓʹͳΔʹ͸ආ͚ͯ͸௨Εͳ͍ w όάͩͱࢥͬͨΒࣗ෼ͰͳΜͱ͔͢Δ৺ҙؾ w ྑ͘΋ѱ͘΋·ͩͦΜͳʹރΕͯͳ͍ ࢀߟ 5FSSBGPSN৬ਓೖ໳೔ʑͷӡ༻ͰֶΜͩ஌ݟΛ୶ʑͱ·ͱΊΔ IUUQTRJJUBDPNNJOBNJKPZPJUFNTGDCFEBCGE
  31. UGTDIFNB w IUUQTHJUIVCDPNNJOBNJKPZPUGTDIFNB w 5FSSBGPSNϓϩόΠμ͔ΒܕఆٛΛಈతʹऔಘ͢Δπʔϧ w ϦιʔελΠϓͷҰཡ΍ଐੑͷܕ৘ใ͕औಘՄೳ w ϦιʔελΠϓͷCBTI[TIิ׬͕Մೳ w

    ϓϩόΠμͷެࣜυΩϡϝϯτΛૉૣ͘ϒϥ΢βͰ։͚Δ w ϝδϟʔͳϓϩόΠμͷରԠঢ়گ w UFSSBGPSNQSPWJEFSBXTW w UFSSBGPSNQSPWJEFSHPPHMFW w UFSSBGPSNQSPWJEFSB[VSFSNW 6OSFMFBTFE
  32. None
  33. None
  34. ՝୊ͱࠓޙ

  35. ՝୊ w $IFGͭΒ͍໰୊ w "NB[PO-JOVYͷόʔδϣϯΞοϓͰDPPLCPPL͕Α͘յΕΔ w ίϛϡχςΟͷDPPLCPPL͕࠷ۙ͋Μ·Γϝϯς͞Ε͍ͯͳ͍ w ".*ϏϧυΠϯελϯεͷೖΕସ͑ʹ͕͔͔࣌ؒΔ

  36. ࠓޙ΍͍͖͍ͬͯͨ͜ͱ w Ϋϥ΢υϫʔΫεຊମͷ%PDLFSԽ w ࠷ۙ࡞ͬͯΔ৽نͷαʔϏε͸%PDLFSԽ͍ͯ͠Δ͕ɺΫϥ΢ υϫʔΫεຊମ͸·ͩ$IFGͰϓϩϏδϣχϯά w ϩʔΧϧ։ൃ؀ڥ͸طʹ%PDLFSԽࡁ͕ͩɺQSPEVDUJPO؀ڥ͸ ͦΜͳʹ୯७Ͱ͸ͳ͍ w

    ྺ࢙తܦҢͰ಺෦ʹঢ়ଶΛ࣋ͯͯίϯςφϑϨϯυϦʔ͡Ό ͳ͍ w ΞʔΩςΫνϟͷมߋΞϓϦέʔγϣϯͷίʔυमਖ਼͕ඞཁ w EFWͱPQTͷڥք͸ͳ͍ͷͰΞϓϦέʔγϣϯίʔυ΋ࣗ෼ͨ ͪͰม͍͑ͯ͘
  37. 8FBSF)JSJOH Ұॹʹʮιϑτ΢ΣΞΤϯδχΞϦϯάͰ ৽͍͠ಇ͘ΠϯϑϥΛ͍͍͔Μ͡ʹ͍ͨ͠43&ʯΛืूதͰ͢ IUUQTXXXXBOUFEMZDPNQSPKFDUT