{"id":7441,"date":"2019-11-24T22:20:18","date_gmt":"2019-11-24T13:20:18","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=7441"},"modified":"2023-05-28T08:06:43","modified_gmt":"2023-05-27T23:06:43","slug":"%e3%80%90%e3%82%a4%e3%83%b3%e3%83%95%e3%83%a9%e3%80%91%e6%9c%ac%e7%95%aa%e7%92%b0%e5%a2%83%e3%82%a4%e3%83%b3%e3%83%95%e3%83%a9%e6%a7%8b%e6%88%90%e3%81%ae%e5%b8%b8%e8%ad%98","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=7441","title":{"rendered":"\u3010\u30a4\u30f3\u30d5\u30e9\u3011\u672c\u756a\u74b0\u5883\u30a4\u30f3\u30d5\u30e9\u69cb\u6210\u4f8b\u306a\u3069"},"content":{"rendered":"<p>\u672c\u756a\u74b0\u5883\u306f\u4ee5\u4e0b\uff12\u3064\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5206\u3051\u308b\u3053\u3068\u304c\u666e\u901a\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u516c\u958b\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/li>\n<li>\u96a0\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/li>\n<\/ul>\n<h2>\u516c\u958b\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/h2>\n<p>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u516c\u958b\u3055\u308c\u3066\u3044\u3066\u3044\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n<h3>Web\u30b5\u30fc\u30d0<\/h3>\n<p>\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u5f79\u5272\u3092\u6301\u3064Apache\u3084Nignix\u7b49\u306eWeb\u30b5\u30fc\u30d0\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0<\/h3>\n<p>\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u306e\u5f79\u5272\u3092\u6301\u3064\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002DB\u30b5\u30fc\u30d0\u3084\u5225\u30a2\u30d7\u30ea\u3068\u901a\u4fe1\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2>\u96a0\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af<\/h2>\n<p>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304b\u3089\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u3059\u3002<\/p>\n<h3>DB\u30b5\u30fc\u30d0<\/h3>\n<p>\u96a0\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u914d\u7f6e\u3059\u308b\u3053\u3068\u3067\u5916\u90e8\u304b\u3089\u4e0d\u6b63\u306b\u30a2\u30af\u30bb\u30b9\u3055\u308c\u3066\u30c7\u30fc\u30bf\u306e\u6539\u3056\u3093\u3092\u3055\u308c\u308b\u306e\u3092\u9632\u304e\u307e\u3059\u3002<\/p>\n<h3>NAT(Network Address Translation)<\/h3>\n<p>\u305f\u3060\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u7b49\u306e\u3053\u3068\u3092\u8003\u3048\u308b\u3068DB\u30b5\u30fc\u30d0\u304c\u5168\u304f\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3067\u304d\u306a\u3044\u306e\u306f\u56f0\u308b\u5834\u5408\u3082\u3042\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306f<span style=\"color: #ff0000;\"><strong>NAT(Network Address Translation)<\/strong><\/span>\u3092\u5c0e\u5165\u3057\u307e\u3059\u3002NAT\u3092\u4f7f\u3048\u3070<span style=\"color: #ff0000;\"><strong>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9\u3092\u30b0\u30ed\u30fc\u30d0\u30ebIP\u30a2\u30c9\u30ec\u30b9\u306b\u5909\u63db\u3067\u304d\u308b\u306e\u3067\u300c\u7247\u65b9\u3060\u3051\u306e\u63a5\u7d9a\u3092\u8a31\u3059\u300d\u3068\u8a00\u3046\u3053\u3068\u304c\u53ef\u80fd<\/strong><\/span>\u3067\u3059\u3002\uff08\u3082\u3061\u308d\u3093\u3001\u7247\u65b9\u304b\u3089\u9001\u3063\u305f\u901a\u4fe1\u306e\u5fdc\u7b54\u307e\u3067\u8fd4\u3057\u3066\u304f\u308c\u307e\u3059\u3002\uff09<\/p>\n<h2>\u30a4\u30f3\u30d5\u30e9\u69cb\u6210\u306e\u7a2e\u985e<\/h2>\n<h3>Web\u30b5\u30fc\u30d0\u30fc1\u3001DB\u30b5\u30fc\u30d0\u30fc1<\/h3>\n<p>\u6700\u5c0f\u69cb\u6210\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>Web\u30b5\u30fc\u30d0\u30fc2\u3001DB\u30b5\u30fc\u30d0\u30fc1<\/h3>\n<p>Web\u30b5\u30fc\u30d0\u30fc\u306e\u6027\u80fd\u304c\u4e0d\u8db3\u3057\u3066\u3044\u308b\u5834\u5408\u306bWeb\u5197\u9577\u5316\u3084\u8ca0\u8377\u5206\u6563\u3092\u884c\u3044\u305f\u3044\u5834\u5408\u306b\u3053\u306e\u69cb\u6210\u306b\u3057\u307e\u3059\u3002<\/p>\n<h3>Web\u30b5\u30fc\u30d0\u30fc2\u3001DB\u30b5\u30fc\u30d0\u30fc2<\/h3>\n<p>DB\u3092\u30de\u30b9\u30bf\u30fc\u3068\u30b9\u30ec\u30fc\u30d6\u306b\u5206\u3051\u308b\u3053\u3068\u3067DB\u306e\u5197\u9577\u5316\u3092\u884c\u3044\u307e\u3059\u3002Web\u306e\u5197\u9577\u5316\u3068DB\u306e\u5197\u9577\u5316\u304c\u540c\u6642\u306b\u884c\u3048\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<span style=\"color: #ff0000;\"><strong>\u30de\u30b9\u30bf\u30b5\u30fc\u30d0\u30fc\u306f\u89aa\u30b5\u30fc\u30d0\u30fc\u3067\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3057\u3066\u30b9\u30ec\u30fc\u30d6\u306b\u540c\u671f<\/strong><\/span>\u3092\u3057\u307e\u3059\u3002<\/p>\n<h2>\u69cb\u6210\u4f8b<\/h2>\n<h3>\u30a4\u30e1\u30fc\u30b8\u56f3<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-15365\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-10.46.41.png\" alt=\"\" width=\"1430\" height=\"898\" srcset=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-10.46.41.png 1430w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-10.46.41-300x188.png 300w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-10.46.41-768x482.png 768w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-10.46.41-1024x643.png 1024w\" sizes=\"(max-width: 1430px) 100vw, 1430px\" \/><\/p>\n<h3>Public Subnet(Ingress\u7528)<\/h3>\n<p>\u3053\u3053\u306bALB\u306a\u3069\u5916\u90e8\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<h3>Private Subnet(\u30a2\u30d7\u30ea\u7528)<\/h3>\n<p>\u30d5\u30ed\u30f3\u30c8\u30a2\u30d7\u30ea\u3001\u5185\u90e8ALB\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7a3c\u50cd\u7528\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30b5\u30d6\u30cd\u30c3\u30c8<\/p>\n<h3>Private Subnet(DB\u7528)<\/h3>\n<h3>Public Subnet(\u7ba1\u7406\u7528)<\/h3>\n<p>\u3053\u3053\u306b\u300c\u7ba1\u7406\u30b5\u30fc\u30d0\u30fc\u300d\u3084\u300c\u8e0f\u307f\u53f0\u30b5\u30fc\u30d0\u30fc\u300d\u306a\u3069\u3092\u914d\u7f6e\u3057\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30b2\u30fc\u30c8\u30a6\u30a7\u30a4<\/h3>\n<p>VPC\u5185\u306e\u30ea\u30bd\u30fc\u30b9\u304c\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3068\u63a5\u7d9a\u3059\u308b\u969b\u306b\u5fc5\u8981\u3068\u306a\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30ea\u30bd\u30fc\u30b9\u3002VPC\u3054\u3068\u306b\u4e00\u3064\u3060\u3051\u7d10\u4ed8\u3051\u308b\u3002\u7279\u306b\u8a2d\u8a08\u306f\u5fc5\u8981\u306a\u3044\u3002<\/p>\n<h2>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u8a2d\u8a08<\/h2>\n<h3>\u30a4\u30e1\u30fc\u30b8\u56f3<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-15369\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-11.15.04.png\" alt=\"\" width=\"1614\" height=\"642\" srcset=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-11.15.04.png 1614w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-11.15.04-300x119.png 300w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-11.15.04-768x305.png 768w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2021\/12\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-12-04-11.15.04-1024x407.png 1024w\" sizes=\"(max-width: 1614px) 100vw, 1614px\" \/><\/p>\n<h3>\u65b9\u91dd<\/h3>\n<h4>\u30a2\u30a6\u30c8\u30d0\u30f3\u30c9\u30eb\u30fc\u30eb<\/h4>\n<p>\u4e00\u5f8b\u3067\u300c0.0.0.0\/0\u300d<\/p>\n<h4>\u30a4\u30f3\u30d0\u30a6\u30f3\u30c9\u30eb\u30fc\u30eb<\/h4>\n<p>\u6700\u5c0f\u9650\u306e\u30eb\u30fc\u30eb\u3092\u9069\u7528\u3059\u308b\uff0880\u30843306\u306a\u3069\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"\u672c\u756a\u74b0\u5883\u306f\u4ee5\u4e0b\uff12\u3064\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5206\u3051\u308b\u3053\u3068\u304c\u666e\u901a\u3067\u3059\u3002 \u516c\u958b\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u96a0\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u516c\u958b\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u516c\u958b\u3055\u308c\u3066\u3044\u3066\u3044\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u3059\u3002 Web\u30b5\u30fc\u30d0 \u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u5f79\u5272\u3092 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[26],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/7441"}],"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=7441"}],"version-history":[{"count":12,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/7441\/revisions"}],"predecessor-version":[{"id":20698,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/7441\/revisions\/20698"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7441"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}