How to use "JIN-KEI" AWS CloudFormation Template

Bdaf0b291f02fe64a02cdf592a8a0c8f?s=47 AMIMOTO
March 30, 2016

How to use "JIN-KEI" AWS CloudFormation Template

This CloudFormation stack provides high performance WordPress.
By saving data from DataBase to RDS and saving media to S3, you can recover WordPress from server failure.
CloudFront is installed in front of the site to help reduce server load and let it correspond with lower latency to same time overseas access.

Bdaf0b291f02fe64a02cdf592a8a0c8f?s=128

AMIMOTO

March 30, 2016
Tweet

Transcript

  1. 1 CLOUD FORMATION THE SIMPLEST CLOUDFORMATION STACK

  2. WORDPRESS POWERED BY JINKEI $-06%'03."5*0/5&.1-"5&'03".*.050".* 015*.*4&%3%4"/%$%/3&"%: &"4:5045"358*5)"84."3,&51-"$&

  3. 3

  4. 4 PREPARATIONS $3&"5&,&:1"*350&/"#-&50"$$&445)&4&37&35)306()44)4'51

  5. 4*(/*/ 4*(/*/50".";0/8&#4&37*$&4 5

  6. $3&"5&,&:1"*3 $3&"5&,&:1"*350"$$&445)&4&37&35)306()44)4'51 6

  7. $3&"5&,&:1"*3 $-*$,<$3&"5&,&:1"*3> 7

  8. */165,&:1"*3/".& */165/6.&3*$"-"/%"-1)"#&5*$"--&55&34 5)&/$-*$,<$3&"5&> 8

  9. ,&:1"*3$3&"5*0/*4$0.1-&5&% 9

  10. %08/-0"%&%,&:1"*3'*-& 1-&"4&)"/%-&5)*4'*-&7&3:$"3&'6--: 10

  11. 11 SETTING UP CLOUDFORMATION

  12. "$$&4450"84."3$,&51-"$& )5514"84".";0/$0.."3,&51-"$&11#-8)7+) 12

  13. $0/5*/6& $-*$,<$0/5*/6&> 13

  14. $6450.-"6/$) $)004&<$6450.-"6/$)> 14

  15. 4&-&$5"7&34*0/ 4&-&$55)&-"5&457&34*0/'03.<4&-&$5"7&34*0/>.&/6 15

  16. 4&-&$5"3&(*0/ 4&-&$55)&/&"3&453&(*0/'30.<4&-&$5"3&(*0/>.&/6 16

  17. %&1-0:.&/5015*0/4 4&-&$5803%13&44108&3&%#:+*/,&* 4*.1-&45"$,)7. 17

  18. 40'58"3&13*/5*/( $)004&)063-:"//6"-'30.40'58"3&13*$*/(4&$5*0/ 18

  19. -"6/$) $-*$,-"6/$)8*5)$-06%'03."5*0/$0/40-& 19

  20. 4&-&$55&.1-"5&4&$5*0/<$)004&"5&.1-"5&> $)&$,41&$*':"/".";0/45&.1-"5&63-
 ˞%0/`5$)"/(&*5463- 20

  21. $-*$,/&95 "'5&3$)004*/(5&.1-"5& $-*$,</&95>#6550/ 21

  22. */16545"$,/".& 45"$,/".&/".&0'5&.1-"5&:06`---"6/$) 22

  23. $)004&"7"*-"#*-*5:;0/& $)004&05)&3"7"*-"#*-*5:;0/&5)"/4&$0/%"3:"7"*-"#*-*5:;0/& 23

  24. */1657"-6&'03%#"--0$"5&%4503"(& ˞%&'"6-57"-6&803,4'*/& 24

  25. */45"/$&5:1& %&'"6-5$-"3(& 3&$0..&/%&% 25

  26. $)004&,&:/".& 4&-&$5$3&"5&%,&:1"*3*/13&1"3"5*0/45&1 26

  27. */165.:42-1"44803% &/"#-&505)&5&.1-"5&$"/$0//&$5505)&%"5"#"4& 27

  28. 4&-&$53%4*/45"/$&5:1& $)004&*/45"/$&4*;&0'%#4&37&3ɹ3&$0..&/%%#5.&%*6. 28

  29. 4&-&$54&$0/%"3:"7"*-"#*-*5:;0/& 4&-&$5";50%#4&37&3
 $)004&05)&3"7"*-"#*-*5:;0/&'30."7"*-"#*-*5:;0/&#&'03&4&-&$5&% 29

  30. 44)-0$"5*0/ */165$*%3#-0$,5)&:$"/44)50*/45"/$& '03/03&453*$5*0/4 30

  31. 015*0/4 5"((*/(:063"844&37*$&
 ,&:/".&7"-6&/".&0':0634*5&03%0."*/ 31

  32. $-*$,/&95 "'5&3*/165,&:"/%7"-6& $-*$,/&95 32

  33. $0/'*3."5*0/:0634&55*/(4 /0$)"/(4 $-*$,$3&"5&5045"35+*/,&* 33

  34. $3&"5&*/130(3&44 #005*/(%#"/%$%/4&37&34500˞*5.":5",&.*/ 34

  35. $3&"5&$0.1-&5& :06`--4&&$3&"5&@$0.1-&5&*/45"564'*&-% 35

  36. $01:,&:4"/%7"-6&40'0651654 &$*/45"/$&*%8&#4*5&63-$-06%'30/5%*453*#65*0/*%4.&%*"#6$,&563- "#07&'0631"*30',&:4"/%7"-6&48*--#&3&26*3&%50"'5&345&14 36

  37. "$$&44*/(8&#4*5& 50"$$&44*/(803%13&44 $-*$,<8&#4*5&63-> /05&"$$&4450&$*/45"/$& 7*"*5`416#-*$%/403*1"%%3&44 "3&%&/*&% 37

  38. */45"--803%13&44 $-*$,*/(8&#4*5&63-50*/45"-- 1"45&&$*/45"/$&*%50<:063*/45"/$&*%>5)&/$-*$,/&9545&1 38

  39. -"/(6"(& $)004&:063-"/(6"(& 39

  40. '*--*//&&%&%*/'03."5*0/ $-*$,*/45"--803%13&44 40

  41. 803%13&44*/45"--"5*0/*4$0.1-&5&% $-*$,-0(*/50"$$&44"%.*/"3&" 41

  42. 42 SETTING UP PLUG-INS

  43. /(*/9$"$)&$0/530--&3 $0/530-&/(*/91309:$"$)& ˞%*4"#-&#:%&'"6-5 $$-06%'30/5$-&"3$"$)& 163(&$%/$"$)&"650."5*$"--:8)&/ :0661%"5&104541"(&4 ˞&/"#-&#:%&'"6-5 /&1)*-"$3"7"5" 61-0"%.&%*"'*-&504"/%3&1-"$&63- 0'*5

    ˞&/"#-&#:%&'"6-5 4&5611-6(*/4 "$$&441-6(*/1"(&504&55*/(61&"$)1-6(*/4
  44. $$-06%'30/5$-&"3$"$)& */165$-06%'30/5%*453*#65*0/*%505)&#-"/, 44

  45. $$-06%'30/5$-&"3$"$)& $-*$,4"7&$)"/(& 45

  46. /&1)*-"$-"7"5" 4  4&55*/(4ˠ/&1)*-"$-"7"5" 46

  47. "843&(*0/4&-&$5*0/ $)004&5)&3&(*0/8)*$)5)&*/45"/$&:0645"35&% 47

  48. 4#6$,&5 $)004&5)&4".&/".&0'$-06%'03."5*0/*/4#6$,&5 48

  49. 463- */1654.&%*"#6$,&563-50463- 49

  50. 4503"(&$-"44 $)004&45"/%"3% 50

  51. /&1)*-"$-"7"5" 4  $-*$,4"7&$)"/(& 51

  52. /(*/9$"$)&$0/530--&3 4&55*/(4ˠ/(*/9$"$)& 52

  53. '03.03&"%7"/$&%4&55*/(4 )5514".*.050;&/%&4,$0.)$&/64"35*$-&4 )5514".*.050;&/%&4,$0.)$&/64"35*$-&4 53

  54. /(*/9$"$)&$0/530--&3 $-*$,4"7&$)"/(&4 54

  55. $)&$,.&%*"4"3&61-0"%&%504 104540.&.&%*" $)&$,4063$&$0%&0':0634*5&8*5)#3084&34`%&7&-01&34500-4 61-0"%&%.&%*"`463-*43&83*55&/"44.&%*"`463- 55

  56. 56 DELETION

  57. $-06%'03."5*0/45"$,%&-&5*0/ "$$&44$-06%'03."5*0/%"4)#0"3% 5)&/$-*$,"$5*0/4ˠ%&-&5&45"$, 57

  58. %&-&5&45"$, $-*$,:&4 %&-&5&50%&-&5&$0.1-&5&-: 58

  59. 71$%&-&5*0/ "$$&445071$%"4)#0"3% $-*$,"$5*0/ˠ%&-&5&71$ 59

  60. 71$%&-&5*0/ $0/'*3.%&-&5*/(71$ $-*$,%&-&5& 60

  61. 4#6$,&5%&-&5*0/ "$$&445071$%"4)#0"3%$)004&"$5*0/ˠ%&-&5&#6$,&5 61

  62. 4#6$,&5%&-&5*0/ $0/'*3.%&-&5*/(4#6$,&5 $-*$,%&-&5& 62

  63. 71$%&-&5*0/ "$$&445071$%"4)#0"3% $-*$,"$5*0/ˠ%&-&5&71$ 63