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

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

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

D7df6557c6b98f29ac546911e2b1a4d4?s=128

Shinya Tsunematsu

November 30, 2017
Tweet

Transcript

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

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

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

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

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

  6. ͓͞Β͍

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

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

    IUUQNBSUJOGPXMFSDPNBSUJDMFTNJDSPTFSWJDFTIUNM 
  9. IUUQTEPDTPQFOTUBDLPSHJOTUBMMHVJEFHFUTUBSUFEMPHJDBMBSDIJUFDUVSFIUNM

  10. None
  11. IUUQTEPDTPQFOTUBDLPSHNJUBLBJOTUBMMHVJEFSEPDPNNPOHFU@TUBSUFE@DPODFQUVBM@BSDIJUFDUVSFIUNM

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

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

  14. ؆୯ͳσϓϩΠ w୆ʹશ෦ೖΓ"MMJO0OF w%FW4UBDL wιʔεʢ(JUNBTUFSʣ͔Βߏங w1BDLTUBDL CZ3%0QSPKFDU  w31.͔Βߏங w7.ͳͲΛ࢖ͬͯࢼ͢͜ͱ͕Մೳ

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

  16. /ZBIͰ͸ʁ

  17. /ZBIͷ0QFO4UBDLίϯϙʔωϯτ഑ஔ wίϯϙʔωϯτຖͷཻ౓Ͱ,7.ͷ7.Λߏங wϕΞϝλϧʢ෺ཧʣNBOBHFY OFVUSPOY DPNQOPEFYෳ਺ ୆ wNBOBHFʹ֤7.Λ഑ஔɺ୆Ͱ৑௕ߏ੒ wOFVUSPO͸τϥϑΟοΫΛϑϧʹ࢖͏ͨΊ ( 

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

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

  21. SFDJQFFYBNQMF

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

  23. ໰୊఺

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

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

     
 ˠ1JLF   w.JUBLBͰߏங͞Εͨ/ZBIɺ࣮͸αϙʔτతʹ͸&0-
  26. ·ͱΊΔͱ wվળίετ͕ߴ͍ wվળεϐʔυ͕஗͍ wͦͯ͠ͳʹΑΓl҆৺͍ͨ͠zʜ

  27. ͱ͜ΖͰ

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

  29. 0QFO4UBDLͷίϯϙʔωϯτΛ
 ίϯςφԽͯ͠
 ,VCFSOFUFTͰ؅ཧ͢Ε͹উͯΔͷͰ͸ʁ

  30. ࠷ۙͷ0QFO4UBDL ,VCFSOFUFTपΓ

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

    wϞχλϦϯά *OqVY%# (SBGBOB
  32. 0QFO4UBDL,PMMB  wطʹϏϧυ͞Ε͍ͯΔίϯςφΛར༻Մೳ wIUUQTIVCEPDLFSDPNVLPMMB wLPMMBQVMM LPMMBEFQMPZ౳"OTJCMFΛ࢖ͬͨσϓϩΠ w։ൃ؀ڥຊ൪؀ڥ w$POUBJOFS#BTFE%FQMPZNFOUͷົ w؀ڥͷࠩҟ͸ઃఆϑΝΠϧͰٵऩ͕Մೳ

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

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

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

  36. 5SJQMF0 0QFO4UBDLPO0QFO4UBDL IUUQTXXXTMJEFTIBSFOFUUFDICMPHZBIPPZBIPPKBQBONFFUVQ

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

  38. 0,0 0QFO4UBDLPO,4PO0QFO4UBDL IUUQTXXXTMJEFTIBSFOFUUFDICMPHZBIPPZBIPPKBQBONFFUVQ

  39. վળϓϥϯ

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

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

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

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

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

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