Dev-meets-Ops

F075c5dfe92334b5031d4da5dc0c9251?s=47 Yuichi Sugiyama
November 04, 2020
160

 Dev-meets-Ops

F075c5dfe92334b5031d4da5dc0c9251?s=128

Yuichi Sugiyama

November 04, 2020
Tweet

Transcript

  1. Devϝϯόʔ͕OpsνʔϜʹ ମݧೖ෦ͨ͠͸ͳ͠ Cybozu Tech Meetup #8 ମݧೖ෦ͬͯͲΜͳ੍౓ʁ Garoon։ൃνʔϜ ਿࢁ ༞Ұ

    @oogFranz
  2. Whoami • ਿࢁ ༞Ұ • 2015೥৽ଔೖࣾɻ6೥໨ɻ • ΄΅ͣͬͱGaroon։ൃɻ • 8݄຤͔Β1ϲ݄ؒSREνʔϜʹମݧೖ෦ͨ͠ɻ

    • ෳۀͰδϓγʔδϟζϕʔγετ@MASHݭָஂ 
  3. ͳΜͰࢲ͕SREʹʁ

  4. SREͱΞϓϦ։ൃνʔϜ • αΠϘ΢ζͰ͸Ϋϥ΢υӡ༻͕࢝·͔ͬͨ࣌Βɺ ։ൃຊ෦ͱӡ༻ຊͰ෼͔Ε͍ͯΔɻ • ։ൃ͸։ൃʹूதͰ͖Δɻӡ༻͸҆ఆӡ༻ʹूதͰ͖Δɻ • Ϋϥ΢υج൫ͷӡ༻ɾอकɾϛυϧ΢ΣΞͷΞοϓσʔτɾ ఆظϝϯςφϯε࡞ۀɾϞχλϦϯάͳͲ͸SREͷλεΫɻ •

    SREνʔϜ͔Β͸ඞཁʹԠͯ͡ɺௐࠪ΍λεΫґཔ͕͘Δɻ
  5. SRE 6CVOUVͷόʔδϣϯ͋͛Δ͔Β 1)1ͷόΠφϦରԠΑΖ͘͠ αʔόʔͷϩʔυΞϕϨʔδ͕͕͋ͬͯΔ͔Β ରॲ͓ئ͍͠·͢ ϛυϧ΢ΣΞͷϝϞϦ࢖༻ྔ͕ߴ͘ͳͬͯΔͷͰɺ ϝϞϦΛݮΒ͢Α͏ͳΞϓϦͷվमͰ͖·͔͢ YYΤϥʔϨʔτ্͕͕ͬͯΔ͔ΒରԠ͓ئ͍͠·͢ʂ ΅͘ Θ͔Γ·ͨ͠ʢͳʹͨ͠Β͍͍͔ͳΜ΋Θ͔ΒΜʣ

  6. SRE 6CVOUVͷόʔδϣϯ͋͛Δ͔Β 1)1ͷόΠφϦରԠΑΖ͘͠ αʔόʔͷϩʔυΞϕϨʔδ͕͕͋ͬͯΔ͔Β ରॲ͓ئ͍͠·͢ ϛυϧ΢ΣΞͷϝϞϦ࢖༻ྔ͕ߴ͘ͳͬͯΔͷͰɺ ϝϞϦΛݮΒ͢Α͏ͳΞϓϦͷվमͰ͖·͔͢ YYΤϥʔϨʔτ্͕͕ͬͯΔ͔ΒରԠ͓ئ͍͠·͢ʂ ΅͘ Θ͔Γ·ͨ͠ʢͳʹͨ͠Β͍͍͔ͳΜ΋Θ͔ΒΜʣ

    43&͔ΒͷґཔͳΜ΋Θ͔ΒΜ
  7. SRE͔ΒͷґཔͳΜ΋Θ͔ΒΜ • ීஈ͸DevͱOps͕෼͔Ε͍ͯΔɻ • ։ൃͰ͸ΠϯϑϥपΓΛʢ͋·Γʣҙࣝ͠ͳͯ͘΋Α͍ • ੑೳվળ΍ϛυϧ΢ΣΞɺԼճΓͷ஌ࣝ΍εΩϧ͸ҙࣝ͠ͳ͍ͱ͍͍͔ͭͯͳ͍ • SREґཔͷΠϯϑϥपΓͷରԠλεΫ͸ଟ͘͸ͳ͍͕ɺ ͻͱͭͻͱͭ͸ॏ͘ͳΓ͕ͪɻ

    • ඞཁͳͱ͖ʹରॲ͢Δ͚ͩͳͷͰɺମܥతʹ஌ࣝΛֶͼʹ͍͘ɻ • ҙࣝ͠ͳͯ͘΋ྑ͍ ≠ ஌Βͳͯ͘ྑ͍ 
  8. ΞϓϦνʔϜ͕ӡ༻͢Δ͔΋ʁ • cybozu.com͸ࠓޙNeco ʢk8sʹΑΔαΠϘ΢ζࣗલσʔληϯλʔʣʹҠߦ͢Δ https://speakerdeck.com/cybozuinsideout/neco- puroziekutofalsebu-kifang • NecoҠߦޙɺΞϓϦνʔϜ͕ӡ༻Ͱ੹೚Λ࣋ͭൣғ͸૿͍͑ͯ͘ • αʔόʔߏ੒ɺϞχλϦϯάɺϝτϦΫεɺͳͲ

    
  9. ΞϓϦνʔϜ͕ӡ༻͢Δ͔΋ʁ • cybozu.com͸ࠓޙNeco ʢk8sʹΑΔαΠϘ΢ζࣗલσʔληϯλʔʣʹҠߦ͢Δ https://speakerdeck.com/cybozuinsideout/neco- puroziekutofalsebu-kifang • NecoҠߦޙɺΞϓϦνʔϜ͕ӡ༻Ͱ੹೚Λ࣋ͭൣғ͸૿͍͑ͯ͘ • αʔόʔߏ੒ɺϞχλϦϯάɺϝτϦΫεɺͳͲ

     ࠓͷ͏͔ͪΒΞϓϦ։ൃϝϯόʔͱͯ͠ ӡ༻ΛֶΜͰ͓͖͍ͨ
  10. ݸਓతͳϞνϕʔγϣϯ • GaroonʢPHP + JSʣ ։ൃ͔ͯ͠͠ͳ͍ • ӡ༻ͱ͍͏ΩϟϦΞ͸Ͳ͏͍͏΋ͷͳͷ͔஌Γ͍ͨ • ਖ਼௚ͳ࿩ɺΠϯϑϥपΓΊͬͪΌۤखͳͷͰɺ

    ۤखҙ͚ࣝͩͰ΋औΓআ͖͍ͨɻ 
  11. SREʹମݧೖ෦Ͱ෢ऀमߦͩʂ

  12. ମݧೖ෦ • ଞ෦ॺɾଞνʔϜͷ࣮ࡍͷۀ຿ΛମݧͰ͖Δ੍౓ • ࠓޙͷΩϟϦΞͷݕ౼ࡐྉʹͰ͖Δ • ଞ෦ॺΛ஌ͬͯɺࠓͷۀ຿ʹ׆͔͢ • ମݧ಺༰͸ݚम͔Β࣮຿·Ͱ༷ʑ •

    ਺िؒ ʙ ࠷௕3ϲ݄͘Β͍ • ΤϯδχΞʹݶΒͣɺϏδωεܥϝϯόʔ͕PMΛମݧͨ͠Γ͍ͯ͠Δ 9
  13. ӡ༻ຊ෦ͷᎄ • ӡ༻ʹ͓͍ͯͷఆٛɾܾ·Γ͕ॻ͔Ε͍ͯΔ • SREνʔϜ಺Ͱͷڞ௨ݴޠΛ·ֶͣΜͩ • σʔληϯλʔͰͷૢ࡞ͷنఆ • ো֐۠෼ •

    ηΩϡϦςΟنఆͳͲ 
  14. ӡ༻ຊ෦ͷᎄ • ӡ༻ʹ͓͍ͯͷఆٛɾܾ·Γ͕ॻ͔Ε͍ͯΔ • SREνʔϜ಺Ͱͷڞ௨ݴޠΛ·ֶͣΜͩ • σʔληϯλʔͰͷૢ࡞ͷنఆ • ো֐۠෼ •

    ηΩϡϦςΟنఆͳͲ  ӡ༻ຊ෦ͷڞ௨ݴޠΛ·ֶͣͿ
  15. αΠϘ΢ζData CenterΛࢧ͑ΔΠϯϑϥQAͷ௅ઓ ΑΓ https://speakerdeck.com/cybozuinsideout/saibouzudata-centerwozhi-eruinhuraqafalsetiao-zhan?slide=19

  16. ମݧೖ෦Ͱ΍ͬͨ͜ͱ 43&νʔϜͷ։ൃλεΫ ຊ൪؀ڥΞΧ΢ϯτͷऔಘ ো֐ରԠʢͷݟֶʣ 43&ʹඞཁͳٕज़ͷௐࠪ

  17. ମݧೖ෦Λऴ͑ͯ • ج൫पΓɺϛυϧ΢ΣΞͷௐࠪͷצॴ͕গ͠Ͱ΋ΈΕͨͷ͸Α͔ͬͨ • ো֐ରԠ࣌ʹSREϝϯόʔ͕·ͣͲ͏͍͏ͱ͜Ζ͔Βௐ͍ࠪͯ͠Δͷ͔ ͕Θ͔͚ͬͨͩͰ΋ɺԠ༻͠΍͍͢ • ͍·ͷαΠϘ΢ζͷج൫ͷ໰୊఺΋Θ͔͖ͬͯͨͷͰɺ ࠓޙͷSREΛަ͑ͯͷٞ࿦͕͠΍͘͢ͳͬͨ •

    ԼճΓɾੑೳ໰୊Ͱࠔͬͨ࣌ʹSREʹґཔɾ૬ஊ͕͠΍͘͢ͳͬͨ