{"id":15498,"date":"2021-12-08T17:52:35","date_gmt":"2021-12-08T08:52:35","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=15498"},"modified":"2023-05-27T17:50:54","modified_gmt":"2023-05-27T08:50:54","slug":"%e3%80%90aws%e3%80%91%e3%80%8cec2%e3%80%8d%e3%81%a8%e3%80%8cs3%e3%80%8d%e3%81%ae%e3%83%9b%e3%82%b9%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e6%af%94%e8%bc%83","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=15498","title":{"rendered":"\u3010AWS\u3011\u300cEC2\u300d\u3068\u300cS3\u300d\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u6bd4\u8f03"},"content":{"rendered":"<h2>\u69cb\u7bc9\u306b\u5fc5\u8981\u306a\u3082\u306e<\/h2>\n<h3>EC2\u306e\u5834\u5408<\/h3>\n<h4>EC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9<\/h4>\n<h4>EBS\u30b9\u30c8\u30ec\u30fc\u30b8<\/h4>\n<p>EC2\u306b\u30a2\u30bf\u30c3\u30c1\u3059\u308b\u5916\u4ed8\u3051\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3067\u3059\u3002<\/p>\n<h4>Elastic IP\u30a2\u30c9\u30ec\u30b9<\/h4>\n<p>\u7a3c\u50cd\u3057\u3066\u3044\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u4e00\u3064\u306b\u3064\u304d1\u3064\u306a\u3089\u6599\u91d1\u306f\u304b\u304b\u3089\u306a\u3044\u3002<\/p>\n<h4>Route53<\/h4>\n<h4>Let\u2019sEncrypt<\/h4>\n<p>\u7121\u6599\u306eSSL\u8a3c\u660e\u66f8\u3067\u3059\u3002<\/p>\n<h3>S3\u306e\u5834\u5408<\/h3>\n<h4>S3\u30d0\u30b1\u30c3\u30c8<\/h4>\n<h4>CloudFront<\/h4>\n<p>S3\u3067SSL\u5316\u3059\u308b\u3068\u304d\u306f\u3001CloudFront\u3092\u901a\u3057\u3066ACM\u3092\u901a\u3057\u3066SSL\u5316\u3057\u307e\u3059\u3002<\/p>\n<h4>ACM<\/h4>\n<p>\u7121\u6599\u306eSSL\u8a3c\u660e\u66f8\u3067\u3059\u3002ACM\u3092\u4f7f\u3046\u3068Amazon\u304c\u8a3c\u660e\u66f8\u3092\u81ea\u52d5\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u697d\u3067\u3059\u3002\u4e00\u822c\u7684\u306b\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306f\u5b89\u4fa1\u306a\u3082\u306e\u3067\u3082\u5e74\u9593\u6570\u5343\u5186\u306f\u304b\u304b\u3063\u3066\u304f\u308b\u306e\u3067\u7834\u683c\uff08\u3068\u3044\u3046\u304b\u7121\u6599\uff09\u3067\u3059\u306d\u3002<\/p>\n<h4>Route53<\/h4>\n<h2>\u6bd4\u8f03<\/h2>\n<h3>\u6599\u91d1\u9762<\/h3>\n<p>\u3053\u308c\u306fS3\u306e\u5727\u52dd\u3067\u3059\u3002\u3084\u306f\u308aEC2\u306f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u6599\u91d1\u304c1\u6642\u9593\u3054\u3068\u306b\u304b\u304b\u308a\u975e\u5e38\u306b\u9ad8\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>t2.micro\u306a\u3069\u4e00\u756a\u5b89\u3044\u69cb\u6210\u3067\u3082\u30011000\u5186\u4ee5\u4e0a\u306f\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u5bfe\u3057\u3066S3\u306f100\u301c200\u5186\u7a0b\u5ea6\u3067\u6e08\u307f\u307e\u3059\u3002\u5c11\u3057\u52d5\u753b\u306a\u3069\u3082\u3042\u308a\u5bb9\u91cf\u306e\u5927\u304d\u3044\u30b3\u30fc\u30dd\u30ec\u30fc\u30c8\u30b5\u30a4\u30c8\u306a\u3069\u3067\u3082\u67081000\u5186\u3082\u304b\u304b\u3089\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002(CloudFront\u306e\u6599\u91d1\u304c\u30a2\u30af\u30bb\u30b9\u6570\u3084\u30c7\u30fc\u30bf\u8ee2\u9001\u91cf\u306b\u5fdc\u3058\u3066\u304b\u304b\u308b\u306e\u3067\u3082\u3057\u5927\u91cf\u30a2\u30af\u30bb\u30b9\u304f\u308b\u5834\u5408\u306f\u6ce8\u610f\u3067\u3059\u3002\u305d\u308c\u3067\u3082EC2\u3067\u3082\u8ee2\u9001\u91cf\u306b\u3088\u308a\u6599\u91d1\u304c\u304b\u304b\u3063\u3066\u304f\u308b\u306e\u3067\u305d\u3093\u306a\u5dee\u306f\u306a\u3044\u3067\u3059\u304c\u3002\uff09<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001CloudFront\u306f\u521d\u5e74\u5ea6\u306f200\u4e07\u30ea\u30af\u30a8\u30b9\u30c8\u306850GB\u307e\u3067\u306e\u7121\u6599\u67a0\u304c\u6e96\u5099\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u5c11\u3057\u5b89\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u6a5f\u80fd\u9762<\/h3>\n<p>S3\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u306a\u3069\u3092\u52d5\u304b\u3059\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u52d5\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u3042\u304f\u307e\u3067\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u308bWeb\u30b5\u30fc\u30d0\u3092\u4f7f\u3063\u305fHTML\/CSS\/JavaScript\u3067\u52d5\u304f\u7bc4\u56f2\u306eWeb\u30b5\u30a4\u30c8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>EC2\u3067\u3042\u308c\u3070\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0(Unicorn\u306a\u3069)\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\/\u8a2d\u5b9a\u307e\u3067\u884c\u3046\u306e\u3067\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u8a00\u8a9e\u3092\u52d5\u304b\u3059\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u7a3c\u50cd\u7387<\/h3>\n<p>S3\u306fSLA\u308299.999999999%\u3092\u4fdd\u8a3c\u3057\u3066\u3044\u308b\u306e\u3067\u304b\u306a\u308a\u5b89\u5fc3\u3067\u3059\u3002EC2\u306e\u5834\u5408\u306f\u7a3c\u50cd\u7387\u306f\u5b8c\u5168\u306b\u958b\u767a\u8005\u4efb\u305b\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3053\u3061\u3089\u3082S3\u306e\u5727\u52dd\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h3>\u8a2d\u5b9a\u9762<\/h3>\n<p>EC2\u3067\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3057\u305f\u3044\u5834\u5408\u306fApache\u306a\u308aNginx\u306a\u3069\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u81ea\u5206\u3067\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u5bfe\u3057\u3066S3\u306f\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u516c\u958b\u3057\u3066\u304a\u308a\u81ea\u5206\u3067\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u9759\u7684\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u7d42\u308f\u308a\u306a\u306e\u3067\u8a2d\u5b9a\u306e\u697d\u3055\u306a\u3069\u3082S3\u304c\u5727\u52dd\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u69cb\u7bc9\u306b\u5fc5\u8981\u306a\u3082\u306e EC2\u306e\u5834\u5408 EC2\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9 EBS\u30b9\u30c8\u30ec\u30fc\u30b8 EC2\u306b\u30a2\u30bf\u30c3\u30c1\u3059\u308b\u5916\u4ed8\u3051\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3067\u3059\u3002 Elastic IP\u30a2\u30c9\u30ec\u30b9 \u7a3c\u50cd\u3057\u3066\u3044\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u4e00\u3064\u306b\u3064\u304d1\u3064\u306a\u3089\u6599\u91d1\u306f\u304b\u304b\u3089\u306a\u3044\u3002 Rout [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[80],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/15498"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15498"}],"version-history":[{"count":8,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/15498\/revisions"}],"predecessor-version":[{"id":20074,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/15498\/revisions\/20074"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15498"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}