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

あるいはサイドカーでいっぱいの海

nwiizo
March 18, 2022

 あるいはサイドカーでいっぱいの海

3-shake SRE Tech Talk #3 https://3-shake.connpass.com/event/241284/ #SRETT

nwiizo

March 18, 2022
Tweet

More Decks by nwiizo

Other Decks in Technology

Transcript

  1. ೥݄೔TIBLF43&5FDI5BML!OXJJ[P
    ͋Δ͍͸αΠυΧʔͰ͍ͬͺ͍ͷւ

    View full-size slide

  2. ΞδΣϯμ
    w αΠυΧʔͱ͸
    w αΠυΧʔύλʔϯͷ࣮૷
    w αΠυΧʔύλʔϯΛࢧ͑Δٕज़

    View full-size slide

  3. αΠυΧʔͱ͸

    View full-size slide

  4. αΠυΧʔͱ͸
    ෼ࢄγεςϜʹ͓͚ΔσβΠϯύλʔϯͷҰͭ
    αΠυΧʔ͸ɺΞϓϦέʔγϣϯίϯςφΛ֦ுͯ͠ɺػೳ
    Λ௥Ճ͠·͢ɻαΠυΧʔΛ࢖༻ͯ͠طଘͷϨΨγʔΞϓϦ
    έʔγϣϯͳͲʹ΋ద༻Ͱ͖·͢ɻಉ༷ʹɺ͜ΕΒΛ࢖༻͠
    ͯɺҰൠతͳػೳͷ࣮૷Λඪ४Խ͢ΔίϯςφΛ࡞੒͢Δ͜
    ͱ΋Ͱ͖·͢ɻ

    4JEFDBS
    TUPSBHF
    IUUQTXXXPSFJMMZDPNMJCSBSZWJFXEFTJHOJOHEJTUSJCVUFETZTUFNTDIIUNM

    View full-size slide

  5. ίϯςφ؅ཧ༻ͷ୯Ұίϯςφύλʔϯ
    γϯάϧϊʔυɾϚϧνίϯςφɾύλʔϯ
    αΠυΧʔɾύλʔϯ
    Ξϯόαμʔɾύλʔϯ
    Ξμϓλʔɾύλʔϯ
    ෼ࢄΞϧΰϦζϜ༻ͷϚϧνϊʔυύλʔϯ
    Ϧʔμબग़ύλʔϯ
    ࡞ۀΩϡʔύλʔϯ
    εΩϟολʔɾΪϟβʔɾύλʔϯ

    IUUQTXXXVTFOJYPSHTZTUFN
    fi
    MFTDPOGFSFODFIPUDMPVEIPUDMPVE@CVSOTQEG
    ίϯςφΛ༻͍ͨ෼ࢄγεςϜʹ͓͚ΔσβΠϯύλʔϯ

    View full-size slide

  6. ίϯςφΛ༻͍ͨ෼ࢄγεςϜʹ͓͚ΔσβΠϯύλʔϯ

    IUUQTXXXVTFOJYPSHTZTUFN
    fi
    MFTDPOGFSFODFIPUDMPVEIPUDMPVE@CVSOTQEG
    4JEFDBS
    TUPSBHF
    αΠυΧʔɾύλʔϯ தͰಈ͘

    4JEFDBS

    "NCBTTBEPS
    Ξϯόαμʔɾύλʔϯ ಺͔Β֎

    4FSWJDF"
    4FSWJDF#
    4JEFDBS
    "EBQUFS
    Ξμϓλʔɾύλʔϯ ֎͔Β಺

    4FSWJDF"
    4FSWJDF#
    ෼ࢄΞϧΰϦζϜ༻ͷ

    Ϛϧνϊʔυύλʔϯ͸঺հ͠ͳ͍

    View full-size slide

  7. ίϯςφΛ༻͍ͨ෼ࢄγεςϜʹ͓͚ΔσβΠϯύλʔϯ
    ίϯςφ؅ཧ༻ͷ୯Ұίϯςφύλʔϯ
    γϯάϧϊʔυɾϚϧνίϯςφɾύλʔϯ
    αΠυΧʔɾύλʔϯ
    Ξϯόαμʔɾύλʔϯ
    Ξμϓλʔɾύλʔϯ
    ෼ࢄΞϧΰϦζϜ༻ͷϚϧνϊʔυύλʔϯ
    Ϧʔμબग़ύλʔϯ
    ࡞ۀΩϡʔύλʔϯ
    εΩϟολʔɾΪϟβʔɾύλʔϯ

    IUUQTXXXVTFOJYPSHTZTUFN
    fi
    MFTDPOGFSFODFIPUDMPVEIPUDMPVE@CVSOTQEG
    ͜ΕΒ͍͔ͭ͘ͷύλʔϯͷ૊Έ߹ΘͤΛ
    αΠυΧʔͱදݱͨ͠Γѻ͏͜ͱ͕ଟ͍

    View full-size slide

  8. $POUBJOFS(SPVQ
    BLB
    1PE

    View full-size slide

  9. αΠυΧʔύλʔϯͷ࣮૷ྫ%BQSͱ͸ʁ
    %JTUSJCVUFE"QQMJDBUJPO3VOUJNFͷུ

    %BQSͷಛ௃
    αΠυΧʔ EBQSE
    ܦ༝Ͱ)551H31$ʹΑΓ

    ೚ҙͷ։ൃݴޠ΍ϑϨʔϜϫʔΫͰ։ൃՄೳ
    ϕετϓϥΫςΟεΛαΠυΧʔͷ

    ϏϧσΟϯάϒϩοΫͱͯ͠ఏڙ

    %BQS"1*
    )551H31$
    "QQMJDBUJPO %BQSTJEFDBS
    ͜Ε͸ɺΞϯόαμʔɾύλʔϯͷಛ௃
    ෼ࢄΞϧΰϦζϜ༻ͷϚϧνϊʔυύλʔϯ΋ར༻͍ͯ͠Δ

    View full-size slide

  10. %BQSͷ0CTFSWBCJMJUZͷಛ௃ʹ͍ͭͯ
    %BQSΛར༻͢Δ͜ͱͰ0CTFSWBCJMJUZͷඪ४Խ
    αΠυΧʔσβΠϯύλʔϯʹ࣮ͯ૷
    %BQS͸αΠυΧʔͷػೳΛར༻ͯ͠

    0CTFSWBCJMJUZͷػೳ΋֦ு͓ΑͼɺػೳΛ௥Ճ

    %BQS͸ΞϓϦʹରͯ͠αΠυΧʔΛ࢖༻ͯ͠

    0CTFSWBCJMJUZͷҰൠԽඪ४Խ

    ͜Ε͸ɺΞμϓλʔɾύλʔϯͷಛ௃
    ͪ͜Β͸ɺ֎෦͔ΒͷΞΫηεʹରͯ͠ɺ൚༻తڞ௨ͳΠϯλϑΣʔεΛ࣋ͨͤΔ͜ͱΛ࣮ݱ͠·͢ɻ

    View full-size slide

  11. αΠυΧʔͷ࣮૷

    View full-size slide

  12. 1PEͰͷαΠυΧʔύλʔϯͷ࣮૷
    1PEʹ͓͚ΔαΠυΧʔͷಛੑ
    ϙου͕ىಈ͢Δͱɺ಺෦ͷෳ਺ͷίϯςφ͕ಉ࣌ʹελʔτ͠·͢ɻ
    ίϯςφؒͰ͸ɺωοτϫʔΫ΍σΟεΫͳͲͷ৘ใΛڞ༗͍ͯ͠·͢ɻ

    IUUQTLVCFSOFUFTJPEPDTDPODFQUTXPSLMPBETQPET
    ͜ͷ੍໿ʹ͓͍࣮ͯ૷Մೳ
    1PEʹ͓͚ΔαΠυΧʔͷϝϦοτ
    αΠυΧʔίϯςφ͸࠶ར༻ੑ͕ߴ͍
    ϙου಺ͷίϯςφ͝ͱʹ$16ͷ࢖༻࣌ؒͷ্ݶΛઃఆ͢Δ͜ͱ͕Մೳ
    αΠυΧʔίϯςφ͕ো֐ͷ෧͡ࠐΊͷڥքΛఏڙ͢Δ͜ͱ͕Ͱ͖ΔͳͲ

    View full-size slide

  13. 1PEͰͷαΠυΧʔύλʔϯͷ࣮૷
    ࠷΋Α͘ग़ͯ͘Δྫ
    αΠυΧʔίϯςφ͕֎෦͔ΒίϯςϯπΛऔಘ
    1PE಺Ͱڞ༗͍ͯ͠ΔσΟεΫΛߋ৽
    ͦΕΒΛ௨஌ ࣮૷͞Εͳ͍͜ͱ΋ଟ͍

    ΞϓϦέʔγϣϯ͕ߋ৽͞ΕͨσΟεΫΛಡΈࠐΈ

    IUUQTLVCFSOFUFTJPEPDTDPODFQUTXPSLMPBETQPET
    %FTJHOJOH%JTUSJCVUFE4ZTUFNTCZ#SFOEBO#VSOTΑΓ

    View full-size slide

  14. %BQSͰͷαΠυΧʔύλʔϯͷ࣮૷ %BQSEͷ*OWPLF

    4FSWJDF"͸ɺ4FSWJDF#Λλʔήοτͱͨ͠)551·ͨ͸H31$΁ͷ

    ݺͼग़͠Λߦ͍ɺ%BQSαΠυΧʔʹૹΒΕΔ
    %BQS͸ɺࢦఆ͞ΕͨϗεςΟϯάϓϥοτϑΥʔϜͰ࣮ߦ͞Ε͍ͯΔ

    ໊લղܾίϯϙʔωϯτΛ࢖༻ͯ͠ɺ4FSWJDF#ͷ৔ॴΛݕग़͠·͢ɻ
    %BQS͸ɺ4FSWJDF#ͷ%BQSαΠυΧʔʹϝοηʔδΛసૹ͠·͢ɻ
    %BQSαΠυΧʔؒͷ͢΂ͯͷίʔϧ͸ɺύϑΥʔϚϯεͷͨΊʹH31$Ͱߦ
    ΘΕ·͢ɻ4FSWJDFͱ%BQSαΠυΧʔؒͷݺͼग़͠ͷΈɺ)551·ͨ͸
    H31$ͷ͍ͣΕ͔ʹͳΓ·͢ɻ
    4FSWJDF#ͷ%BQSαΠυΧʔ͸ɺϦΫΤετΛ4FSWJDF#ͷࢦఆ͞Ε
    ͨΤϯυϙΠϯτʢ·ͨ͸ϝιουʣʹసૹ͠ɺ4FSWJDF#͸ͦͷϏδ
    ωεϩδοΫίʔυΛ࣮ߦ͠·͢ɻ
    4FSWJDF#͸4FSWJDF"ʹϨεϙϯεΛૹ৴͠·͢ɻ

    Ϩεϙϯε͸4FSWJDF#ͷαΠυΧʔʹૹΒΕ·͢ɻ
    %BQS͸ɺ4FSWJDF"ͷ%BQSαΠυΧʔʹϨεϙϯεΛసૹ͠·͢ɻ
    4FSWJDF"͸ϨεϙϯεΛड৴͠·͢ɻ

    IUUQTHJUIVCDPNEBQSEBQSCMPCNBTUFSDNEEBQSENBJOHP
    IUUQTEPDTEBQSJPEFWFMPQJOHBQQMJDBUJPOTCVJMEJOHCMPDLTTFSWJDF
    JOWPDBUJPOTFSWJDFJOWPDBUJPOPWFSWJFX
    %BQS"1*
    )551H31$
    4FSWJDF" %BQSTJEFDBS

    View full-size slide

  15. αΠυΧʔΛࢧ͑Δٕज़

    View full-size slide

  16. αΠυΧʔΛࢧ͑Δٕज़
    ,VCFSOFUFTαʔϏεϝογϡͰαΠυΧʔΛࢧ͑Δٕज़
    "ENJTTJPO8FCIPPL΍$3%Λ,VCFSOFUFTDPOUSPMMFSͳͲΛ༻͍ͨ

    ,VCFSOFUFTΛ֦ுͤͯ͞ίϯςφؒͷ৘ใΛڞ༗ͨ͠Γɺ1PE࡞੒࣌ʹ

    ಺༰ΛνΣοΫͯ͠ɺॻ͖׵͑ͨΓͯ͠αΠυΧʔΛ࡞੒ͨ͠Γ͍ͯ͠Δ
    1PE-JGFDZDMF্ͰαΠυΧʔΛࢧ͑Δٕज़
    1PE-JGFDZDMFͷ*OJUίϯςφ΍ΤϑΣϝϥϧίϯςφΛ༻͍ͯ,VCFSOFUFT্ʹσ
    ϓϩΠͨ͠ΓσϓϩΠલޙʹ͞·͟·ͳ࡞ۀΛߦΘͤΔ͜ͱʹΑͬͯ

    ԁ׈ͳ։ൃ΍ӡ༻ΛՄೳʹ͢Δ

    IUUQTLVCFSOFUFTJPKBEPDTDPODFQUTXPSLMPBETQPETQPEMJGFDZDMF

    View full-size slide

  17. ,VCFSOFUFT"ENJTTJPO8FCIPPLTͷҐஔ෇͚
    "ENJTTJPO8FCIPPLTͱ͸
    ,VCFSOFUFTϦιʔεΛૢ࡞͢Δࡍʹɺ࡞੒΍มߋͷ಺༰ΛνΣοΫͨ͠Γɺॻ͖׵͑
    ͨΓ͢Δ͜ͱ͕Ͱ͖Δػೳ
    NVUBUJOH"1*ͷϦΫΤετΛมߋ
    WBMJEBUJOH"1*ͷϦΫΤετͷݕূ
    %BQSEBQSTJEFDBSJOKFDUPS
    ΞϊςʔγϣϯΛ؀ڥม਺ͱͯ͠ಡΈࠐΜͰ%BQSEΛ೚ҙͷ1PEʹJOKFDU͠ɺ

    ΞϓϦέʔγϣϯ͕%BQSEͱ௨৴Ͱ͖ΔΑ͏ʹ͍ͯ͠·͢ɻ

    IUUQTLVCFSOFUFTJPCMPHBHVJEFUPLVCFSOFUFTBENJTTJPODPOUSPMMFST
    IUUQTEPDTEBQSJPDPODFQUTEBQSTFSWJDFTTJEFDBSJOKFDUPS

    View full-size slide

  18. ͞Β͹ɺαΠυΧʔ

    View full-size slide

  19. ͞Β͹ɺαΠυΧʔ
    )PXF#1'XJMMTPMWF4FSWJDF.FTI(PPECZF4JEFDBST
    αΠυΧʔͰ͸ͳ͘F#1'Λ༻͍ͨ,FSOFM.PEFMͰ4FSWJDF.FTIΛ࣮ݱ͢Δ
    αΠυΧʔ෼Φʔόʔϔου͕গͳ͘ͳΓɺαʔϏεϝογϡͰͷ՝୊͕খ͘͞ͳΔ
    σόοά͕೉͘͠ͳͬͨΓ໰୊఺΋ଟ͍ͱࢥ͏͕ٕज़తʹ͸໘നͦ͏ͩͱࢥͬͯΔ

    IUUQTJTPWBMFOUDPNCMPHQPTUFCQGTFSWJDFNFTI

    View full-size slide

  20. ࢀߟࢿྉ
    %FTJHOQBUUFSOTGPSDPOUBJOFSCBTFEEJTUSJCVUFETZTUFNT
    IUUQTXXXVTFOJYPSHTZTUFN
    fi
    MFTDPOGFSFODFIPUDMPVE
    IPUDMPVE@CVSOTQEG
    ίϯςφɾσβΠϯɾύλʔϯͷ࿦จཁ໿ɹ
    IUUQTRJJUBDPN.BIP5BLBSBJUFNTGDBGFDG
    )PXF#1'XJMMTPMWF4FSWJDF.FTI(PPECZF4JEFDBST
    IUUQTJTPWBMFOUDPNCMPHQPTUFCQGTFSWJDFNFTI
    %BQSTJEFDBS EBQSE
    PWFSWJFX
    IUUQTEPDTEBQSJPDPODFQUTEBQSTFSWJDFTTJEFDBS

    View full-size slide

  21. ࢀߟࢿྉ
    ,VCFSOFUFT%PDVNFOUBUJPO$PODFQUT8PSLMPBET1PET
    IUUQTLVCFSOFUFTJPEPDTDPODFQUTXPSLMPBETQPET
    ,VCFSOFUFT$VTUPN$POUSPMMFSΛखൈ͖Ͱ࡞Δٕज़
    IUUQTXXXUBLVUBLBIBTIJEFWMB[ZDVTUPNDPOUSPMMFSGPSLVCFSOFUFT
    )PXF#1'4USFBNMJOFTUIF4FSWJDF.FTI
    IUUQTUIFOFXTUBDLJPIPXFCQGTUSFBNMJOFTUIFTFSWJDFNFTI
    5SZF#1'QPXFSFE$JMJVN4FSWJDF.FTIKPJOUIFCFUBQSPHSBN
    IUUQTDJMJVNJPCMPHDJMJVNTFSWJDFNFTICFUB

    View full-size slide