{"id":3260,"date":"2020-08-04T09:20:13","date_gmt":"2020-08-04T00:20:13","guid":{"rendered":"http:\/\/blog.rutake.com\/techmemo\/?p=3260"},"modified":"2020-08-04T09:20:15","modified_gmt":"2020-08-04T00:20:15","slug":"cloudfront-s3-%e9%80%a3%e6%90%ba%e3%81%a7-307%e3%81%8c%e5%87%ba%e3%82%8b-%ef%bc%92%ef%bc%94%e6%99%82%e9%96%93%e5%be%85%e3%81%a4%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/blog.rutake.com\/techmemo\/2020\/08\/04\/cloudfront-s3-%e9%80%a3%e6%90%ba%e3%81%a7-307%e3%81%8c%e5%87%ba%e3%82%8b-%ef%bc%92%ef%bc%94%e6%99%82%e9%96%93%e5%be%85%e3%81%a4%ef%bc%9f\/","title":{"rendered":"CloudFront S3 \u9023\u643a\u3067 307\u304c\u51fa\u308b \uff12\uff14\u6642\u9593\u5f85\u3064\uff1f"},"content":{"rendered":"\n<p>CloudFront\u3068S3\u306e\u9023\u643a\u306f\u3088\u304f\u4f7f\u308f\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u3067\u3042\u308b\u304c\u3001\u4eca\u56de\u306f\u69cb\u7bc9\u76f4\u5f8c\u306e\u307f\u767a\u751f\u3057\u305f\u30c8\u30e9\u30d6\u30eb\u3002<\/p>\n\n\n\n<p>CloudFront\u304b\u3089S3\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306fOrigin Access Identity\u3092\u5229\u7528\u3057\u3066\u3044\u3066\u3001S3\u306eURL\u3092\u76f4\u63a5\u6253\u3061\u8fbc\u3093\u3067\u3082\u30a8\u30e9\u30fc403\u3068\u306a\u308b\u3088\u3046\u306b\u3057\u3066\u3042\u308b\u3002<\/p>\n\n\n\n<p>CloudFront\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u4e00\u77acCloudFront\u306eURL\u306a\u306e\u3060\u304c\u3001403\u3002\u3088\u304f\u3088\u304f\u307f\u308b\u3068S3\u306eURL\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u8abf\u3079\u3066\u307f\u308b\u3068\u3001\u3053\u308c\u306fCloudFront\u304c\u30b0\u30ed\u30fc\u30d0\u30eb\u306a\u306e\u306b\u5bfe\u3057\u3001S3\u306f\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u306b\u3042\u308b\u305f\u3081\u3001\u305d\u306eS3 Bucket\u306e\u8a8d\u8b58\u307e\u3067\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u305f\u3081307\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u3066\u3044\u308b\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<p>\u5bfe\u5fdc\u65b9\u6cd5\u306f\uff12\u3064\u3042\u3063\u3066\u300124\u6642\u9593\u7a0b\u5ea6\u5f85\u3064\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u306fS3\u306eURL\u3092\u30ea\u30fc\u30b8\u30e7\u30f3\u8fbc\u307f\u306e\u3082\u306e\u306b\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3002<\/p>\n\n\n\n<p>\u30d0\u30b1\u30c3\u30c8\u540d.s3.amazonaws.com\u3067\u306f\u306a\u304f\u3066\u3001<\/p>\n\n\n\n<p>\u30d0\u30b1\u30c3\u30c8\u540d.s3-ap-northeast-1.amazonaws.com\u306b\u3059\u308b\u3068\u3044\u3046\u3082\u306e<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u5f8c\u8005\u306e\u65b9\u6cd5\u3092\u3068\u3063\u305f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CloudFront\u3068S3\u306e\u9023\u643a\u306f\u3088\u304f\u4f7f\u308f\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u3067\u3042\u308b\u304c\u3001\u4eca\u56de\u306f\u69cb\u7bc9\u76f4\u5f8c\u306e &hellip; <a href=\"https:\/\/blog.rutake.com\/techmemo\/2020\/08\/04\/cloudfront-s3-%e9%80%a3%e6%90%ba%e3%81%a7-307%e3%81%8c%e5%87%ba%e3%82%8b-%ef%bc%92%ef%bc%94%e6%99%82%e9%96%93%e5%be%85%e3%81%a4%ef%bc%9f\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[333],"tags":[577,497,366],"_links":{"self":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/3260"}],"collection":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/comments?post=3260"}],"version-history":[{"count":1,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/3260\/revisions"}],"predecessor-version":[{"id":3261,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/posts\/3260\/revisions\/3261"}],"wp:attachment":[{"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/media?parent=3260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/categories?post=3260"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.rutake.com\/techmemo\/wp-json\/wp\/v2\/tags?post=3260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}