AWS+WordPress.SkeletonでスケーラブルなWordPressサイトをつくる

 AWS+WordPress.SkeletonでスケーラブルなWordPressサイトをつくる

WordCamp kansai 2016 での発表資料です。

81011f5622102c067230901506f21e5f?s=128

gorou_178

July 10, 2016
Tweet

Transcript

  1. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU "84 8PSE1SFTT4LFMFUPOͰεέʔϥϒϧͳ 8PSE1SFTTαΠτΛͭ͘Δ  גࣜձࣾΠϊϕʔλʔɾδϟύϯ ݀Ҫྯ 

  2. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ΋͘͡ w ࣗݾ঺հ w εέʔϥϒϧͳαΠτͱ͸ w εέʔϥϒϧͳαΠτͷ՝୊ w

    ՝୊΁ͷରࡦ w ·ͱΊ 
  3. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ࣗݾ঺հ  w גࣜձࣾΠϊϕʔλʔɾδϟύϯ w 8FCΤϯδχΞ w ϑΝΠϧసૹαʔϏεʮUFOQVʯ

    w 8PSE1SFTTͰαΠτߏங w "84Λར༻ͨ͠αʔόߏஙɺอक
  4. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU "84 8PSE1SFTT4LFMFUPOͰεέʔϥϒϧͳ 8PSE1SFTTαΠτΛͭ͘Δ 

  5. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU "84 8PSE1SFTT4LFMFUPOͰεέʔϥϒϧͳ 8PSE1SFTTαΠτΛͭ͘Δ 

  6. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU εέʔϥϒϧͳαΠτͱ͸ w αʔό୆ͰαΠτΛެ։ w αʔόʹ໰୊͕ൃੜͯ͠μ΢ϯ w झຯͷϒϩάͳΒʜ·͍͍͔͊ w

    ͍΍ɺ޿ࠂషͬͯΔ͔Β17͕ˠ͚ͬ͜͏໰୊ w ͓࢓ࣄͰӡ༻͍ͯ͠ΔαΠτͳΒˠେ໰୊ 
  7. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU εέʔϥϒϧͳαΠτͱ͸ w αΠτΛαʔόෳ਺୆Ͱӡ༻ w ୆ʹ໰୊͕ൃੜͯ͠μ΢ϯͯ͠΋໰୊ͳ͘ΞΫηεͰ ͖ΔΑ͏ʹ͢Δ w ˠεέʔϥϒϧͳαΠτ

    
  8. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU αʔόΛ૿΍͚ͩ͢ͳΒ؆୯ʁ 

  9. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU େ͖ͳ՝୊͕ͭ 

  10. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ՝୊ϝσΟΞϑΝΠϧ 

  11. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ՝୊ϝσΟΞϑΝΠϧ 

  12. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ՝୊ϝσΟΞϑΝΠϧ 

  13. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ՝୊ϝσΟΞϑΝΠϧ w ϝσΟΞ w ؅ཧը໘͔Βը૾ΛΞοϓϩʔυ w ୆ʹ͔͠ը૾͕൓ө͞Εͳ͍ w

    શ୆ʹ൓ө͠ͳ͍ͱ͍͚ͳ͍ 
  14. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ՝୊8PSE1SFTTͷߋ৽ 

  15. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 8PSE1SFTTαΠτͷෳ਺୆ӡ༻ͷ՝୊ w 8PSE1SFTTͷߋ৽ w ϝσΟΞϑΝΠϧಉ༷ʹ୆ʹద༻͞ΕΔ w ϓϥάΠϯͷߋ৽΋ಉ༷ w

    ςʔϚͷߋ৽΋ಉ༷ʹશ୆ʹద༻͠ͳ͍ͱ͍͚ͳ͍ 
  16. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 

  17. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU "84ͱ8PSE1SFTT4LFMFUPOΛ ͏·͘׆༻ͯ͠ղܾ 

  18. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ରࡦϝσΟΞϑΝΠϧ 

  19. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ରࡦϝσΟΞϑΝΠϧ 

  20. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ରࡦϝσΟΞϑΝΠϧ 

  21. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ରࡦϝσΟΞϑΝΠϧ w ҎԼϓϥάΠϯͰϝσΟΞΛ֎෦Խ w "NB[PO8FC4FSWJDFTϓϥάΠϯ w 810⒐PBE4ϓϥάΠϯ 

  22. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ରࡦ8PSE1SFTTͷߋ৽ 

  23. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 8PSE1SFTTαΠτͷ όʔδϣϯ؅ཧ͍ͯ͠·͔͢ʁ 

  24. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ରࡦ8PSE1SFTTͷߋ৽ w 8PSE1SFTTͷόʔδϣϯ؅ཧ͸େม w ςʔϚ͚ͩ؅ཧˠݱ࣮త w ϓϥάΠϯ΍ίΞͷόʔδϣϯΞοϓ w

    ಈ͔ͳ͘ͳͬͨΒͲ͏͠Α͏ʜ w ΍ͬͺΓίΞ΍ϓϥάΠϯࣗମ΋؅ཧ͍ͨ͠ 
  25. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 

  26. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 

  27. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU  DIBOHFEpMFT 

  28. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU Կ͕Ͳ͏ͳͬͨͷ͔Θ͔Βͳ͍ 

  29. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 8PSE1SFTT4LFMFUPO 

  30. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 8PSE1SFTT4LFMFUPOͱ͸ w !UUTLDI͞Μ͕࡞੒ͨ͠8PSE1SFTTͷσΟϨΫτϦߏ ੒ςϯϓϨʔτ w 8PSE1SFTTͷίΞ΍ϓϥάΠϯΛࣗ෼ͷϦϙδτϦͰ όʔδϣϯ؅ཧͤͣʹɺશͯ$PNQPTFSͰ؅ཧ 

  31. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU $PNQPTFS 

  32. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU $PNQPTFSͱ͸ w 1)1ͷύοέʔδ؅ཧγεςϜ w ϓϩδΣΫτ͕ඞཁͱ͢ΔϥΠϒϥϦ΍ύοέʔδΛ ؅ཧͯ͘͠ΕΔ w ϥΠϒϥϦ͕ґଘ͍ͯ͠Δύοέʔδ΋ࣗಈతʹ؅ཧ

    
  33. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU $PNQPTFS w DPNQPTFSKTPOϑΝΠϧ 

  34. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU $PNQPTFSͰར༻Ͱ͖ΔςʔϚɾϓϥάΠϯ 

  35. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU $PNQPTFS w DPNQPTFSVQEBUF w 8PSE1SFTTίΞͷΞοϓσʔτ w ϓϥάΠϯͷΞοϓσʔτ 

  36. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 8PSE1SFTT4LFMFUPOσΟϨΫτϦߏ੒  w XQ8PSE1SFTTίΞ w XQDPOUFOUQMVHJOTϓϥάΠϯ ϑΥϧμ w

    XQDPOUFOUUIFNFTςʔϚϑΥ ϧμ w XQDPOUFOUVQMPBETϝσΟΞ ϑΥϧμ
  37. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 8PSE1SFTT4LFMFUPOσΟϨΫτϦߏ੒  w MPDBMDPOpHTBNQMFQIQ w MPDBMDPOpHQIQʹϦωʔϜ w σʔλʔϕʔεͷ઀ଓ৘ใΛॻ͖

    ࠐΉ w υΩϡϝϯτϧʔτ w XDLXQ w 63-ʹXQΛ෇͚ͳͯ͘͢Ή
  38. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 8PSE1SFTT4LFMFUPOσΟϨΫτϦߏ੒  w 8PSE1SFTTίΞͱϓϥάΠϯͱϝ σΟΞϑΝΠϧ͕ผϑΥϧμʹͳͬ ͍ͯΔ w HJUͷ؅ཧର৅͔Βআ֎Ͱ͖Δ

  39. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU 8PSE1SFTT4LFMFUPO w Πϯετʔϧ͢Δʮ8PSE1SFTTͷόʔδϣϯʯͱʮϓ ϥάΠϯʯΛDPNQPTFSKTPOͰ؅ཧ w ࡞੒͍ͯ͠ΔΦϦδφϧςʔϚͷ؅ཧ w ͜Ε͚ͩ

    ޙ͸͢΂ͯDPNQPTFS͕΍ͬͯ͘ΕΔʣ 
  40. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ରࡦ8PSE1SFTTͷߋ৽ w $PNQPTFSͰߋ৽Ͱ͖Δ͚Ͳ w શαʔόಉ࣌ʹߋ৽͢Δඞཁ͕͋Δ w ࠩ෼͕ൃੜ͢ΔͱϓϥάΠϯ͕ఀࢭͯ͠͠·͏ w

    ίΞͷߋ৽͸DPNQPTFSΛར༻ͯ͠΋αΠτఀࢭΛ໔ Εͳ͍ 
  41. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU #MVF(SFFO%FQMPZNFOU 

  42. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU #MVF(SFFO%FQMPZNFOU w ݱࡏͷߏ੒Λ΋͏ηοτಉ͡΋ͷΛ࡞੒ w ΋͏ηοτଆͷ४උ͕׬͔ྃͯ͠Β w ͦͷΞΫηεઌΛ੾Γସ͑Δ w

    ͱ͍͏ख๏ 
  43. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU #MVF(SFFO%FQMPZNFOU 

  44. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU #MVF(SFFO%FQMPZNFOU 

  45. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU #MVF(SFFO%FQMPZNFOU w DPNQPTFSͰίΞͷߋ৽Λͯ͠΋දࣔʹӨڹͳ͠ w ໰୊͕͋Ε͹੾Γସ͑ͣʹফ͚ͩ͢ w DPNQPTFSVQEBUFΛશαʔόʹద༻ w

    ͦͷ͋ͱ੾Γସ͑ w ໰୊͕ൃੜ͢ΔͷͰ͋Ε͹·ͨ੾Γସ͑ͯݩʹ໭͢ 
  46. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ීஈ͸ςʔϚ͚ͩߟ͑Ε͹Α͘ͳΔ ϓϥάΠϯͱίΞ͸ μ΢ϯλΠϜͳ͠ͰΞοϓσʔτ ΞΫηεঢ়گΛΈͯαʔό୆਺૿΍ͤΔ 

  47. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ͦΕͰ΋࢒Δ՝୊ w 8PSE1SFTTίΞͷ%#ϚΠάϨʔγϣϯ w XQDMJͷVQEBUFECͰ࣮ࢪՄೳ w 8PSE1SFTTϓϥάΠϯͷ%#ϚΠάϨʔγϣϯ w

    ݴޠϑΝΠϧͷμ΢ϯϩʔυ DPNQPTFSͰ؅ཧͰ͖ͳ ͍ 
  48. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ·ͱΊ w 8PSE1SFTTαΠτΛεέʔϥϒϧͳαΠτͱͯ͠ӡ༻͢ Δͷ͸޻෉͕ඞཁ w ϝσΟΞ͸4ʹஔ͘ w 8PSE1SFTT4LFMFUPOΛ׆༻͢Ε͹ɺόʔδϣϯ؅ཧ͕

    ؆୯ʹͳΔˠςʔϚͷ։ൃʹઐ೦Ͱ͖Δ w ϓϥάΠϯ΍ίΞͷߋ৽͸ɺશαʔόಉ࣌ʹߦ͏ඞཁ ͕͋Δ w #MVF(SFFO%FQMPZNFOUͰɺҰؾʹ੾Γସ͑ͯ͠·͏ 
  49. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ·ͱΊ w 813&45"1*ͷొ৔Ͱɺ8PSE1SFTT̍ͭʹରͯ͠ϑϩ ϯτ͕ෳ਺ͷߏ੒͕ग़ͯ͘Δ w ࠓͷ͏ͪʹόοΫΤϯυΛεέʔϥϒϧʹ͓ͯ͘͠ w ٸʹϑϩϯτ͕૿͑ͯ΋໰୊ͳ͍ߏ੒ʹ͓ͯ͘͜͠ͱ͸

    େࣄ w lGPSUIFGVUVSFzະདྷͷͨΊʹ४උΛ͍͖ͯ͠·͠ΐ͏ 
  50. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ͋Γ͕ͱ͏͍͟͝·ͨ͠ 

  51. גࣜձࣾΠϊϕʔλʔɾδϟύϯ XXXJOOPWBUPSKQOFU ࢀߟࢿྉ w ʲ8PSE1SFTT4LFMFUPOʳ8PSE1SFTTຊମ΍ϓϥάΠϯͷιʔεΛόʔδϣϯ؅ཧ͠ͳ͍ͰࡁΉεέϧτϯ Λ࡞Γ·ͨ͠26"35&5$0.5&$)#-0( w UUTLDI8PSE1SFTT4LFMFUPO(JU)VC w "VUP4DBMJOH؀ڥͰͷ#MVF(SFFO%FQMPZNFOUͷ੾ସ͕"84&-#ͰͰ͖ΔΑ͏ʹͳΓ·ͨ͠ɻ

    %FWFMPQFST*0 w "NB[PO8FC4FSWJDFTϓϥάΠϯ8PSE1SFTTPSH w 810⒐PBE4ϓϥάΠϯ8PSE1SFTTPSH w $PNQPTFS w 8PSE1SFTT1BDLBHJTU w 81$-*$PNNBOEMJOFJOUFSGBDFGPS8PSE1SFTT w XQDPSFVQEBUFECc81$-* w 813&45"1*