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

IaaSをいじっている人が PaaSについて考えたこと / Should We Prepare Own PaaS?

IaaSをいじっている人が PaaSについて考えたこと / Should We Prepare Own PaaS?

OpenStackによる自社IaaSを構築・運用しているメンバーがOSSによる自社PaaSを準備するかどうか検討してみました

Shinya Tsunematsu

August 28, 2018
Tweet

More Decks by Shinya Tsunematsu

Other Decks in Technology

Transcript

  1. ݕ౼ฤ
    ৗদ৳࠸(.01FQBCP *OD
    ୈճ1BB4ษڧձ
    *BB4Λ͍͍ͬͯ͡Δਓ͕
    1BB4ʹ͍ͭͯߟ͑ͨ͜ͱ

    View full-size slide

  2. νʔϑςΫχΧϧϦʔυ
    ৗদ৳࠸!UONU
    ٕज़෦
    IUUQTCMPHUONUJOGP

    View full-size slide

  3. ໨࣍
    w(.0ϖύϘͷΠϯϑϥวྺ
    wࠓ·Ͱͷวྺ
    wΦϯϓϨظ
    w*BB4Ҡߦظ
    w࠷ۙͷঢ়گ
    wࠓޙͷల๬ͱ1BB4

    View full-size slide

  4. ͜ΕΛ΋ͱʹͨ͠ྺ࢙ͷ࿩Λ͠·͢
    IUUQTHJUIVCDPNDODGQSFTFOUBUJPOTCMPCNBTUFSKBQBOFTF$/$'@0WFSWJFX@+B+QQEG

    View full-size slide

  5. ࠓ·Ͱͷวྺ

    View full-size slide

  6. ೥·ͰͷΦϯϓϨӡ༻
    w೥lϩϦϙοϓϨϯλϧαʔόʔzελʔτ
    wҎ߱αʔϏεΛ৽نʹϦϦʔε͢Δͱ͖ʹ͸جຊΦϯϓϨ
    w෺ཧαʔόʔௐୡ͔Βελʔτ
    wαʔόʔ౤ೖͷϦʔυλΠϜ͕௕͍ʢϲ݄Ҏ্ʣ
    wετοΫܕͷϏδωεϞσϧ͕ଟ͍
    w૿Ճϖʔε೺Ѳ͸͋Δఔ౓Մೳ

    View full-size slide

  7. ΦϯϓϨӡ༻தͷ՝୊ʢʣ
    wαʔϏεͷ৽ن্ཱͪ͛࣌ͷϦʔυλΠϜ
    wΠϯϑϥʢ෺ཧαʔόʔͷ໘౗΋ݟΔʣΤϯδχΞͷΞαΠϯ͕೉
    ͍͠
    w࠷ॳͲΕ͚ͩͷྔΛ༻ҙ͓͚ͯ͠͹͍͍ͷ͔෼͔Βͳ͍
    w೥NJOOF IUUQTNJOOFDPN
    ϩʔϯν࣌͸"84Λબ୒
    wࣾͰॳͷ"84ར༻ࣄྫ

    View full-size slide

  8. ΦϯϓϨӡ༻தͷ՝୊ʢʣ
    wαʔϏε͕ଟ͍㲈෺ཧαʔόʔͷ؅ཧ͕େม
    w৽نαʔϏεϦϦʔε࣌ʹαʔόʔͷ৽نϞσϧ͕དྷͨΓ͢Δ
    wʮ͋Εɺ͋ͷϞσϧ΋͏ങ͑ͳ͍ͷʯ
    wϋʔυ͕มΘΔͱݕূ΍ϕϯνϚʔΫ΋େม

    View full-size slide

  9. Ҏ߱ɺҎԼࢿྉΑΓ
    IUUQTTQFBLFSEFDLDPNUONUQFQBCPTQSJWBUFDMPVEOZBIBGUFSUIBU

    View full-size slide

  10. εϥΠυ͜Ε͔ΒͷϖύϘͷٕज़

    IUUQTTQFBLFSEFDLDPNLFOUBSPFOHJOFFSJOHJOHNPQFQBCPJOD
    ୈճϖύϘςοΫΧϯϑΝϨϯεΛ։࠵͠·ͨ͠QCUFDI
    IUUQCMPHLFOUBSPLPSHFOUSZ

    View full-size slide

  11. /ZBIJT
    ϖύϘͷϓϥΠϕʔτΫϥ΢υͷίʔυωʔϜ
    0QFO4UBDLͰߏங͞ΕͨԾ૝Πϯϑϥج൫ʢ*BB4ʣ
    ֤αʔϏεɾ঎ࡐͷαʔόʔ؀ڥͱͯ͠ར༻͢Δɻॱ࣍
    Ҡߦத
    ೥݄ʹߏ૝ɺ݄ΑΓ0QFO4UBDLݕ౼։࢝
    ೥݄ΑΓαʔϏεར༻։࢝
    ࣾ಺޲͚༻్΍(JU)VC&OUFSQSJTFͳͲͰ͸طʹར༻

    View full-size slide

  12. εέʔϧΞοϓɾΞ΢τ͕༰қʹͳͬͨ
    HPPQFͰqBWPSɾ୆਺มߋΛ͠αʔϏε౤ೖ
    NJOOFͰΠϯελϯεΛ୆ಉ࣌௥Ճ
    ։ൃϝϯόʔ͕Πϯελϯεىಈ΍ϓϩϏδϣχϯάΛ
    ߦ͑ΔΑ͏ʹͳͬͨ

    ΑΓػಈతͳࣄۀల։

    View full-size slide

  13. ҆ఆͨ͠αʔϏεఏڙ
    େ͖ͳτϥϒϧ͸ແ͠
    શࣾͰར༻͢Δ(JU)VC&OUFSQSJTF΋ϗετ͍ͯ͠Δ
    0QFO4UBDLؔ࿈ͷো֐Ͱ͸ͳ͘ɺ෺ཧతͳ)8ނো͕
    ͨ·ʹ͋ΔΑ͏ͳΠϝʔδ
    σΟεΫͷσάϨʔυ ϝϞϦΤϥʔͳͲ
    .BDLFSFMʹ֤ͯίϯϙʔωϯτ7.ͷϞχλϦϯάΛ
    ࣮ࢪɾվળ͍ͯ͠Δ

    View full-size slide

  14. ίετ࡟ݮ
    )8΍Ϋϥ΢υαʔϏεͷΠχγϟϧ ϥϯχϯάඅ༻΋ݮͬ
    ͨ
    Πϯελϯεͷݟੵ΋Γͷਫ਼ࠪɺద੾ͳεϖοΫͷ४උ͕ߦ͑ΔΑ͏ʹͳͬ
    ͨ
    /ZBIͷίετ͸શར༻෼Λ҈෼
    IUUQTHJUIVCDPNZBPDMPVELBLJO
    HPPQFݮ NJOOFݮ
    ҆ఆ͠Ξϥʔτ౳ͷো֐ରԠ͕ݮͬͨ͜ͱͰɺαʔϏεͷӡ
    ༻ίετ΋Լ͕ͬͨ

    View full-size slide

  15. Πϯελϯεϩʔϧ΁
    αʔϏεͷΠϯϑϥ୲౰ऀͱͯ͠ײ͡Δ෭࣍తޮՌ
    ΠϯελϯεΛͨͯ΍͘͢ͳΓɺ෺ཧαʔόʹ͋Γ͕ͪͩͬ
    ͨ୆ʹෳ਺ͷ໾ׂΛࡉ͔͘෼ׂग़དྷͨ
    8αʔόͱ%#αʔό͕ಉډͩͱ͔
    HPPQFͰҠߦલޙͰ୯७ͳαʔόʢΠϯελϯεʣ୆਺
    ͕૿͍͑ͯΔཧ༝
    ߏ੒؅ཧπʔϧʢ1VQQFU͕ଟ͍ʣͷίʔυͷݟ௨͠΋Α
    ͘ͳΓ੔ཧ͕ߦ͑ͨ

    View full-size slide

  16. ॻ੶8FCαʔϏε։ൃపఈ߈ུ7PM
    ܧଓత8FCαʔϏεվળ
    "GUFS5IBU͜Ε͔Β΋ଓ͘

    ʮվળʯ΁ͷͱΓ͘Έ

    มԽͷࢭ·Βͳ͍ࣾձ৘੎ɾٕज़؀ڥ

    ʹΩϟονΞοϓ͢Δ

    View full-size slide

  17. ͦͷޙͷ/ZBIͷվળʹ͍ͭͯ͸ҎԼࢿྉ
    IUUQTTQFBLFSEFDLDPNUONUPQFOTUBDLNJHSBUJPODBTFTIJGUGSPNIBWBOBUPNJUBLB

    View full-size slide

  18. 8%#13&447PM
    w ୈষͳͥ0QFO4UBDLͳͷ͔
    w ୈষ0QFO4UBDLͷߏஙํ๏
    w ୈষ0QFO4UBDLͷૢ࡞ํ๏
    w ୈষ0QFO4UBDLͷઃܭͱӡ༻
    w ୈষ0QFO4UBDLͷ֤छ৘ใ

    View full-size slide

  19. ϓϥΠϕʔτΫϥ΢υʢ*BB4ʣಋೖϝϦοτ
    wΑΓػಈతͳࣄۀల։
    wαʔϏε͝ͱʹߦ͍ͬͯͨ෺ཧαʔόʔͷ؅ཧू໿
    wΦϯϓϨͷίετ࠷దԽ
    wશࣾతͳΠϯϑϥͷίετΧοτ
    w*OGSBTUSVDUVSFBT$PEFͷଅਐ

    View full-size slide

  20. ࠷ۙͷঢ়گ

    View full-size slide

  21. ೥ݱࡏͷΠϯϑϥӡ༻
    wϗεςΟϯά঎ࡐ͸ΦϯϓϨͰͷӡ༻͕ϝΠϯ
    wͦͷ΄͔"41ܥαʔϏε͸/ZBIͰͷӡ༻͕ϝΠϯ
    wετοΫܕͷϏδωεϞσϧ͕Ҿ͖ଓ͖ϕʔε
    wՃ͑ͯख਺ྉϏδωεͳͲ৽ͨͳϏδωεϞσϧ͕૿͑ͯདྷͨ
    wαʔϏεͷ੒௕΍ΞΫηεͷ૿Ճϖʔε͕ࠓ·ͰҎ্ʹݟੵ΋Γʹ
    ͘͘ͳ͍ͬͯΔ

    View full-size slide

  22. *BB4ͷར༻ঢ়گ
    w1SJWBUF$MPVE /ZBI

    w΄΅શࣾαʔϏεͰར༻த
    wϗεςΟϯά͸·ͨͪΐͬͱผ
    w1VCMJD$MPVE
    w"8471/Ͱ/ZBIͱ઀ଓͯ͠Ұ෦ར༻த
    w༻్΍εϖοΫʹΑͬͯ࢖͍෼͚͍ͯΔ

    View full-size slide

  23. ࢀߟϗεςΟϯά͸·ͨͪΐͬͱผʁ
    wϩϦϙοϓϨϯλϧαʔόʔ
    wWIPTUϕʔεʢԾ૝Խແ͠ʣ
    wϩϦϙοϓϚωʔδυΫϥ΢υ
    wίϯςφʢ)BDPOJXBIUUQTHJUIVCDPNIBDPOJXBIBDPOJXBʣϕʔε
    w͍ͣΕ΋ΦϯϓϨͰϝΠϯӡ༻
    w/ZBI͸εέʔϧΞ΢τ͕͋·Γඞཁͳ͍෦෼΍ػೳͷҰ෦Ͱར༻த

    View full-size slide

  24. *BB4ӡ༻Ͱͷ՝୊
    wαʔϏεͷ৽ن্ཱͪ͛࣌ͷϦʔυλΠϜ
    wΠϯϑϥʢ04 ϛυϧ΢ΣΞͷ໘౗ΛݟΔʣΤϯδχΞͷΞαΠϯ
    ͕೉͍͠
    wԾ૝Խ͞Εͨͱ͸͍͑ɺ͔ΒΠϯελϯεʢαʔόʔʣΛߏஙɾઃ
    ఆ͢Δͷ͸ͦΕͳΓʹ͕͔͔࣌ؒΔ

    View full-size slide

  25. Ұॹ΍ʂʂʂ

    View full-size slide

  26. ࣾͰͷ1BB4ར༻͕ଓ͘
    w೥TV[VSJ IUUQTTV[VSJKQ

    wࣾͰॳͷ)FSPLVར༻ࣄྫ ͨͩ͠/ZBIར༻։࢝લ

    w೥ΧϥʔϛʔϦϐʔτ IUUQTDPMPSNFSFQFBUKQ

    wͪ͜Β͸/ZBIར༻։࢝ޙ

    View full-size slide

  27. ϝϯόʔͷϒϩάهࣄ
    IUUQTUFDIQFQBCPDPNDPMPSNFSFQFBUPOIFSPLV

    View full-size slide

  28. ͳͥ)FSPLV͔
    IUUQTUFDIQFQBCPDPNDPMPSNFSFQFBUPOIFSPLV

    View full-size slide

  29. ͳΔ΄Ͳɺ෼͔Δ

    View full-size slide

  30. มΘ͍ͬͯͳ͍Θ͚Ͱ͸ͳ͍
    wاۀͷن໛͸੒௕͍ͯ͠Δ
    wΤϯδχΞ૊৫ɾ։ൃମ੍΋ॆ࣮͖͍ͯͯ͠Δ
    wؒʹ߹͍ͬͯͳ͍ͷ͸ʁʁ
    w։ൃମ੍ͱ։ൃεϐʔυʹԠ͑ΔΠϯϑϥ
    wΤϯδχΞͷੜ࢈ੑ޲্ʹد༩͢ΔϓϥοτϑΥʔϜ

    View full-size slide

  31. ࠓޙͷల๬

    View full-size slide

  32. Ұ୴੔ཧ
    w(.0ϖύϘͰ͸ΦϯϓϨˠ*BB4ͱϝΠϯͷΠϯϑϥج൫͕มΘͬͯ
    ͖ͨ
    wΠϯϑϥج൫ʹٻΊΒΕΔཁ݅΋มΘ͖͍ͬͯͯΔ
    wϏδωεϞσϧͷมԽ
    w։ൃεϐʔυͷߴ଎Խ
    wݱঢ়ͷ*BB4͚ͩͰ͸ରԠͰ͖ͳ͍γʔϯ΋ग़͖͍ͯͯΔ

    View full-size slide

  33. ͜ͷྲྀΕΛ஍ͰߦͬͯΔ
    IUUQTHJUIVCDPNDODGQSFTFOUBUJPOTCMPCNBTUFSKBQBOFTF$/$'@0WFSWJFX@+B+QQEG

    View full-size slide

  34. ϖύϘͱ$MPVE$PNQVUJOH
    wCZ!S@UBLBJTIJ
    w͙͢Ͱ͸ͳ͍͕ओཁͳٕज़ཁૉΛऔΓೖΕ͖ͯͨ
    wԾ૝Խ
    Φʔϓϯιʔε*BB4
    ˠ/ZBI

    wίϯςφ
    ˠ%SPOFʹΑΔ$*؀ڥ

    wQSPEVDUJPO؀ڥͰ͸·ͩ࢖͍ͬͯͳ͍
    w·ͩ·ͩ͜Ε͔Βͳͷ͸ίϯςφ Φʔϓϯιʔε1BB4

    View full-size slide

  35. ໪࿦શ෦ࣗલͰߏஙɾӡ༻͢Δඞཁ͸ͳ͍
    wͱ͸͍͑ΦϯϓϨˠ*BB4Ͱ͸ޮՌ͕͋ͬͨ
    w*BB4ޙ΋1VCMJD1SJWBUF$MPVEͰ)ZCSJE$MPVE͍ͯ͠Δ
    wίετɺ֦ுੑɺݎ࿚ੑͳͲʹΑͬͯద੾ͳํΛ࢖͏

    View full-size slide

  36. NJOOFͰͷϋΠϒϦουΫϥ΢υӡ༻
    IUUQTTQFBLFSEFDLDPNTIJSPNJOOFEFGBMTFIBJCVSJUVEPLVSBVEPZVOZPOH TMJEF

    View full-size slide

  37. զʑ͕ཉ͍͠ͷ͸બ୒ࢶͰ͋Δ
    wଟछଟ༷ͳબ୒ࢶΛɺඞཁʹԠͯ͡બ୒Ͱ͖ΔΑ͏ʹͳΔ
    wԿʹؔͯ͠΋ϝϦοτɾσϝϦοτ͕͋Δɻ஌Δɻཧղ͢Δ
    wཧղ্ͨ͠ͰɺԿΛ࢖͏ͷ͔ܾΊΔ
    wίϯςφ Φʔϓϯιʔε1BB4΋ࣗ෼ͨͪͰཧղͯ͠࢖͑Δʢ࡞ΕΔʣ
    Α͏ʹ͍ͨ͠

    View full-size slide

  38. ίϯςφΛ࢖͍͍ͨ
    w7.ͷىಈɺεέʔϧΞ΢τͷ࣌ؒΛૣ͍ͨ͘͠
    wଓɾ*BB4ӡ༻Ͱͷ՝୊
    w7.Ͱαʔϒ͍ͯ͠Δ8FCΞϓϦΛίϯςφԽ͍ͨ͠
    wίϯςφ࢖͍͍ͨˠࣗࣾαʔϏεͷఏڙج൫ͱͯ͠ͷίϯςφ࣮ߦ؀
    ڥ͕ཉ͍͠

    View full-size slide

  39. /,4 /ZBI$POUBJOFS4FSWJDF

    w#Z!S@UBLBJTIJ
    w,VCFSOFUFTΛ༻͍ͯߏங͍ͯ͠Δ
    w/ZBI্ʹߏஙͨ͠$POUBJOFSBTB4FSWJDF $BB4

    View full-size slide

  40. ࣗࣾ1BB4͕͋Δͱخ͍͔͠
    w৽نαʔϏε͸)FSPLVͷΑ͏ͳ1BB4αʔϏεͰͷϩʔϯν͕FBTZ
    wطଘͷ/ZBIͰՔಇ͍ͯ͠ΔαʔϏεʹͱͬͯ΋ɺ)FSPLVMJLFͳ1BB4
    ͕͋Ε͹։ൃޮ཰޲্ͷՄೳੑ΋͋ΔͷͰ͸
    w5XFMWF'BDUPS"QQ

    View full-size slide

  41. IUUQTDMPVEQMBUGPSNHPPHMFCMPHDPN5JNFUP)FMMP8PSME7.TWTDPOUBJOFSTWT1BB4WT'BB4IUNM

    View full-size slide

  42. IUUQTDMPVEQMBUGPSNHPPHMFCMPHDPN5JNFUP)FMMP8PSME7.TWTDPOUBJOFSTWT1BB4WT'BB4IUNM
    /ZBI /,4

    View full-size slide

  43. 1BB4 'BB4͸,VCFSOFUFT্Ͱӡ༻͢Δʁ
    w*BB4 /ZBI

    w0QFO4UBDL
    w$BB4 /,4

    w,VCFSOFUFTPO0QFO4UBDL
    w1BB4 'BB4 ·ͩͳ͍

    w PO,VCFSOFUFT

    View full-size slide

  44. ͸ԿʹͳΔ͔
    w,OBUJWF
    w0QFO4IJGU

    View full-size slide

  45. ,OBUJWFΊͬͪΌؾʹͳΔ

    View full-size slide

  46. ࢼͨ݁͠ՌΛࠓ೔ൃද͔ͨͬͨ͠ʜ

    View full-size slide

  47. গ͚ͩ͠৮Γ·ͨ͠
    w࠷ڧͷ4FSWFSMFTTϓϥοτϑΥʔϜʁ,OBUJWFΛಈ͔ͯ͠ΈΔ͍ͧ
    wIUUQTRJJUBDPNKBDPQFOJUFNTEGEDGBCDC
    wKBDPQFO
    w'BB4ͳಈ͖͸֬ೝͰ͖ͨ
    w,VCFSOFUFTͷΫϥελ͕͋Ε͹ϗϯτʹ͙͢ಈ͘ͱ͍͏ײ૝

    View full-size slide

  48. ·ͱΊ
    wฐࣾͰͷΠϯϑϥࣄྫΛ঺հ
    wࣗࣾαʔϏεͷӡ༻ج൫ͱͯ͠ͷϓϥΠϕʔτ*BB4 $BB4
    w͍ͣΕͷϓϥοτϑΥʔϜ΋ࣾ಺֎Ͱ৭ʑબ΂ΔΑ͏ʹ͍ͨ͠
    wϓϥΠϕʔτ1BB4΋ඞཁʹײ͖͍ͯͯ͡Δ
    wͦͷ࣮ݱํ๏ͱͯ͠ࠓ͸ಛʹ,OBUJWFʹڵຯ͕͋Δ
    wݕ౼ฤͩͬͨͷͰ࣮࣍ͦ͜ફฤͰʜʂʂ

    View full-size slide