{"id":509,"date":"2018-12-14T18:00:00","date_gmt":"2018-12-14T09:00:00","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2018\/12\/14\/s3-cloudfront-awswaf"},"modified":"2018-12-14T18:00:00","modified_gmt":"2018-12-14T09:00:00","slug":"s3-cloudfront-awswaf","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2018\/12\/14\/s3-cloudfront-awswaf\/","title":{"rendered":"S3 + CloudFront \u3067\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u6642\u306bAWS WAF\u3067 IP\u30a2\u30c9\u30ec\u30b9\u5236\u9650\u3092\u3059\u308b"},"content":{"rendered":"
\u897f\u85e4\u3067\u3059\u3002<\/p>\n
\u9759\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u3067\u69cb\u6210\u3055\u308c\u308b\u30b5\u30a4\u30c8\u3092\u9ad8\u3044\u8010\u4e45\u6027\u3068\u9ad8\u901f\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u914d\u4fe1\u3059\u308b\u305f\u3081\u306b\u306f S3 + CloudFront \u3068\u3044\u3046\u69cb\u6210\u304c\u4f7f\u3048\u307e\u3059\u3002
\n\u4eca\u56de\u306f\u305d\u3053\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5236\u9650\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u305f\u3081\u306e\u65b9\u6cd5\u3092\u8a18\u4e8b\u306b\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n
\u4eca\u56de\u306e\u8a18\u4e8b\u306b\u304a\u3044\u3066\u60f3\u5b9a\u3059\u308b\u30b7\u30ca\u30ea\u30aa\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n
\u3068\u3044\u3046\u3082\u306e\u3067\u3001\u305f\u3068\u3048\u3070\u300c\u4f1a\u793e\u306e\u30aa\u30d5\u30a3\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u306e\u307f\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092 S3 + CloudFront\u3067\u516c\u958b\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u3088\u3046\u306a\u5834\u9762\u3092\u60f3\u5b9a\u3057\u307e\u3059\u3002
\n\u3067\u306f\u3001\u4ee5\u4e0b\u306b\u66f8\u3044\u3066\u304d\u307e\u3059\u3002<\/p>\n
\u6700\u521d\u306b\u3001S3\u4e0a\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u304a\u3044\u3066\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n
S3\u30d0\u30b1\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3001
\n<\/p>\n
index.html\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3002\uff08\u4eca\u56de\u306f\u691c\u8a3c\u306a\u306e\u3067\u3053\u306eindex.html\u306e\u307f\uff09
\n<\/p>\n
S3\u306e\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002
\n\u203b\u3042\u3068\u3067CloudFront\u306e\u8a2d\u5b9a\u306e\u969b\u306b\u4f7f\u3046\u306e\u3067\u3001\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u63a7\u3048\u3066\u304a\u304d\u307e\u3059\u3002
\n<\/p>\n
\u305d\u3057\u3066\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u7121\u4e8b\u3001\u30b5\u30a4\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002
\n\uff08\u53b3\u5bc6\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3067\u306f\u8868\u793a\u3055\u308c\u305a\u3001\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u95a2\u9023\u306e\u8a2d\u5b9a\u3082\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u5272\u611b\u81f4\u3057\u307e\u3059\uff09
\n<\/p>\n
\u6b21\u306b\u3001S3 \u3067\u69cb\u6210\u3055\u308c\u305f\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306b\u5bfe\u3059\u308b CloundFront\u3092\u8a2d\u5b9a\u81f4\u3057\u307e\u3059\u3002<\/p>\n
\u4f5c\u6210\u753b\u9762\u3067\u306f\u3001 <\/p>\n \u4eca\u56de\u306f\u691c\u8a3c\u306a\u306e\u3067\u3001\u3042\u3068\u306f\u4ed6\u306e\u5165\u529b\u6b04\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u3067 Distribution \u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 <\/p>\n \u305d\u3057\u3066\u3001Distribution\u306eDomain Name\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u5148\u307b\u3069\u306e\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308c\u3070\u3001 S3 + CloudFront \u3067\u306e\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306f\u5b9f\u73fe\u3067\u304d\u3066\u3044\u307e\u3059\u3002 \u4e0a\u8a18\u306e\u8981\u9818\u3067\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u69cb\u7bc9\u3057\u3001 \u3057\u304b\u3057\u306a\u304c\u3089\u3001\u305d\u306eURL\u304c\u95a2\u4fc2\u8005\u4ee5\u5916\u306b\u6e21\u3063\u305f\u6642\u306b\u306f\u3001\u305d\u306e\u7b2c\u4e09\u8005\u306b\u3088\u308b\u30a2\u30af\u30bb\u30b9\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002 <\/p>\n \u3059\u308b\u3068\u3001 AWS WAF\u306e\u753b\u9762\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001 <\/p>\n \u6b21\u306b\u3001\u6982\u8981\u8aac\u660e\u304c\u51fa\u307e\u3059\u3002 <\/p>\n \u3053\u3053\u304b\u3089\u8a2d\u5b9a\u306b\u5165\u308a\u307e\u3059\u3002 \u4eca\u56de\u306f <\/p>\n Web ACL \u306e\u540d\u524d\u3092\u5b9a\u7fa9\u3057\u307e\u3057\u305f\u3089\u3001\u6b21\u306f\u300c\u3069\u3093\u306a\u6761\u4ef6\u3092\u304b\u3051\u308b\u304b\u300d\u306e\u8a2d\u5b9a\u3067\u3059\u3002 <\/p>\n \u3059\u308b\u3068 \u305d\u306e\u4e2d\u3067 IP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3059\u308b\u6b04\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u4eca\u56de\u306f\u4f1a\u793e\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 <\/p>\n \u8a2d\u5b9a\u304c\u3067\u304d\u307e\u3057\u305f\u3089\u3001 <\/p>\n \u6761\u4ef6\u3092\u6c7a\u3081\u305f\u3089\u3001\u305d\u306e\u6761\u4ef6\u3092\u4f7f\u3063\u3066\u3069\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3059\u308b\u304b <\/p>\n \u4eca\u56de\u306f<\/p>\n \u300c \u3068\u3044\u3046\u610f\u5473\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3057\u307e\u3059\u3002 \u305d\u3057\u3066\u3001\u305d\u306e\u8a2d\u5b9a\u304c\u7d42\u308f\u3063\u305f\u3089 <\/p>\n \u305d\u3046\u3059\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306b\u306a\u308a\u3001\u300c\u6307\u5b9a\u306eIP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u8a31\u53ef\u3001\u305d\u308c\u4ee5\u5916\u3070\u62d2\u5426\u300d\u3068\u3044\u3046\u8a2d\u5b9a\u304c\u3067\u304d\u3042\u304c\u308a\u307e\u3059\u3002 \u4ee5\u4e0a\u306e\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u518d\u5ea6CloudFront\u306e <\/p>\n \u554f\u984c\u306a\u304f\u8868\u793a\u3055\u308c\u307e\u3059\u3002 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u30d6\u30ed\u30c3\u30af\u3055\u308c\u305f\u3053\u3068\u3092\u793a\u3059\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002 \u4ee5\u4e0a\u304c\u3001S3 + CloudFront \u3067\u306e\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u6642\u306bIP\u30a2\u30c9\u30ec\u30b9\u5236\u9650\u3092\u304b\u3051\u308b\u65b9\u6cd5\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n S3 + CloudFront \u306f\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3057\u306a\u304f\u3066\u3082\u3001\u9759\u7684\u306a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u304c\u3067\u304d\u308b\u5f37\u529b\u306a\u7d44\u307f\u5408\u308f\u305b\u3067\u3059\u306e\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5236\u9650\u3082\u7d44\u307f\u5408\u308f\u305b\u305f\u3044\u6642\u306b\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u304c\u5f79\u306b\u7acb\u3066\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u897f\u85e4\u3067\u3059\u3002 \u9759\u7684\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u3067\u69cb\u6210\u3055\u308c\u308b\u30b5\u30a4\u30c8\u3092\u9ad8\u3044\u8010\u4e45\u6027\u3068\u9ad8\u901f\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u914d\u4fe1\u3059\u308b\u305f\u3081\u306b\u306f S3 + CloudFront \u3068\u3044\u3046\u69cb\u6210\u304c\u4f7f\u3048\u307e\u3059\u3002 \u4eca\u56de\u306f\u305d\u3053\u306b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5236\u9650\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u305f\u3081\u306e\u65b9\u6cd5\u3092\u8a18\u4e8b\u306b\u3057\u3066\u307f\u307e\u3059\u3002 \u60f3\u5b9a\u30b7\u30ca\u30ea\u30aa \u4eca\u56de\u306e\u8a18\u4e8b\u306b\u304a\u3044\u3066\u60f3\u5b9a\u3059\u308b\u30b7\u30ca\u30ea\u30aa\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3092 S3 + CloudFront \u306b\u3066\u5b9f\u73fe\u3059\u308b\u3002 \u30b5\u30a4\u30c8\u306e\u8a2a\u554f\u8005\u3092IP\u30a2\u30c9\u30ec\u30b9 […]<\/p>\n","protected":false},"author":6,"featured_media":826,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[321],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/509"}],"collection":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/comments?post=509"}],"version-history":[{"count":0,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/509\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media\/826"}],"wp:attachment":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media?parent=509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/categories?post=509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/tags?post=509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Create Distribution<\/code> \u3067
Distribution<\/code> \u306e\u4f5c\u6210\u3092\u3057\u307e\u3059\u3002<\/p>\n
Origin Domain Name<\/code> \u306e\u6b04\u306b\u5148\u307b\u3069\u306e\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002
\n\u203b\u5165\u529b\u6b04\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u7f6e\u304f\u3068\u3001AWS\u30a2\u30ab\u30a6\u30f3\u30c8\u5185\u306b\u3042\u308bS3\u30d0\u30b1\u30c3\u30c8\u306e\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u305d\u308c\u306f\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u5148\u307b\u3069\u63a7\u3048\u305f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u76f4\u63a5\u8a18\u8f09\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n
\n\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u5c55\u958b\u3055\u308c\u308b\u30b5\u30fc\u30d3\u30b9\u306a\u306e\u3067\u3001 Status\u304c Completed<\/code>\u306b\u306a\u308b\u307e\u3067\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n
\n
\n<\/p>\nDistribution<\/code>\u306e
Domain Name<\/code>\u3092\u95a2\u4fc2\u8005\u9593\u3067\u5171\u6709\u3059\u308c\u3070\u3001\u9759\u7684\u30b5\u30a4\u30c8\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u4e0a\u3067\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u5171\u6709\u306f\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n
\n\u305d\u3053\u3067\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u300c\u6307\u5b9a\u306eIP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u3057\u304b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u300d\u3068\u3044\u3046\u5236\u9650\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n3. AWS WAF\u306e\u8a2d\u5b9a<\/h2>\n
AWS WAF and AWS Shield<\/code> \u306e\u7ba1\u7406\u753b\u9762\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002\u521d\u671f\u753b\u9762\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u306b\u306a\u308a\u307e\u3059\u3002
\n\u4eca\u56de\u306f Go to AWS WAF<\/code> \u306e\u753b\u9762\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n
Configure web ACL<\/code> \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a2d\u5b9a\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n
Next<\/code>\u3092\u62bc\u3057\u3066\u3001\u6b21\u306e\u753b\u9762\u306b\u9032\u307f\u307e\u3059\u3002<\/p>\n
Step 1: Name web ACL<\/h3>\n
\n\u6700\u521d\u306b\u4f5c\u6210\u3059\u308b Web ACL\u306e\u540d\u524d\u306e\u8a2d\u5b9a\u3068\u95a2\u9023\u3065\u3051\u308bAWS\u30ea\u30bd\u30fc\u30b9\u306e\u9078\u629e\u3092\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n
\nWeb ACL name<\/code> \u3092
s3-cloudfront-test<\/code>
\n\u305d\u3057\u3066\u3001\u5148\u307b\u3069\u8a2d\u5b9a\u3057\u305fCloudFront<\/code> \u306e
Distribution<\/code>\u306b\u9069\u7528\u3057\u305f\u3044\u306e\u3067\u3001
\nRegion<\/code> \u3067
Global(CloudFront)<\/code> \u3092\u9078\u629e\u3057\u3001
\nAWS resource to associate<\/code> \u306b\u8a72\u5f53\u306e
CloudFront<\/code> \u306e
Distribution<\/code> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002
\n(CloudWatch<\/code>\u7528\u306e
metric name<\/code> \u306e\u8a18\u5165\u6b04\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u81ea\u52d5\u5165\u529b\u306b\u4efb\u305b\u307e\u3059)<\/p>\n
Step 2: Create conditions<\/h3>\n
\n\u753b\u9762\u5185\u306b\u306f Cross-site scripting match conditions<\/code>
Geo match conditions<\/code> \u306a\u3069\u3055\u307e\u3056\u307e\u306a\u9805\u76ee\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002
\n\u4eca\u56de\u306f\u300c\u4f1a\u793e\u306e\u30aa\u30d5\u30a3\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u306e\u307f\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092 S3 + CloudFront\u3067\u516c\u958b\u3057\u305f\u3044\u300d\u3068\u3044\u3046\u30b7\u30ca\u30ea\u30aa\u3067\u3059\u306e\u3067\u3001IP match conditions<\/code> \u306e\u6761\u4ef6\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n
IP match condition<\/code> \u306e\u4f5c\u6210\u753b\u9762\u304c\u51fa\u307e\u3059\u306e\u3067\u3001\u5fc5\u8981\u4e8b\u9805\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n
\n\u203bCIDR\u8868\u8a18\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3002\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\nIP match condition created successfully<\/code> \u3068\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u753b\u9762\u4e0b\u306e
Next<\/code>\u3092\u62bc\u3057\u3066\u6b21\u306b\u9032\u307f\u307e\u3059\u3002<\/p>\n
Step 3: Create rules<\/h3>\n
rule<\/code> \u3092\u6c7a\u3081\u307e\u3059\u3002
Create rule<\/code>\u3092\u62bc\u3057\u307e\u3059\u3002
\n\uff08condition<\/code>\u306e\u6b21\u306b
rule<\/code>\u304c\u3042\u3063\u3066\u3001\u3001\u3001\u6df7\u4e71\u3057\u305d\u3046\u306a\u3068\u3053\u308d\u3067\u3059\u304c\u30fb\u30fb\u30fb\uff09<\/p>\n
Rule<\/code>\u306e\u540d\u79f0\u3092\u5b9a\u7fa9\u3057\u3066\u3001
Add conditions<\/code> \u4ee5\u4e0b\u3067
Rule<\/code>\u306e\u5185\u5bb9\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n
\n
ip-match-condition<\/code>\u306b\u542b\u307e\u308c\u308bIP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9(
originate from an IP address in<\/code>)\u306b\u5408\u81f4\u3059\u308b(
does<\/code>)\u300d<\/p>\n<\/blockquote>\n
\n<\/p>\n
\nIf a request matches all of the conditions in a rule, take the corresponding action<\/code>\u306b\u3066
\n\u300c\u30eb\u30fc\u30eb\u5185\u306e\u6761\u4ef6\u306b\u5408\u81f4\u3059\u308b\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3059\u308b\u30a2\u30af\u30b7\u30e7\u30f3\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08IP\u30a2\u30c9\u30ec\u30b9\u306b\u30de\u30c3\u30c1\u3057\u305f\u3089\u30a2\u30af\u30bb\u30b9\u8a31\u53ef\u3057\u305f\u3044\u306e\u3067Allow<\/code>\uff09<\/p>\n
If a request doesn't match any rules, take the default action<\/code>\u3067\u306f
\n\u300c\u3044\u305a\u308c\u306e\u30eb\u30fc\u30eb\u306b\u3082\u5408\u81f4\u3057\u306a\u3044\u6642\u306e\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff08\u6307\u5b9a\u306e\u306a\u3044IP\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u306f\u3055\u305b\u305f\u304f\u306a\u3044\u306e\u3067\u3001 Block all requests that don't match any rules<\/code>\uff09<\/p>\n
\nReview and create<\/code>\u3092\u62bc\u3057\u3066\u3001\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3001\u8a2d\u5b9a\u3092\u78ba\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n
CloudFront\u306e\u8868\u793a\u78ba\u8a8d<\/h2>\n
Domain Name<\/code>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3059\u3002
\n\u8a31\u53ef\u306e\u306a\u3044IP\u30a2\u30c9\u30ec\u30b9\u304b\u3089\u306f\u62d2\u5426\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\u8a31\u53ef\u3055\u308c\u305fIP\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9<\/h3>\n
\n<\/p>\n\u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044IP\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9<\/h3>\n
\n<\/p>\n\u307e\u3068\u3081<\/h2>\n