{"id":12030,"date":"2020-08-07T17:18:39","date_gmt":"2020-08-07T08:18:39","guid":{"rendered":"https:\/\/itport.cloud\/?p=12030"},"modified":"2020-08-07T17:18:40","modified_gmt":"2020-08-07T08:18:40","slug":"post-12030","status":"publish","type":"post","link":"https:\/\/itport.cloud\/?p=12030","title":{"rendered":"(\u7b2c2\u56de)GCP\u3067\u30aa\u30fc\u30c8\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"e79baee6aca1-1\">\u76ee\u6b21<\/h2>\n\n\n\n<p><a href=\"#gcp-2-1\">\u306f\u3058\u3081\u306b<\/a><br><a href=\"#gcp-2-2\">\u30de\u30cd\u30fc\u30b8\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b0\u30eb\u30fc\u30d7\u306e\u4f5c\u6210<\/a><br><a href=\"#gcp-2-3\">\u30aa\u30fc\u30c8\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u30dd\u30ea\u30b7\u30fc\u306e\u8a2d\u5b9a<\/a><br><a href=\"#gcp-2-4\">VPC\u30fb\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u4f5c\u6210<\/a><br><a href=\"#gcp-2-5\">\u6b21\u56de\u4e88\u544a<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"gcp-2-1\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u524d\u56de\u8a18\u4e8b\u3067\u306f\u3001GCP\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u969b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<br>\u4eca\u56de\u306f\u3001\u672c\u984c\u3067\u3042\u308b\u30aa\u30fc\u30c8\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3092\u5b9f\u884c\u3067\u304d\u308b\u74b0\u5883\u3092\u4f5c\u6210\u3057\u3001\u5b9f\u969b\u306e\u52d5\u304d\u3092\u78ba\u8a8d\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"gcp-2-2\">\u30de\u30cd\u30fc\u30b8\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b0\u30eb\u30fc\u30d7\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3092\u884c\u3046\u306b\u306f\u3001\u30de\u30cd\u30fc\u30b8\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b0\u30eb\u30fc\u30d7\uff08\u4ee5\u964dMIG\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>MIG\u3092\u4f5c\u6210\u3059\u308b\u524d\u306b\u3001\u524d\u56de\u4f5c\u6210\u3057\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n$ gcloud compute instance-templates list\nNAME           MACHINE_TYPE   PREEMPTIBLE  CREATION_TIMESTAMP\ntestautoscale  n1-standard-1               2020-05-15T00:22:26.936-07:00\n<\/pre><\/div>\n\n\n<p>\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3068\u3001\u524d\u56de\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u53d6\u5f97\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br><\/p>\n\n\n\n<p>\u3053\u3061\u3089\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3089\u3001\u6b21\u306bMIG\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\n$ gcloud compute instance-groups managed create testautoscale-mig \\\n  --base-instance-name test \\\n  --template  testautoscale \\\n  --size 2\n<\/pre><\/div>\n\n\n<p>\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068MIG\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br>\u203bgcloud compute instance-groups managed create\u30b3\u30de\u30f3\u30c9\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306b\u3064\u3044\u3066<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>NAME\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \uff1a\u3000 \u4f5c\u6210\u3059\u308bMIG\u306e\u540d\u524d \uff08\u4eca\u56de\u306ftestautoscale-mig\u3092\u8a2d\u5b9a\uff09<\/li><li>base-instance-name\u3000\uff1a\u3000 MIG\u3067\u4f5c\u6210\u3055\u308c\u308bCompute Engine\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u4f7f\u7528\u3059\u308b\u30d9\u30fc\u30b9\u540d\u3092\u8a2d\u5b9a<\/li><li>template \u3000\u3000\u3000\u3000\u3000\u3000\uff1a\u3000 \u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306b\u4f7f\u7528\u3059\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u6307\u5b9a<\/li><li>size\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \uff1a\u3000 \u3053\u306e\u30b0\u30eb\u30fc\u30d7\u306b\u542b\u3081\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u521d\u671f\u6570\u3092\u8a2d\u5b9a<\/li><\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\nCreated &#x5B;https:\/\/www.googleapis.com\/compute\/v1\/projects\/lucid-clone-277305\/zones\/asia-east1-b\/instanceGroupManagers\/testautoscale-mig].\nNAME               LOCATION      SCOPE  BASE_INSTANCE_NAME  SIZE  TARGET_SIZE  INSTANCE_TEMPLATE  AUTOSCALED\ntestautoscale-mig  asia-east1-b  zone   test                0     2            testautoscale      no\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"gcp-2-3\">\u30aa\u30fc\u30c8\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u30dd\u30ea\u30b7\u30fc\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<p>MIG\u306f\u4e0a\u8a18\u3067\u4f5c\u6210\u3057\u307e\u3057\u305f\u306e\u3067\u3001\u6b21\u306f\u8d77\u52d5\u8a2d\u5b9a\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u8a2d\u5b9a\u5024\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li> \u6700\u5927\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u6570\u306f10\u53f0 <\/li><li> CPU\u8ca0\u8377\u738770% <\/li><li> \u30af\u30fc\u30eb\u30c0\u30a6\u30f3\u30bf\u30a4\u30e060\u79d2 <\/li><\/ul>\n\n\n\n<p>\u30af\u30fc\u30eb\u30c0\u30a6\u30f3\u30bf\u30a4\u30e0\u304c\u77ed\u3059\u304e\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u8d77\u52d5\u6642\u306eCPU\u8ca0\u8377\u3067\u4e00\u6c17\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u5897\u3048\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3001\u9069\u5207\u306a\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff08\u9006\u306b\u6642\u9593\u304c\u9577\u3044\u3068\u3001\u6025\u6fc0\u306a\u30b9\u30d1\u30a4\u30af\u306b\u5bfe\u5fdc\u3067\u304d\u307e\u305b\u3093\uff09<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngcloud compute instance-groups managed set-autoscaling testautoscale-mig \\\n  --max-num-replicas 10 \\\n  --target-cpu-utilization 0.7 \\\n  --cool-down-period 60\n<\/pre><\/div>\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u5f8c\u3001\u8a2d\u5b9a\u3057\u305f\u5185\u5bb9\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u30dd\u30ea\u30b7\u30fc\u306e\u8a2d\u5b9a\u306f\u5b8c\u4e86\u3067\u3059\u3002<br>\u203bgcloud compute instance-groups managed set-autoscaling\u30b3\u30de\u30f3\u30c9\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306b\u3064\u3044\u3066<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>NAME\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff1a\u3000 \u64cd\u4f5c\u3059\u308b\u30de\u30cd\u30fc\u30b8\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b0\u30eb\u30fc\u30d7\u306e\u540d\u524d\uff08\u4eca\u56de\u306ftestautoscale-mig\u3092\u8a2d\u5b9a\uff09 <\/li><li>max-num-replicas \u3000\u3000\u3000\uff1a\u3000 \u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u6642\u306b\u8a2d\u5b9a\u3059\u308b\u30ec\u30d7\u30ea\u30ab\u306e\u6700\u5927\u6570<\/li><li>cool-down-period \u3000\u3000\u3000\uff1a\u3000 \u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u6642\u306b\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304b\u3089\u60c5\u5831\u53ce\u96c6\u3092\u958b\u59cb\u3059\u308b\u307e\u3067\u306e\u5f85\u6a5f\u6642\u9593 <\/li><li>target-cpu-utilization\u3000\u3000\uff1a\u3000 \u5bfe\u8c61\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306eCPU\u4f7f\u7528\u7387\u3092\u8a2d\u5b9a\u5024\u306b\u7dad\u6301\u3059\u308b\u3088\u3046\u306b\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0<\/li><\/ul>\n\n\n\n<p>\u4e0a\u8a18\u4f5c\u6210\u5f8c\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u78ba\u8a8d\u3059\u308b\u3068\u30012\u53f0\u8d77\u52d5\u3057\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002 <br>plefix\u3082test\u304c\u3064\u3044\u3066\u304a\u308a\u3001\u8a2d\u5b9a\u3069\u304a\u308a\u306b\u8d77\u52d5\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_27-22_07_21-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"536\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_27-22_07_21-2-1024x536.png\" alt=\"\" class=\"wp-image-12045\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_27-22_07_21-2-1024x536.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_27-22_07_21-2-300x157.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_27-22_07_21-2-768x402.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_27-22_07_21-2-450x236.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_27-22_07_21-2-900x471.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_27-22_07_21-2.png 1826w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"gcp-2-4\">VPC\u30fb\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p> \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u69cb\u6210\u8a2d\u5b9a\u306a\u3069\u306f\u6e96\u5099\u3067\u304d\u305f\u306e\u3067\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u7acb\u3066\u308b\u74b0\u5883\u306e\u6e96\u5099\u3092\u884c\u3044\u307e\u3059\u3002<br>\u57fa\u672c\u7684\u306b\u306f\u6700\u521d\u306bVPC\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u9806\u756a\u304c\u9006\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f&#8230;<br><\/p>\n\n\n\n<p>\u203b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u304c\u30aa\u30f3\u306b\u306a\u3063\u3066\u3044\u308b\u3068\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u524a\u9664\u3057\u3066\u3082\u3001\u6b21\u3005\u306b\u65b0\u3057\u3044\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u751f\u6210\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u4e00\u65e6\u3053\u3053\u3067\u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3092\u30aa\u30d5\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_46-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"526\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_46-2-1024x526.png\" alt=\"\" class=\"wp-image-12047\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_46-2-1024x526.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_46-2-300x154.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_46-2-768x395.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_46-2-450x231.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_46-2-900x463.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_46-2.png 1858w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b0\u30eb\u30fc\u30d7\u306e\u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u30e2\u30fc\u30c9\u306e\u8a2d\u5b9a\u3092\u300c\u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3057\u306a\u3044\u300d\u306b\u8a2d\u5b9a<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_37-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_37-2-1024x527.png\" alt=\"\" class=\"wp-image-12048\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_37-2-1024x527.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_37-2-300x154.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_37-2-768x395.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_37-2-450x232.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_37-2-900x463.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_38_37-2.png 1858w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>\u300c\u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u306f\u30aa\u30d5\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u300d\u3068\u8868\u793a\u3055\u308c\u308c\u3070\u8a2d\u5b9a\u5b8c\u4e86\u3002\u751f\u6210\u3055\u308c\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u4e00\u65e6\u524a\u9664\u3057\u3066\u304a\u304f\u3002<\/figcaption><\/figure>\n\n\n\n<p>\u672c\u984c\u306b\u623b\u308a\u307e\u3057\u3066\u3001VPC\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<br>\u5de6\u30e1\u30cb\u30e5\u30fc\u306eVPC\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u9078\u629e\u3059\u308b\u3068\u3001VPC\u4f5c\u6210\u306e\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br>\u3055\u3089\u306bVPC\u4f5c\u6210\u3092\u62bc\u3059\u3068\u3001\u4e0b\u8a18\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_48_57-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_48_57-1-1024x527.png\" alt=\"\" class=\"wp-image-12049\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_48_57-1-1024x527.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_48_57-1-300x154.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_48_57-1-768x395.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_48_57-1-450x232.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_48_57-1-900x463.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_48_57-1.png 1858w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u4eca\u56de\u8a2d\u5b9a\u3057\u305f\u9805\u76ee\u306f\u540d\u524d\u3068\u30b5\u30d6\u30cd\u30c3\u30c8\u306e\u4f5c\u6210\u30e2\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<br>\u30b5\u30d6\u30cd\u30c3\u30c8\u4f5c\u6210\u30e2\u30fc\u30c9\u306f\u4eca\u56de\u300c\u81ea\u52d5\u300d\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u30eb\u30fc\u30eb\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u30eb\u30fc\u30eb\u306fVPC\u3092\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u3057\u3066\u3044\u307e\u3059\u3002<br>\u8a2d\u5b9a\u753b\u9762\u306fVPC\u30cd\u30c3\u30c8\u30ef\u30fc\u30af &lt; \u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306b\u9032\u3093\u3067\u3044\u305f\u3060\u304f\u3068\u4e0b\u8a18\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_15.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_15-1024x527.png\" alt=\"\" class=\"wp-image-12043\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_15-1024x527.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_15-300x154.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_15-768x395.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_15-450x232.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_15-900x463.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_15.png 1858w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u8a2d\u5b9a\u9805\u76ee\u306f\u753b\u50cf\u306e\u901a\u308a\u3067\u3059\u304c\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u9805\u76ee\u306b\u5148\u307b\u3069\u8a2d\u5b9a\u3057\u305fVPC\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br>\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u9805\u76ee\u306b\u95a2\u3057\u3066\u306f\u3001\u4eca\u56de\u306f\u5bfe\u8c61\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u306e\u3059\u3079\u3066\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br>IP\u7bc4\u56f2\u306b\u95a2\u3057\u3066\u306f\u3001\u300c0.0.0.0\/0\u300d\u3067\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_19.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"526\" src=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_19-1024x526.png\" alt=\"\" class=\"wp-image-12044\" srcset=\"https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_19-1024x526.png 1024w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_19-300x154.png 300w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_19-768x395.png 768w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_19-450x231.png 450w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_19-900x463.png 900w, https:\/\/itport.cloud\/wp-content\/uploads\/2020\/07\/Google-Cloud-Platform-Google-Chrome-2020_07_28-9_51_19.png 1858w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u30d7\u30ed\u30c8\u30b3\u30eb\u3068\u30dd\u30fc\u30c8\u306e\u8a2d\u5b9a\u306fHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u8a31\u53ef\u306e\u307f\u3068\u3057\u305f\u3044\u306e\u3067\u3001tcp:80\u306b\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br>\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u5b9f\u884c\u74b0\u5883\u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305f\u3060\u5148\u306b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4f5c\u6210\u65b9\u6cd5\u306e\u7d39\u4ecb\u3092\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u306e\u3067\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u306eVPC\u306e\u8a2d\u5b9a\u306a\u3069\u304cdefault\u306e\u307e\u307e\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u6c17\u304c\u4ed8\u304d\u307e\u3057\u305f&#8230;<br>\u57fa\u672c\u7684\u306b\u306f\u3001VPC\u306e\u4f5c\u6210\u2192\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4f5c\u6210\u306e\u6d41\u308c\u306b\u306a\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001<br>\u524d\u56de\u8a18\u4e8b\u3068\u524d\u5f8c\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u8fba\u308a\u306e\u9806\u756a\u306b\u3054\u6ce8\u610f\u3044\u305f\u3060\u3051\u305f\u3089\u3068\u601d\u3044\u307e\u3059\u3002<br><br>\u8a18\u4e8b\u304c\u9577\u304f\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u6b21\u56de\u8a18\u4e8b\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4fee\u6b63\uff5e\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u306e\u4f5c\u6210\uff5e\u8ca0\u8377\u30c6\u30b9\u30c8<br>\u306e\u6d41\u308c\u3092\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"gcp-2-5\">\u6b21\u56de\u4e88\u5b9a<\/h2>\n\n\n\n<p>\u51682\u56de\u3067\u5b8c\u7d50\u306e\u4e88\u5b9a\u3067\u3057\u305f\u304c\u3001\u6b21\u56de\u8a18\u4e8b\u3082\u66f8\u304b\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<br>\u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u306e\u52d5\u304d\u306b\u8208\u5473\u304c\u3042\u308b\u65b9\u306f\u305c\u3072\u6b21\u56de\u8a18\u4e8b\u3082\u8aad\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u76ee\u6b21 \u306f\u3058\u3081\u306b\u30de\u30cd\u30fc\u30b8\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b0\u30eb\u30fc\u30d7\u306e\u4f5c\u6210\u30aa\u30fc\u30c8\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u30dd\u30ea\u30b7\u30fc\u306e\u8a2d\u5b9aVPC\u30fb\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u4f5c\u6210\u6b21\u56de\u4e88\u544a \u306f\u3058\u3081\u306b \u524d\u56de\u8a18\u4e8b\u3067\u306f\u3001GCP\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u969b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3068\u3053\u308d\u307e\u3067\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u3001\u672c\u984c\u3067\u3042\u308b\u30aa\u30fc\u30c8\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3092\u5b9f\u884c\u3067\u304d\u308b\u74b0\u5883\u3092\u4f5c\u6210\u3057\u3001\u5b9f\u969b\u306e\u52d5\u304d\u3092\u78ba\u8a8d\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u30de\u30cd\u30fc\u30b8\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b0\u30eb\u30fc\u30d7\u306e\u4f5c\u6210 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u81ea\u52d5\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3092\u884c\u3046\u306b\u306f\u3001\u30de\u30cd\u30fc\u30b8\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30b0\u30eb\u30fc\u30d7\uff08\u4ee5\u964dMIG\uff09\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002MIG\u3092\u4f5c\u6210\u3059\u308b\u524d\u306b\u3001\u524d\u56de\u4f5c\u6210\u3057\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 $ gcloud compute instance-templat&hellip;","protected":false},"author":13,"featured_media":12051,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77],"tags":[78],"class_list":{"0":"post-12030","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-gcp","8":"tag-season26"},"_links":{"self":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/12030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12030"}],"version-history":[{"count":14,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/12030\/revisions"}],"predecessor-version":[{"id":12087,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/posts\/12030\/revisions\/12087"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=\/wp\/v2\/media\/12051"}],"wp:attachment":[{"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itport.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}