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

Inside Nyah & Future - A case of "Private Cloud" using OpenStack -

Inside Nyah & Future - A case of "Private Cloud" using OpenStack -

社内勉強会で話したペパボのOpenStackプライベートクラウド"Nyah"のアーキテクチャと今後の改善方針について

Shinya Tsunematsu

November 30, 2017
Tweet

More Decks by Shinya Tsunematsu

Other Decks in Technology

Transcript

  1. "DBTFPGl1SJWBUF$MPVEzVTJOH0QFO4UBDL
    !UONU(.01FQBCP *OD
    ٕज़෦#13ࣨ5FDI.5(
    *OTJEF/ZBI'VUVSF

    View full-size slide

  2. ϓϦϯγύϧΤϯδχΞ
    ৗদ৳࠸!UONU
    ٕज़෦ٕज़ج൫νʔϜ
    IUUQTCMPHUONUJOGP

    View full-size slide

  3. ࠓ೔ͷ಺༰
    w/ZBIͷߏ੒ͱߏஙɾӡ༻ํ๏
    w/ZBIͷωοτϫʔΫΛؚΉ෺ཧɾ࿦ཧߏ੒
    w೔ࠒͷӡ༻ํ๏
    wࠓޙͷ/ZBIͷվળϓϥϯ
    wݱࡏͷ໰୊఺
    w࠷ۙͷ0QFO4UBDLपลٕज़঺հ
    wվળϓϥϯͱݱঢ়

    View full-size slide

  4. ࠓ೔ͷΰʔϧ
    w/ZBIͷߏ੒͕෼͔Δ
    w/ZBIͷӡ༻ํ๏͕෼͔Δ
    w/ZBIʹؔΘͬͯΈ͍ͨͱࢥ͏Α͏ʹͳΔ

    View full-size slide

  5. /ZBIͷߏ੒ͱߏஙɾӡ༻ํ๏

    View full-size slide

  6. 0QFO4UBDLͱ͸
    wΫϥ΢υߏங؀ڥ༻ͷιϑτ΢ΣΞ܈
    w1ZUIPOͰॻ͔Ε͍ͯΔ
    wϚΠΫϩαʔϏεΞʔΩςΫνϟ

    View full-size slide

  7. ϚΠΫϩαʔϏεΞʔΩςΫνϟ
    wαʔϏεʹΑΔίϯϙʔωϯτԽ
    wϏδωεέΠύϏϦςΟʹجͮ͘૊৫Խ
    wϓϩδΣΫτͰ͸ͳ͘ϓϩμΫτ
    wεϚʔτͳΤϯυϙΠϯτͱ୯७ͳύΠϓॲཧ
    w෼ࢄΨόφϯε
    w෼ࢄσʔλϚωδϝϯτ
    wΠϯϑϥͷࣗಈԽ
    wϑΣΠϧΛલఏͱͨ͠ઃܭ
    wਐԽతͳઃܭ
    IUUQNBSUJOGPXMFSDPNBSUJDMFTNJDSPTFSWJDFTIUNM

    View full-size slide

  8. IUUQTEPDTPQFOTUBDLPSHJOTUBMMHVJEFHFUTUBSUFEMPHJDBMBSDIJUFDUVSFIUNM

    View full-size slide

  9. IUUQTEPDTPQFOTUBDLPSHNJUBLBJOTUBMMHVJEFSEPDPNNPOHFU@TUBSUFE@DPODFQUVBM@BSDIJUFDUVSFIUNM

    View full-size slide

  10. ཁ͢Δʹͬ͘͟Γ஌͓͖͍ͬͯͨ͜ͱ
    w֤ίϯϙʔωϯτ͕"1*ܦ༝Ͱ࿈ܞ
    wίϯϙʔωϯτͷҰͭҰͭʹϓϩδΣΫτ໊
    w/PWB /FVUSPO ,FZTUPOF $JOEFS
    wͲͷίϯϙʔωϯτΛͲ͏഑ஔ͢Δ͔͸ߏஙɾӡ༻͢Δਓ࣍ୈ
    wʢଞͷϚΠΫϩαʔϏεΞʔΩςΫνϟͷಛੑ͸࣮ࡍӡ༻͍ͯ࣌͘͠
    ʹମײ͍ͯ͘͠͸ͣʣ

    View full-size slide

  11. ίϯϙʔωϯτͷΠϯετʔϧํ๏
    wʢ࠶ܝʣ1ZUIPOͰॻ͔Ε͍ͯΔ
    wιʔε͔ΒΠϯετʔϧ
    wHJUDMPOFIUUQTHJUIVCDPNPQFOTUBDLOPWBHJU
    wQZUIPOTFUVQQZCVJME
    wQZUIPOTFUVQQZJOTUBMM
    w֤σΟετϦϏϡʔγϣϯʹΑΔύοέʔδ
    wZVNJOTUBMMPQFOTUBDLOPWB

    View full-size slide

  12. ؆୯ͳσϓϩΠ
    w୆ʹશ෦ೖΓ"MMJO0OF
    w%FW4UBDL
    wιʔεʢ(JUNBTUFSʣ͔Βߏங
    w1BDLTUBDL CZ3%0QSPKFDU

    w31.͔Βߏங
    w7.ͳͲΛ࢖ͬͯࢼ͢͜ͱ͕Մೳ

    View full-size slide

  13. ୆Ͱ͸ຊ൪Ͱ࢖͑ͳ͍
    w֤ίϯϙʔωϯτʹ৑௕ੑΛ࣋ͨͤͯ؅ཧ͠ͳ͍ͱ͍͚ͳ͍
    wඞવతʹ഑ஔ͸ෳ਺୆ͷҟͳΔ෺ཧϚγϯʹ·͕ͨΔ͜ͱʹͳΔ
    wʢ࠶ܝʣͲͷίϯϙʔωϯτΛͲ͏഑ஔ͢Δ͔͸࢖͏ਓ࣍ୈ

    View full-size slide

  14. /ZBIͷ0QFO4UBDLίϯϙʔωϯτ഑ஔ
    wίϯϙʔωϯτຖͷཻ౓Ͱ,7.ͷ7.Λߏங
    wϕΞϝλϧʢ෺ཧʣNBOBHFY OFVUSPOY DPNQOPEFYෳ਺

    wNBOBHFʹ֤7.Λ഑ஔɺ୆Ͱ৑௕ߏ੒
    wOFVUSPO͸τϥϑΟοΫΛϑϧʹ࢖͏ͨΊ (

    wͦͷଞΛΠϯελϯεͷԾ૝ԽϦιʔεʹશৼΓ

    View full-size slide

  15. ίϯϙʔωϯτͷߏஙɾӡ༻ํ๏
    w6CVOUVͷύοέʔδͰߏங
    w$IFGͰ؅ཧIUUQTHJUQFQBCPDPNUFDIOZBIDIFG
    w)BWBOB OZBIDMBTTJD
    ࣌୅ʹ!QZBNBʹΑͬͯ࡞ΒΕɺ.JUBLB
    OZBI
    ༻ʹ!UONU͕վम
    w͍͍֤ͩͨίϯϙʔωϯτ͝ͱͷཻ౓ͰDPPLCPPL
    w71/ܦ༝Ͱ֤ϚγϯʢϕΞϝλϧɾ7.ʣʹϓϩϏδϣχϯά

    View full-size slide

  16. USFFE-
    ͍͍ͩͨ0QFO4UBDLίϯϙʔωϯτ͝ͱ

    View full-size slide

  17. SFDJQFFYBNQMF

    View full-size slide

  18. ೔ࠒͷӡ༻ϑϩʔ
    w(JU)VC'MPX
    w13Ͱमਖ਼ɾվળΛߦ͏
    w%SPOF %PDLFS4XBSNCBDLFOE
    Λར༻ͨ͠ϓϩϏδϣϯɾςετ
    ͷ$*
    w$IFGͷXSBQQFSίϚϯυͰϩʔϧʢίϯϙʔωϯτʣ͝ͱʹϓϩϏ
    δϣχϯά
    wUPPMTOZBIDIFGDPOWFSHFODPNQOPEF

    View full-size slide

  19. ઃఆมߋͱͦΕʹ൐͏੾Γ໭͠ͷ৺ཧతෛ୲
    wطଘͷ7.ʹ$IFGͰߋ৽ɾมߋΛ͔͚Δҝ
    w7.ͷલʹϩʔυόϥϯαΛڬΜͰ͓ΓɺҎԼͷखॱ͸Մೳʢٯʹ͢
    Ε͹ϩʔϧόοΫʣɻ͕ͩखؒʂ
    ৽͍͠ίϯϙʔωϯτ7.Λߏங͢Δ
    ϩʔυόϥϯαʹ௥Ճ͢Δ
    ݹ͍ίϯϙʔωϯτ7.Λϩʔυόϥϯα͔Β֎͢

    View full-size slide

  20. 0QFO4UBDLࣗମͷόʔδϣϯΞοϓ
    w͜Ε͸/ZBIͷΈͰͳ͘ɺଟ͘ͷϢʔβʔɺίϛϡχςΟશൠʹ͍͑Δ
    ໰୊
    wઃఆมߋͱ͍͏ҙຯͰ͸લϖʔδͱཧ༝͸ಉ͡
    w0QFO4UBDLࣗମ͸൒೥ʹ౓৽͍͠όʔδϣϯ͕ग़Δ
    w.JUBLB
    ˠ/FXUPO
    ˠ0DBUB

    ˠ1JLF

    w.JUBLBͰߏங͞Εͨ/ZBIɺ࣮͸αϙʔτతʹ͸&0-

    View full-size slide

  21. ·ͱΊΔͱ
    wվળίετ͕ߴ͍
    wվળεϐʔυ͕஗͍
    wͦͯ͠ͳʹΑΓl҆৺͍ͨ͠zʜ

    View full-size slide

  22. ,VCFSOFUFT LT

    wΫϥελԽ͞Εͨίϯςφͷӡ༻؅ཧπʔϧ
    wӡ༻ʹศརͳ֤छػೳΛඋ͍͑ͯΔ
    w"VUPNBUFESPMMPVUTBOESPMMCBDLT
    w4FSWJDFEJTDPWFSZBOEMPBECBMBODJOH
    w4FMGIFBMJOH
    wϚΠΫϩαʔϏεͱ਌࿨ੑ͕ߴ͍

    View full-size slide

  23. 0QFO4UBDLͷίϯϙʔωϯτΛ

    ίϯςφԽͯ͠

    ,VCFSOFUFTͰ؅ཧ͢Ε͹উͯΔͷͰ͸ʁ

    View full-size slide

  24. ࠷ۙͷ0QFO4UBDL ,VCFSOFUFTपΓ

    View full-size slide

  25. 0QFO4UBDL,PMMB

    w0QFO4UBDLͷ֤ίϯϙʔωϯτΛ%PDLFSίϯςφͱͯ͠ΠϝʔδԽɾ
    σϓϩΠ͢ΔϓϩδΣΫτ
    w/FXUPOରԠ൛ͰҎԼʹରԠ
    wݸͷ0QFO4UBDLίϯϙʔωϯτ
    wϩάऩू FMBTUJDTFBSDI )FLB

    wϞχλϦϯά *OqVY%# (SBGBOB

    View full-size slide

  26. 0QFO4UBDL,PMMB

    wطʹϏϧυ͞Ε͍ͯΔίϯςφΛར༻Մೳ
    wIUUQTIVCEPDLFSDPNVLPMMB
    wLPMMBQVMM LPMMBEFQMPZ౳"OTJCMFΛ࢖ͬͨσϓϩΠ
    w։ൃ؀ڥຊ൪؀ڥ
    w$POUBJOFS#BTFE%FQMPZNFOUͷົ
    w؀ڥͷࠩҟ͸ઃఆϑΝΠϧͰٵऩ͕Մೳ

    View full-size slide

  27. ,VCFSOFUFT)FMN
    w,VCFSOFUFTͷύοέʔδʢ$IBSUʣϚωʔδϟ
    wIUUQTHJUIVCDPNLVCFSOFUFTIFMN
    w$IBSU T
    IUUQTHJUIVCDPNLVCFSOFUFTDIBSUT
    wྫ͑͹ҎԼͰ,VCFSOFUFTʹNZTRMؔ࿈ͷϦιʔεʢ%FQMPZNFOU΍
    $POpH.BQ 1FSTJTUFOU7PMVNF$MBJNʣΛσϓϩΠग़དྷΔ
    wIFMNJOTUBMMTUBCMFNZTRM

    View full-size slide

  28. 0QFO4UBDL)FMN
    wIUUQTHJUIVCDPNPQFOTUBDLPQFOTUBDLIFMN
    w,PMMBͰ࡞ͬͨ0QFO4UBDLͷίϯϙʔωϯτͷ%PDLFSΠϝʔδΛɺ
    )FMNΛ࢖ͬͯ,VCFSOFUFTʹσϓϩΠ͢ΔϓϩδΣΫτ
    w ύϧεͷϑΝϧγͷϧγ͕ύʔδͰίΫʔϯʜ
    w֤ίϯϙʔωϯτ͕)FMNͷ$IBSUʹͳ͓ͬͯΓɺݸผͰσϓϩΠग़
    དྷΔ
    wIFMNJOTUBMMOBNFMJCWJSUMJCWJSUŠOBNFTQBDFPQFOTUBDL

    View full-size slide

  29. 5SJQMF0 0QFO4UBDLPO0QFO4UBDL

    w0QFO4UBDLͷ্ʹ0QFO4UBDLΛσϓϩΠ͢ΔΞʔΩςΫνϟ
    w6OEFSDMPVE
    w0WFSDMPVEΛΠϯετʔϧ͢ΔͨΊʹ࡞੒ɺར༻͞ΕΔ
    0QFO4UBDL*SPOJD)FBUͳͲΛ࢖༻͠0WFSDMPVEΛ࡞੒͢Δ
    w0WFSDMPVE
    w࣮ࡍʹ࢖༻͢Δ0QFO4UBDL؀ڥ

    View full-size slide

  30. 5SJQMF0 0QFO4UBDLPO0QFO4UBDL

    IUUQTXXXTMJEFTIBSFOFUUFDICMPHZBIPPZBIPPKBQBONFFUVQ

    View full-size slide

  31. 0,0 0QFO4UBDLPO,4PO0QFO4UBDL

    w5SJQMF0ͷ6OEFSDMPVE্ʹ,VCFSOFUFTΛσϓϩΠ͢Δ
    w1PEͱͯ͠0WFSDMPVEͷ0QFO4UBDLΛߏங͢Δ
    w0WFSDMPVE͸,VCFSOFUFTʹΑΔ༷ʑͳԸܙΛड͚Δ
    wBVUPIFBMJOHػೳʹΑΔࣗಈ෮چ
    w0WFSDMPVEͷόʔδϣϯ͝ͱʹॊೈͳ,VCFSOFUFTΫϥελΛߏங
    ͢ΔͳͲ

    View full-size slide

  32. 0,0 0QFO4UBDLPO,4PO0QFO4UBDL

    IUUQTXXXTMJEFTIBSFOFUUFDICMPHZBIPPZBIPPKBQBONFFUVQ

    View full-size slide

  33. ,7.ϕʔε͔Β,VCFSOFUFTϕʔε΁
    wPQFOTUBDLIFMNΛ࢖ͬͯ0, 0QFO4UBDLPO,VCFSOFUFT
    Λ࣮ݱ
    w0,0Λར༻͢Δ͔ݕ౼
    w.JUBLB/ZBIΛ6OEFSDMPVEʹͨ͠0,0ʁ

    View full-size slide

  34. .JUBLBΑΓ্ʢ/FXUPOҎ্ʣ΁
    w0QFO4UBDLPO,4Ͱɺ৽͍͠όʔδϣϯͷ0QFO4UBDLΛར༻Մೳ
    ʹ͢Δ
    wೝূ৘ใ΍طଘͷ؅ཧ৘ใʢΠϯελϯεɺωοτϫʔΫ౳ʣ͸ͦͷ
    ··ϚΠάϨʔγϣϯ͠ɺܧଓͯ͠ར༻Մೳʹ͢Δ
    wͦͷޙͷόʔδϣϯ΁͸ϩʔϦϯάΞοϓάϨʔυʹ͍ͯ͘͠

    View full-size slide

  35. ݱঢ়ͷਐḿ
    wPQFOTUBDLIFMN
    wࡁ"MMJO0OFͳ0QFOTUBDLPO,4؀ڥ
    wະࡁ.VMUJOPEFͷ0QFO4UBDLPO,4؀ڥ

    View full-size slide

  36. ·ͱΊ
    wݱࡏͷ/ZBIͷߏ੒ɾӡ༻ํ๏Λઆ໌ͨ͠
    wݱࡏͷӡ༻ͷ໰୊఺Λड़΂ͨ
    w໰୊Λղܾ͠͏Δ࠷ۙͷ0QFO4UBDL ,VCFSOFUTपลͷπʔϧɾΞʔ
    ΩςΫνϟʹ͍ͭͯ঺հͨ͠
    wݱࡏͷ໰୊఺ΛͲ͏ղܾ͔ͯ͘͠ͷϓϥϯΛड़΂ͨ

    View full-size slide

  37. ໨ඪ೥಺ʹར༻໨ॲΛཱͯΔʂʂ

    View full-size slide

  38. /ZBIͷࠓޙʹ͝ظ଴͍ͩ͘͞

    View full-size slide