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

AWS-ISV-SaaS-Seminar-2019-10-28-Tokyo

Daiji Hirata
October 28, 2019

 AWS-ISV-SaaS-Seminar-2019-10-28-Tokyo

MovableType.net の構築での経験を通じて得られた経験、知見をまとめました。
2019.10.28 AWS の ISV/SaaS ベンダー向けセミナーにて

Daiji Hirata

October 28, 2019
Tweet

More Decks by Daiji Hirata

Other Decks in Business

Transcript

  1. γοΫεɾΞύʔτͷ

    4BB4΁ͷऔΓ૊Έ
    "84*474BB44FNJOBS5PLZP
    %BJKJ)JSBUB

    View full-size slide

  2. γοΫεɾΞύʔτͱ͸
    ϒϩά΍8FC$.4ɺؔ࿈αʔϏεΛ
    ྦྷܭ਺ສࣾʹఏڙ͍ͯ͠·͢

    View full-size slide

  3. Ԋֵ
    w೥.PWBCMF5ZQFެ։ αϯϑϥϯγεί

    w೥೔ຊ๏ਓઃཱ
    w೥ΠϯϑΥίϜ͕೔ຊ๏ਓΛങऩɺຊࣾ΋೔ຊ๏ਓʹҠ؅
    w೥ʹͯಠཱɺશ໘ϦϞʔτϫʔΫԽ

    View full-size slide

  4. ͻΒ͍ͨͩ͡
    4JY"QBSU
    %JSFDUPS $50
    !IJSBUB

    View full-size slide

  5. ࠃ಺ͰγΣΞ/P
    γοΫεɾΞύʔτ 88.6%
    A 1.7%
    B 1.6%
    C 1.1%
    ͦͷଞ 7.0%
    ෋࢜Ωϝϥ૯ݚʰιϑτ΢ΣΞϏδωε৽ࢢ৔2018೥൛ʱσʔλΑΓ
    ೔ܦฏۉגՁ
    ߏ੒اۀ ࣾ

    ౦ূҰ෦্৔


    ೔ຊͷࠃཱେֶ ߍ

    ೔ຊʹ͋Δ
    ͢΂ͯͷେֶ ߍ

    γοΫεɾΞύʔτௐ΂
    ༗ঈ$.4ιϑτ΢ΣΞͷࢢ৔γΣΞ ຊ਺ϕʔε

    View full-size slide

  6. αʔϏεϥΠϯφοϓ

    View full-size slide

  7. .PWBCMF5ZQFͷಛ௕
    w ೥Ҏ্ͷྺ࢙rޓ׵ੑΛॏࢹ
    w .5.-r؆୯͔ͭڧྗͳςϯϓϨʔτݴޠ
    w ॊೈͳΞʔΧΠϒϚοϐϯά
    w ֦ுੑͷߴ͍ϓϥάΠϯػߏ
    w ηΩϡϦςΟॏࢹ
    w ੩తϑΝΠϧग़ྗΛϕʔεʹಈతੜ੒ʹ΋ରԠ
    w ೔ຊͰ͸ࣄ্࣮ඪ४ͷ$.4ʹ੒௕

    View full-size slide

  8. .PWBCMF5ZQFͷಛ௕

    w ڧྗͳ%BUB"1*
    w )FBEMFTT$.4ಠࣗͷ؅ཧը໘ͷߏஙΞϓϦͷόοΫΤϯυʹ

    w ॊೈͳίϯςϯπλΠϓͷఆٛ
    w ίϯςϯπߏ଄Λࣗ༝ʹઃఆՄೳʹ

    View full-size slide

  9. ιϑτ΢ΣΞ൛ Ϋϥ΢υ൛ .5GPS"84
    ओʹΦϯϓϨ޲͚
    ϓϦΠϯετʔϧͷ7.Λ

    ؀ڥ͝ͱఏڙ
    "84.BSLFUQMBDFܦ༝Ͱ

    ϓϦΠϯετʔϧͷ
    ".*Λൢച
    ϥΠηϯεສԁ

    ϝϯςφϯε ೥
    ສԁ
    Χ݄ ԁʙ IPVS

    View full-size slide

  10. খதن໛ͷ΢ΣϒαΠτ੍࡞ɾӡӦʹ࠷ద
    ֹ݄໿ ԁ͔Βొ࿥͢Ε͹͙͢ʹ࢖͑Δ
    ϝϯςφϯεϑϦʔͷ΢ΣϒαʔϏεܕߴػೳ$.4

    View full-size slide

  11. ೥ͷϥΠϯφοϓ
    ιϑτ΢ΣΞ൛

    View full-size slide

  12. ౰࣌ͷঢ়گ
    wੈͷத
    w ΦϯσϚϯυͰͷར༻ͷχʔζ͕ߴ·͖ͬͯͨ
    w౰ࣾͷࣄ৘
    w Ϛϧνςφϯτܕͷ4BB4αʔϏεͷ։ൃʹ͸͕͔͔࣌ؒΔ

    View full-size slide

  13. wνϡʔχϯάࡁΈͷ.PWBCMF5ZQF͕

    ಈ࡞͢Δ7.؀ڥΛ·Δ͝ͱఏڙ
    wΦʔτΞοϓσʔτ
    w؂ࢹɾόοΫΞοϓ
    wࣗಈσϓϩΠɺࣗಈߏ੒
    Ϋϥ΢υ൛
    7.

    View full-size slide

  14. w"NB[PO-JOVY࠷దԽࡁΈ.PWBCMF5ZQF
    wΞοϓσʔτ༻ϨϙδτϦΛఏڙ
    w ίϚϯυͻͱͭͰΞοϓσʔτՄೳ


    sudo yum update movabletype

    GPS"84
    "NB[PO-JOVY".*
    &$*OTUBODF
    "84.BSLFUQMBDF

    View full-size slide

  15. "NB[PO.BSLFUQMBDF
    w".*Λ࡞ΕΕ͹ఏڙՄೳ
    w՝ۚ͸"84ܦ༝ɺ)PVSMZ .POUIMZ "OOVBM4VCTDSJQUJPOͳͲ͍Ζ͍Ζ
    wถࠃ๏ਓ͕ඞཁ
    w71$಺΍ΦʔτεέʔϦϯάͳͲʹ΋ରԠͰ͖͍ͯΔ
    wΠϯϑϥ͸ސ٬ଆͳͷͰɺ؂ࢹ΍όοΫΞοϓͳͲͷαʔϏε͸͍ͯ͠ͳ͍

    View full-size slide

  16. ՝୊
    7.͸ίετ͕ϦχΞʹൃੜ͢Δ
    ιϑτ΢ΣΞͷ։ൃαΠΫϧʹґଘ͍ͯ͠Δ
    ར༻ମݧͷൈຊతͳվળʹ͸ͳ͍ͬͯͳ͍
    ੬ऑੑରԠʹ΋ݶք

    View full-size slide

  17. .PWBCMF5ZQFOFU
    w ೥͔͚ͯαʔϏεͱͯ͠ൈຊతʹ։ൃ
    w Ϛϧνςφϯτ
    w ౰ॳ͸جຊػೳ͔ΒϦϦʔεɺܧଓతʹαʔϏε֦ॆ

    View full-size slide

  18. .PWBCMF5ZQFOFUͷಛ௕
    ☑ αʔϏεͳͷͰϢʔβʔొ࿥͢Δ͚ͩͰ͙͢࢖͑Δ
    ☑ αʔόʔ؅ཧ΍ιϑτ΢ΣΞͷ؅ཧ͕ෆཁͳͷͰɺηΩϡϦςΟ౳΋ؾʹͤͣʹ

    ҆৺ͯ͠ӡ༻͕Մೳ
    ☑ αʔόɺ$.4ͷར༻ྉ͢΂ֹ݄ͯ໿ ԁ͔Β҆Ձʹ࢝ΊΒΕΔ
    ☑ ϖʔδ͸׬શʹಈతԽ͞Ε͍ͯΔʢ࠶ߏஙͳ͠ʣ
    ☑ σβΠϯ͸)5.-ϨϕϧͰࣗ༝ʹฤूՄೳͰɺ$.4ͷσʔλ͸.5λάͱ͍͏

    ಠࣗλάͰ؆୯ʹѻ͑ΔɻςϯϓϨʔτࣗ༝ࣗࡏ
    ☑ εϚʔτϑΥϯʹରԠͨ͠ଈઓྗʹͳΔϨεϙϯγϒσβΠϯͷςʔϚΛෳ਺༻ҙ
    ☑ ؆୯ʹ࡞੒ઃஔ͕Ͱ͖ΔϑΥʔϜػೳΛඪ४Ͱ౥ࡌ
    ☑ ϫʔΫϑϩʔɺαΠτ಺ݕࡧɺεςʔδϯά΋౥ࡌɺϓϥάΠϯ͍Βͣ

    View full-size slide

  19. $MJFOU8FC'SPOUFOU
    $.44FSWJDFT
    NPWBCMFUZQFOFUBQQ
    NPWBCMFUZQFJP
    $MJFOU0CKFDUT

    View full-size slide

  20. αʔϏεͳΒͰ͸ͷϙΠϯτΛ঺հ

    View full-size slide

  21. ηΩϡϦςΟػೳॆ࣮
    ҆શͳӡӦʹʂ
    ؅ཧը໘ͷ*1ΞυϨε੍ݶ
    ؅ཧը໘ͷΞΫηεϩάఏڙ
    ϩάΠϯͷϝʔϧ௨஌ͳͲ͕ར
    ༻ՄೳͰ͢ɻ
    ສ͕ҰɺϝʔϧΞυϨε΍

    ύεϫʔυ͕࿙Ӯͯ͠΋

    ΢ΣϒαΠτ͸कΒΕ·͢ɻ

    View full-size slide

  22. ௥Ճඅ༻ͳ͠Ͱɺৗ࣌44-ରԠ
    ඪ४υϝΠϯ΋ಠࣗυϝΠϯ΋
    ແྉͰৗ࣌44-Խ
    ಠࣗυϝΠϯͷαΠτͰ͸ʮ-FU`T&ODSZQUʯͷ

    υϝΠϯೝূܕ44-ূ໌ॻΛ
    ඪ४υϝΠϯͰ͸ɺαʔϏεڞ௨ͷϫΠϧυΧʔυ
    44-ূ໌ॻΛར༻͠·͢ɻ

    αʔόূ໌ॻͷߋ৽͸ࣗಈͰɺ໘౗ͳαʔόূ໌ॻͷ
    ߋ৽࡞ۀΛߦ͏͜ͱͳ͘ɺৗ࣌44-ʹରԠͨ͠αΠτ
    Λӡ༻͢Δ͜ͱ͕ՄೳͰ͢ɻ
    ࣋ͪࠐΈ44-ূ໌ॻ΋ར༻0,

    ελϯμʔυϓϥϯҎ্

    View full-size slide

  23. ࠩ͠ସ͑༧໿ػೳ
    ӡ༻ͷॿ͚ͱͳΔࠩ͠ସ͑༧໿ػೳʂ
    ࢦఆͨ͠೔࣌ʹɺެ։͍ͯ͠Δهࣄ΍΢ΣϒϖʔδΛ
    ࠩ͠ସ͑Δ͜ͱ͕Մೳͳʮࠩ͠ସ͑༧໿ػೳʯ
    w ʮެ։தʯͷهࣄ͸ͦͷ··ʹɺߋ৽͢Δ಺༰Λ

    ʮࠩ͠ସ͑൛ʯͱͯ͠࡞੒
    w ࠩ͠ସ͑೔࣌ͷ༧໿͕Մೳ
    w ʮެ։தʯͷهࣄ͕ࠩ͠ସΘΔͨͼʹɺࣗಈతʹ

    ཤྺΛอଘ
    w ʮࠩ͠ସ͑൛ʯ͸աڈͷࠩ͠ସ͑ཤྺ΍ɺʮެ։தʯ
    ͷهࣄΛෳ੡ͯ͠࡞੒Մೳ
    IUUQTXXXZPVUVCFDPNXBUDI WG[+SL%;FP

    View full-size slide

  24. ڞ༗ϓϨϏϡʔػೳ
    ਪଌ͞Εʹ͍͘ݻఆͷ63-ͰϓϨϏϡʔͰ͖Δͷ
    Ͱɺࣾ಺֎ͷਓ΍ؔ܎ऀʹ಺༰Λ֬ೝͯ͠΋Β͏
    ͜ͱ͕ՄೳͰ͢ɻ
    ݸผϖʔδͷঢ়ଶ͚ͩͰ͸ͳ͘ɺτοϓϖʔδ
    ΍ҰཡϖʔδͰ͸ͲͷΑ͏ʹදࣔ͞ΕΔ͔Λެ
    ։લʹ֬ೝͰ͖Δͷ΋ಛ௕Ͱ͢ɻ
    ҆શͷͨΊύεϫʔυ΋ઃఆͰ͖·͢ɻ
    هࣄ΍΢ΣϒϖʔδΛ
    ެ։લʹΈΜͳͰ֬ೝ
    IUUQTXXXZPVUVCFDPNXBUDI WO$.59*4-C)D

    View full-size slide

  25. ϫʔΫϑϩʔػೳ
    εϜʔζͳӡӦʹʂ
    ίϯςϯπʢهࣄɾ΢ΣϒϖʔδʣΛެ։͢Δ·Ͱͷ
    ίϛϡχέʔγϣϯΛߦ͏ػೳ
    ϝʔϧͰ΋௨஌͠ɺαʔϏεͷΞΧ΢ϯτΛ࣋ͨͳ͍
    ϝϯόʔ΋ࢀՃՄೳ
    ελϯμʔυϓϥϯҎ্Ͱར༻Մೳ
    IUUQTXXXZPVUVCFDPNXBUDI WOH+929*UR*

    View full-size slide

  26. هࣄ΢Σϒϖʔδཤྺൺֱػೳ
    هࣄ΍΢ΣϒϖʔδΛอଘ͢Δ͝ͱʹཤྺ͕
    ࢒Γ·͢ɻཤྺΛࢀরͯ͠աڈͷঢ়ଶʹ໭͠
    ͨΓɺอଘ࣌ʹ͸จࣈ·ͰͷϝϞΛ࢒͢
    ͜ͱ͕Ͱ͖ΔͨΊɺมߋ಺༰΍ฤू಺༰ͳ
    ͲΛه࿥͓ͯ͘͜͠ͱ΋ՄೳͰ͢ɻ
    ߋ৽Λߦͬͨϝϯόʔ͸ɺཤྺͰ֬ೝͰ͖Δ
    ͨΊɺ୭͕ͲͷΑ͏ͳมߋΛߦ͔͙ͬͨ͢Θ
    ͔Γ·͢ɻ
    ෳ਺ͷϝϯόʔͰهࣄ΍΢ΣϒϖʔδΛ࡞Δͱ͖ʹศརʂ

    View full-size slide

  27. ϨεϙϯγϒϨΠΞ΢τͷ
    ϕʔεςʔϚΛར༻ͯ͠ޮ཰Ξοϓ

    View full-size slide

  28. ڧྗͳΠϯϙʔτػೳ
    ΠϯϙʔτରԠϑΥʔϚοτ
    w 8PSE1SFTT
    w .PWBCMF5ZQF
    w $47ܗࣜ
    ศརͳಛ௕
    w هࣄ಺ʹ࢖ΘΕ͍ͯΔը૾΍ϑΝΠϧΛ

    ͬͦ͝ΓΞΠςϜͱͯ͠Πϯϙʔτ
    w ΧελϜϑΟʔϧυ͋Γͷ.5͔ΒͷΠϯϙʔτ΋؆୯
    w &YDFMʹམͱ͠ࠐΊΕ͹ͳΜͰ΋؆୯ʹΠϯϙʔτ

    View full-size slide

  29. ϑΥʔϜػೳ
    ͓໰͍߹ΘͤͳͲʹ࢖͑Δ
    ϑΥʔϜػೳΛඪ४૷උ
    ࢦఆ͞ΕͨίʔυຒΊࠐΉ͚ͩͰ؆୯ʹ

    ͓໰͍߹ΘͤϑΥʔϜΛઃஔͰ͖·͢ɻ

    ߲໨΍ϥϕϧͳͲΛυϥοάυϩοϓͰ
    ࣗ༝ʹઃஔ͠ɺฒͼସ͑΋؆୯Ͱ͢ɻ

    ϑΝΠϧ΋ఴ෇Ͱ͖·͢ɻ

    View full-size slide

  30. 18"ରԠαϙʔτػೳ
    8FCϓογϡ௨஌ɾΦϑϥΠϯΩϟογϡ
    18" 1SPHSFTTJWF8FC"QQT
    Λར༻͢Δͱɺ
    ΢ΣϒαΠτΛωΠςΟϒΞϓϦʹ

    ఏڙͰ͖ΔΑ͏ʹͳΓ·͢ɻ
    8FCϓογϡ௨஌ͱΦϑϥΠϯΩϟογϡΛ
    αϙʔτ͍ͯ͠·͢ɻ
    ˞8FCϓογϡ௨஌͸ελϯμʔυϓϥϯҎ্Ͱར༻Ͱ͖·͢

    View full-size slide

  31. αΠτ಺ݕࡧ
    λάͭͰ؆୯ઃஔ
    ݕࡧൣғ͸ϒϩά୯ҐɺϑΥϧμ୯ҐͰ

    ࢦఆՄೳ
    ΧελϜϑΟʔϧυ΋ݕࡧର৅ʹ
    ݕࡧ૭ɺ݁Ռͷදࣔ΋ΧελϚΠζՄೳ

    View full-size slide

  32. εςʔδϯά
    wฤूதͷίϯςϯπɺςϯϓϨʔτɺϑΝΠϧͳͲ
    εςʔδϯά؀ڥͱͯ͠ϓϨϏϡʔՄೳ
    wෳ਺ͷεςʔδϯά؀ڥΛ࡞੒Մೳ
    wϘλϯͻͱͭͰຊ൪ʹద༻
    wࣗಈόοΫΞοϓͰϩʔϧόοΫ΋؆୯
    w௥Ճྉۚͳ͠ʂ
    ελϯμʔυϓϥϯҎ্Ͱఏڙ Ұ෦ϓϩϓϥϯҎ্

    View full-size slide

  33. ΞΫηγϏϦςΟνΣοΫ
    wϓϨϏϡʔը໘ͰΞΫηγϏϦςΟνΣοΫ͕Մೳ
    wهࣄɺ΢ΣϒϖʔδɺσβΠϯςϯϓϨʔτͷ

    ϓϨϏϡʔϖʔδͰ

    ʮ8$"( +*49
    ʯ

    Ϩϕϧ"ʙ"""४ڌͷνΣοΫ
    wϨϙʔτ΋֬ೝͰ͖Δ

    View full-size slide

  34. ೥ؒͰαʔϏεΛେ෯ʹ֦ॆ
    wϫʔΫϑϩʔɺڞ༗ϓϨϏϡʔ
    wεςʔδϯά
    wҰ෦͸ݸผʹαʔϏεԽˠιϑτ΢ΣΞ൛΍ଞͷ$.4Ͱ΋ར༻Մೳʹ
    w ϑΥʔϜ
    w αΠταʔν

    View full-size slide

  35. IUUQTNPWBCMFUZQFOFUGPSN
    λάΛషΓ෇͚Δ͚ͩͰ

    ͲΜͳαΠτʹ΋؆୯ʹઃஔͰ͖Δ
    ϑΥʔϜαʔϏεʂ
    ແྉͰ࢖͑ΔϑϦʔϓϥϯ΋

    ఏڙ։࢝͠·ͨ͠

    View full-size slide

  36. λάΛషΓ෇͚Δ͚ͩͰ

    ͲΜͳαΠτʹ΋؆୯ʹઃஔͰ͖Δ
    αΠτ಺ݕࡧαʔϏεʂ
    IUUQTNPWBCMFUZQFOFUTJUFTFBSDI

    View full-size slide

  37. αʔϏεԽͷ1SPT$POT
    wόʔδϣϯΞοϓʹ͓͚Δޓ׵ੑ֬อͷ໰୊͕ղܾ
    wӡ༻؀ڥ͕ߜΒΕΔ͜ͱʹΑΔ༷ʑͳӡ༻ɺ։ൃ্ͷϝϦοτ
    wૣ͍αΠΫϧͰͷػೳվળɺ֦ॆ͕Մೳ
    w੬ऑੑ΁ͷରԠ΋Ұׅ࣮ͯ͠ࢪՄೳʹ
    wίετߏ଄΋վળ
    wॳظඅ༻΋"84ͰεϞʔϧελʔτ͕Ͱ͖ͨ
    wεέʔϧ͠ʹ͍֦͘ுੑͷߴ͍ػೳͷऔΓࠐΈʹ͸ۤ࿑͍ͯ͠Δ

    View full-size slide

  38. ͓٬༷ͷ൓Ԡ
    w ΧελϚΠζཁ๬͸ࠜڧ͍ ͕ͩஅΘΔ

    w ػೳվળ·Ͱͷεϐʔυײɺѹ౗తͳίετϝϦοτʹ
    ߴ͍ධՁ
    w ಋೖ·Ͱͷεϐʔυ͕͕͋ͬͨ

    View full-size slide

  39. ར༻ࣄྫ
    w1BZ1BZגࣜձࣾ
    w ίʔϙϨʔταΠτͱ
    αʔϏεαΠτ
    w $MPVE'SPOUซ༻

    View full-size slide

  40. ՝୊
    w ܾࡁखஈͱྲྀ௨΁ͷରԠɺ௚ൢͱͷόϥϯε
    w ސ٬ͷηΩϡϦςΟɺϓϥΠόγʔϙϦγʔɺ

    ϦεΫϚωδϝϯτͱͷ੔߹ੑ

    View full-size slide

  41. ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠

    View full-size slide