{"image_url":null,"width":"100%","categories":["aws","apache"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/int128/","height":"190","url":"https://int128.hatenablog.com/entry/2017/09/13/143702","type":"rich","version":"1.0","blog_url":"https://int128.hatenablog.com/","published":"2017-09-13 14:37:02","title":"CloudFront\u2192ELB\u2192EC2\u69cb\u6210\u306b\u304a\u3051\u308bIP\u30a2\u30c9\u30ec\u30b9\u306e\u30a2\u30af\u30bb\u30b9\u5236\u5fa1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F2017%2F09%2F13%2F143702\" title=\"CloudFront\u2192ELB\u2192EC2\u69cb\u6210\u306b\u304a\u3051\u308bIP\u30a2\u30c9\u30ec\u30b9\u306e\u30a2\u30af\u30bb\u30b9\u5236\u5fa1 - GeekFactory\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","author_name":"int128","description":"AWS\u3067CloudFront \u2192 ELB \u2192 EC2\u306e\u69cb\u6210\u3092\u63a1\u7528\u3059\u308b\u5834\u5408\u306b\u3001IP\u30a2\u30c9\u30ec\u30b9\u306b\u3088\u308b\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u3092\u884c\u3046\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002 \u65b9\u6cd51: EC2\u4e0a\u306eWeb\u30b5\u30fc\u30d0\u306b\u3088\u308b\u30a2\u30af\u30bb\u30b9\u5236\u5fa1 CloudFront\u3084ELB\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u308b\u3068 x-forwarded-for \u30d8\u30c3\u30c0\u306b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u4ed8\u4e0e\u3057\u307e\u3059\u3002 \u3053\u306e\u30d8\u30c3\u30c0\u3092\u5229\u7528\u3057\u3066IP\u30a2\u30c9\u30ec\u30b9\u306b\u3088\u308b\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002 CloudFront\u3068ELB\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u5834\u5408\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30d8\u30c3\u30c0\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u2193 CloudFront \u2193 x-forwarded-for: <\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eIP\u30a2\u30c9\u30ec\u30b9> ELB \u2193 x-fo\u2026","blog_title":"GeekFactory"}