{"id":54,"date":"2014-05-24T22:47:37","date_gmt":"2014-05-24T13:47:37","guid":{"rendered":"http:\/\/mantainc.co.jp\/?p=54"},"modified":"2019-10-27T17:15:22","modified_gmt":"2019-10-27T08:15:22","slug":"aws%e3%81%ae%e6%96%99%e9%87%91%e3%81%a8wordpress","status":"publish","type":"post","link":"https:\/\/blog.mi1.jp\/aws%e3%81%ae%e6%96%99%e9%87%91%e3%81%a8wordpress\/","title":{"rendered":"AWS\u306e\u6599\u91d1\u3068WordPress"},"content":{"rendered":"
\u3053\u306e\u30b5\u30a4\u30c8\u306fAWS(Amazon Web Service)<\/a>\u306e\u6a5f\u80fd\u3092\u6700\u5927\u9650\u306b\u6d3b\u304b\u3057\u3066\u4f5c\u3063\u305f\u3001\u3042\u308b\u610f\u5473\u5b9f\u9a13\u30b5\u30a4\u30c8\u3067\u3059\u3002<\/p>\n \u69cb\u6210\u56f3\u3092\u7c21\u5358\u306b\u8aac\u660e\u3059\u308b\u3068\u3001\u4e2d\u6838\u306b\u306a\u308b\u306e\u306fEC2<\/a>\u3067\u3001\u3053\u3053\u306b\u30d6\u30ed\u30b0\u30c4\u30fc\u30eb\u3067\u3042\u308bWordPress<\/a>\u3092\u5165\u308c\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n \u305d\u308c\u3092\u8ca0\u8377\u5206\u6563\u3055\u305b\u308b\u6a5f\u80fdELB(Elastic Load Balancing)<\/a>\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3067\u53d7\u3051\u3066\u3001CDN(Contents Delivery Network)<\/a>\u3067\u3042\u308bCloudFront<\/a>\u304c\u30b5\u30a4\u30c8\u3092\u8868\u793a\u3055\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n EC2, ELB\u306f\u7c73\u56fd\u897f\u90e8\u306e\u30aa\u30ec\u30b4\u30f3\u306b\u914d\u7f6e\u3057\u3066\u3044\u307e\u3059\u304c\u3001CDN\u306e\u304a\u304b\u3052\u3067\u3001\u65e5\u672c\u304b\u3089\u8868\u793a\u3059\u308b\u3068\u304d\u306f\u65e5\u672c\u56fd\u5185\u306e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u914d\u4fe1\u3055\u308c\u308b\u306e\u3067\u3001\u3068\u3066\u3082\u65e9\u304f\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n \u3053\u306e\u69cb\u6210\u3092\u7dad\u6301\u3059\u308b\u6599\u91d1\u306f\u7d041\u30f6\u6708(\u6b63\u78ba\u306b\u306f25\u65e5)\u3067$31.08\u3067\u3057\u305f\u3002\u5185\u8a33\u306f\u6b21\u306e\u901a\u308a\u3002<\/p>\n ELB\u3068EC2\u3067\u307b\u307c\u534a\u3005\u3068\u3044\u3063\u305f\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n AWS\u3092\u4f7f\u3044\u59cb\u3081\u3066\u304b\u30891\u5e74\u9593\u306f\u7121\u6599\u671f\u9593\u304c\u3042\u308a\u307e\u3059\u3002 \u3053\u306e\u30b5\u30a4\u30c8\u306eEC2\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u3001t1.micro\u3067\u3059\u304c\u3001\u30d6\u30ed\u30b0\u306b\u5fc5\u8981\u3068\u3055\u308c\u308b\u901a\u4fe1\u306fGET\u304c\u4e3b\u3067\u3001CDN\u69cb\u6210\u306a\u306e\u3067\u3053\u308c\u3067\u5341\u5206\uff08\u540c\u6642\u30a2\u30af\u30bb\u30b9\u30fb\u5373\u5fdc\u6027\u306b\u512a\u308c\u308b\uff09\u3067\u3059\u3002<\/p>\n \u6700\u65b0\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u304a\u3046\u3068\u3044\u3046\u30b3\u30f3\u30bb\u30d7\u30c8\u3067\u3001AMI<\/a>\u306fAmazon Linux AMI 2014.03<\/a>\u3092\u4f7f\u7528\u3002 Glacier<\/a>\u306e\u6599\u91d1\u304c$0.90\u304b\u304b\u3063\u3066\u307e\u3059\u304c\u3001\u5b9f\u306f\u3053\u306e\u30b5\u30a4\u30c8\u3068\u306f\u7121\u95a2\u4fc2\u306a\u500b\u4eba\u7684\u306a\u30c7\u30fc\u30bf\u309290GB\u307b\u3069\u4fdd\u5b58\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002AWS Glacier\u306f\u30b3\u30b9\u30c8\u9762\u30fb\u8010\u4e45\u6027\u3067\u6700\u3082\u512a\u308c\u305f\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30fc\u30d3\u30b9\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n \u30aa\u30ec\u30b4\u30f3\u30ea\u30fc\u30b8\u30e7\u30f3\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u7406\u7531\u306f\u3001\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u3088\u308a3\u5272\u307b\u3069\u5b89\u3044\u3053\u3068\u3001 CloudFront\u306e\u30a8\u30c3\u30b8\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u6771\u4eac\u306b\u3082\u3042\u308b\u306e\u3067\u3001\u5b9f\u969b\u3069\u3053\u306e\u30ea\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3082\u5909\u308f\u308a\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3068\u3044\u3046\u306e\u3082\u3001CloudFront\u304cPUT\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3046\u3048\u3001DNS\u3067\u3042\u308bRoute53<\/a>\u3068\u9023\u643a\u3057\u3066\u52d5\u7684\u306b\u30a2\u30c9\u30ec\u30b9\u3092\u6c7a\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n CloudFront\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001nslookup\u3059\u308b\u3068\u306a\u3093\u30688\u3064\u3082IP\u30a2\u30c9\u30ec\u30b9\u304c\u51fa\u3066\u304d\u307e\u3059\u3002\u3053\u308c\u306a\u3089\u3001DoS\u653b\u6483\u3067\u30c0\u30a6\u30f3\u3055\u305b\u3089\u308c\u308b\u3053\u3068\u3082\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<\/a>
<\/a>
\n\u79c1\u306e\u5834\u5408\u3001\u3059\u3067\u306b1\u5e74\u7d4c\u904e\u3057\u3066\u3044\u3066\u3053\u306e\u6599\u91d1\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n
\nPHP5.5\u3001MySQL5.5\u306bWordPress\u6700\u65b0\u7248\u3092\u4e57\u305b\u3066\u3044\u307e\u3059\u3002<\/p>\n\u6d88\u8cbb\u7a0e\u304c\u304b\u304b\u3089\u306a\u3044\u3053\u3068<\/del>\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002
\n\uff082015\/12\/26\u8ffd\u8a18 \u73fe\u5728\u3001\u6d88\u8cbb\u7a0e\u306f\u65e5\u672c\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u3069\u3053\u306e\u30ea\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3044\u3066\u3082\u304b\u304b\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff09<\/p>\n