ããã«ã¡ã¯ãCSãã¼ã ã®åæ¬ã§ãã
ä»åããã¯ããã°ããNginxãé¢ãã¦ååã®ãNginx + WordPress ãã¼ããã©ã³ãµã¼ç¯ãã®æ§æã§ã®éç¨ä¸ã®åé¡ç¹ããAWSã®ãµã¼ãã¹ã使ã£ã¦è§£æ¶ãã¦ããããã¨æãã¾ãã
ã¾ãã¯WordPressã®ç®¡çç»é¢ããç»åãã¢ãããã¼ãããå ´åã®åé¡ç¹ãã¿ã¦ã¿ã¾ãããã
ãã®ã¾ã¾ã§ã¯ã¢ãããã¼ãããç»åã¯3å°ã®Webãµã¼ãã¼ã®ã©ãã1ã¤ã«ããã¢ãããã¼ãããã¾ããã
ã¢ãããã¼ãæã«ãä»ã®WEBãµã¼ãã¼ã¨åæããå¦çãå ããããªã©ã®å¯¾çãèãããã¾ãããä»åã¯AWSã®ãµã¼ãã¹ãAmazon S3ãã¨WordPressã®ãã©ã°ã¤ã³ãAmazon S3 for WordPressãã使ã£ã¦ç°¡åã«ã§ããæ¹æ³ãåãããã¨æãã¾ãã
ç®æ¬¡
1. Amazon S3ã¨ã¯ï¼
ä»åãç»åã®ä¿åå ã¨ãã¦å©ç¨ããAWSã®ãµã¼ãã¹ã¯ãAmazon S3ãã¨ããAWSã®ã¹ãã¬ã¼ã¸ãµã¼ãã¹ã§ãã
ãã®ãµã¼ãã¹ã使ããã¨ã§Webãµã¼ãã¼å士ã®ç»åã®åæãåãå¿ è¦ããªããªããç»åã®ä¿åå ãSPOFï¼åä¸é害ç¹ï¼ã¨ãªãå¿é ããªããªãã¾ãã
S3ã¯AWSã®ãµã¼ãã¹ã¹ã¿ã¼ãæã«å§ã¾ã£ããµã¼ãã¹ã§ãåãã®æ¹ãå¤ãã¨æãã¾ãããç¥ããªãæ¹ã®ããã«S3ãã©ã®ãããªãµã¼ãã¹ãªã®ãå°ããããããã¦ã¿ããã¨æãã¾ãã
AWSã«ããã¨S3ã¯ã99.999999999% ã®å ç¢æ§ã¨ã99.99% ã®å¯ç¨æ§ãæä¾ããããè¨è¨ããã¦ãããã¨è¬³ããã¦ãã¾ãã
ã¤ã¾ãããS3ã«ãã¼ã¿ãä¿åãã¦ããã°ããã¼ã¿ãç¡ããªããã¨ã¯ã»ã¼ãªãããã¨ãããã¨ã§ãã
S3ã§ã¯ããã¼ã¿ã3ç®æã«ã³ãã¼ããã¦åãã¦ä¿åã«æåãããã¨ããä»çµã¿ã«ãªã£ã¦ãããæ´ã«ãã¼ã¿ã®èªå修復æ©è½ããããããããã ãã®ä¿¡é ¼æ§ãä¿ã¦ã¦ããããã§ãã
ä¿åã§ãããªãã¸ã§ã¯ãã®æ°ã«ä¸éããªãã®ã§ãWordPressã®ç»åã®ã¢ãããã¼ãå ã¨ãã¦åé¡ã«ãªããã¨ã¯ã¾ããªãã§ãããããã±ããã¨å¼ã°ããé åãä½æããããã«ãã¼ã¿ãä¿åããä»çµã¿ã«ãªã£ã¦ãã¾ãã
ããã¦ãå æ¥ãããªãããAWSã®ã°ãã¼ãã«ã«ã³ãã¡ã¬ã³ã¹ãre:Inventãã§S3ã®å¤ä¸ãï¼æ±äº¬ãªã¼ã¸ã§ã³ã§ã¯23%ï½26%ï¼ãçºè¡¨ãããæ´ã«ã財å¸ã«ãããããµã¼ãã¹ã«ãªãã¾ããã
â»ãã®æ¹æ³ã«ã¤ãã¦ã¯ã以ä¸ã®è¨äºã§æ¸ããã¦ããã ãã¾ããã
WordPress on Amazon S3
2. ä»åã®æ§æ
ä»åã®æ§æã¯ãååã®ãNginx + WordPress ãã¼ããã©ã³ãµã¼ç¯ãã®æ§æã®ã¾ã¾ãç»åã®ä¿åå ã®ã¿S3ã«ãã¾ããã3. Amazon S3 for WordPress
ã¾ããç»åã®ä¿åå ãS3ã«ããããã«ãWordPressã®ãã©ã°ã¤ã³ãAmazon S3 for WordPressããå°å ¥ãã¾ãã 管çç»é¢ããã¤ã³ã¹ãã¼ã«ãã¦è¨å®ç»é¢ã§ä»¥ä¸ã®ç»åã®ããã«AWSã®ã¢ã¯ã»ã¹ãã¼ã¨ã·ã¼ã¯ã¬ãããã¼ãä¿åãããã±ãããæå®ãã¾ãããã ããã§ç»åãã¢ãããã¼ãããæ稿ã«æ¿å ¥ããã ãã§ç»åã®ä¿åå ãããªã³ã¯å ãS3ã«å¤ããã¾ãã
â²WordPressã®ç®¡çç»é¢ã§AWSã®ã¢ã¯ã»ã¹ãã¼ã¨ã·ã¼ã¯ã¬ãããã¼ãä¿åå
ã®ãã±ãããæå®
â²ç»åã¢ãããã¼ãã®ç»é¢ã§ããªã³ã¯URLãS3ã®ãã®ã«ãªã£ã¦ããã®ã確èª
â²å
¬éå¾ãS3ã®ç»åã表示ããã¦ããã®ã確èª
4. ã¾ã¨ã
ããã§Webãµã¼ãã¼ãè² è·åæ£ããå ´åã®ãç»åã®ã¢ãããã¼ãå ã®åé¡ã解æ¶ãã¾ãããS3ãå©ç¨ãã¦ããã®ã§ãã¼ã¿ãç¡ããªããã¨ã¯ã»ã¼ãªãããã®é¨åãSPOFã«ãªããã¨ãããã¾ããã S3ã¯EBSã®ã¹ãããã·ã§ãããAMIãªã©ã®ä¿åå ã«ããªã£ã¦ãããAWSã®ãµã¼ãã¹ã®è¦ã¨ãªã£ã¦ããéè¦ãªãµã¼ãã¹ã§ãã AWS Management Consoleãããã¼ã¿ã®ã¢ãããã¼ããç°¡åã«ã§ãã¾ãã®ã§ãAWSãã¾ã å©ç¨ããã¦ããªãæ¹ã¯ã¾ãã¯S3ãã試ãã¦ã¿ã¦ã¯ãããã§ããããã ä»ãªãæ°è¦ã¢ã«ã¦ã³ãã§S3ãå©ç¨å¾ããã£ã³ãã¼ã³ã«ç³ãè¾¼ãã¨25ãã«åã®AWSç¡æã¯ã¼ãã³ãããããããã§ããæ°è¦ã¢ã«ã¦ã³ãä½æå¾ãAWSã®Amazon S3ãå©ç¨éå§ãã¦ããã ããã客æ§å ¨å¡ã«ä»ã ã25ãã«åã®AWSç¡æã¯ã¼ãã³ãã¬ã¼ã³ãï¼
ããã£ã³ãã¼ã³æéãã2012å¹´12æ11æ¥ï¼ç«ï¼ï½2012å¹´12æ28æ¥ï¼éï¼ã¾ã§
次åã¯ãç¾ç¶ã®æ§æã§SPOFã¨ãªã£ã¦ããMySQLã®ãã¼ã¿ãã¼ã¹ãµã¼ãã¼ãAWSã®ãµã¼ãã¹ã使ã£ã¦ã«ã¤ã¼ã³ãããã¨æãã¾ãã