{"id":3947,"date":"2023-11-04T14:59:24","date_gmt":"2023-11-04T05:59:24","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=3947"},"modified":"2023-11-04T15:04:22","modified_gmt":"2023-11-04T06:04:22","slug":"how_to_gce","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/how_to_gce\/","title":{"rendered":"Google Compute Engine\u00d7VS Code\u3067\u30ea\u30e2\u30fc\u30c8\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u624b\u9806\u3092\u5fb9\u5e95\u89e3\u8aac\uff01"},"content":{"rendered":"\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Google Compute Engine\uff08GCE\uff09\u3067\u7acb\u3061\u4e0a\u3052\u305fVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306bVS Code\u304b\u3089SSH\u63a5\u7d9a\u3057\u3066\u3001\u30af\u30e9\u30a6\u30c9\u30ea\u30bd\u30fc\u30b9\u3092\u6d3b\u7528\u3057\u3066\u958b\u767a\u3067\u304d\u308b\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u624b\u9806\u3092\u5177\u4f53\u7684\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\u3053\u306e\u74b0\u5883\u69cb\u7bc9\u306b\u3088\u308a\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u30de\u30b7\u30f3\u30d1\u30ef\u30fc\u4ee5\u4e0a\u306e\u30ea\u30bd\u30fc\u30b9\u7c21\u5358\u306b\u7528\u610f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n<h2>Google Compute Engine\u3067\u306eVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u7acb\u3061\u4e0a\u3052\u65b9<\/h2>\n<p>\u307e\u305a\u3001Google Compute Engine\uff08GCE\uff09\u304b\u3089VM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30da\u30fc\u30b8\u3092\u958b\u304d\u307e\u3059\u3002\u3053\u306e\u30da\u30fc\u30b8\u304b\u3089\u3001VM\u306e\u7acb\u3061\u4e0a\u3052\u3092\u884c\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002\u30da\u30fc\u30b8\u4e0a\u90e8\u306e\u300c\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<!-- notionvc: d524b509-8f89-4ac7-8af2-8f8b1727fa21 --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled1.jpg\" \/><\/p>\r\n<p>\u305d\u3046\u3059\u308b\u3068\u3001\u4e0b\u8a18\u56f3\u306e\u3088\u3046\u306a\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3057\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4f5c\u6210\u65b9\u6cd5\u306f\u8907\u6570\u65b9\u6cd5\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f0\u304b\u3089\u8a2d\u5b9a\u3092\u884c\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002\u307e\u305a\u3001\u2460\u306e\u7b87\u6240\u306b\u4eca\u56de\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u540d\u3092\u5165\u529b\u3057\u307e\u3059\u3002\u4eca\u56de\u30b5\u30f3\u30d7\u30eb\u3067\u7acb\u3061\u4e0a\u3052\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u540d\u524d\u3092sample-instance\u3068\u3057\u307e\u3059\u3002<\/p>\r\n<p>\u6b21\u306b\u3001\u2461\u306e\u7b87\u6240\u3067\u30ea\u30fc\u30b8\u30e7\u30f3\u3068\u30be\u30fc\u30f3\u3092\u9078\u3073\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u7acb\u3061\u4e0a\u3052\u308bVM\u304c\u3069\u3053\u306e\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u4e0a\u3067\u7acb\u3061\u4e0a\u3052\u308b\u304b\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u30a2\u30e1\u30ea\u30ab\u306e\u30c7\u30fc\u30bf\u30bb\u30f3\u30bf\u30fc\u306e\u65b9\u304c\u4e00\u6642\u9593\u3042\u305f\u308a\u306e\u5229\u7528\u6599\u304c\u5b89\u4fa1\u306b\u306a\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u7269\u7406\u7684\u306a\u8ddd\u96e2\u304c\u9060\u304f\u306a\u308b\u306e\u3067\u3001\u82e5\u5e72\u306e\u30bf\u30a4\u30e0\u30e9\u30b0\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u306a\u306e\u3067\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u91cd\u8996\u3059\u308b\u5834\u5408\u306f\u65e5\u672c\u306e\u6771\u4eac\u3084\u5927\u962a\u306e\u30ea\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u629e\u3059\u308b\u3068\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u3067\u7acb\u3061\u4e0a\u3052\u308b\u306e\u3067\u3001us-central1\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\r\n<p>\u6b21\u306b\u3001\u2462\u306e\u7b87\u6240\u3067\u30de\u30b7\u30f3\u306e\u69cb\u6210\u3092\u9078\u3073\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u7acb\u3061\u4e0a\u3052\u308bVM\u306e\u30ea\u30bd\u30fc\u30b9\u306b\u95a2\u3059\u308b\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002\u4eca\u56de\u306f\u4e00\u756a\u30d9\u30fc\u30b7\u30c3\u30af\u306aN2\u30b7\u30ea\u30fc\u30ba\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled2.jpg\" \/><\/p>\r\n<p>\u305d\u306e\u5f8c\u3001\u4e0b\u8a18\u56f3\u306e\u2463\u3067\u5177\u4f53\u7684\u306a\u30de\u30b7\u30f3\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306fCPU\u306e\u6027\u80fd\u306f\u3069\u308c\u304c\u826f\u3044\u304b\u3084\u3001\u30e1\u30e2\u30ea\u306f\u4f55GB\u304c\u826f\u3044\u304b\u306a\u3069\u3092\u9078\u3073\u307e\u3059\u3002<!-- notionvc: d79b999e-46d1-442a-955f-237d1d48217a --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled3.jpg\" \/><\/p>\r\n<p>\u4eca\u56de\u306fCPU\u304c\uff11\u30b3\u30a2\u3067\u30e1\u30e2\u30ea\u304c8GB\u306e\u30bf\u30a4\u30d7\u3092\u9078\u629e\u3057\u307e\u3057\u305f\u3002\u540c\u3058\u30b3\u30a2\u6570\u3001GB\u6570\u3067\u3082\u30cf\u30a4\u30e1\u30e2\u30ea\u3084\u30cf\u30a4CPU\u306a\u3069\u30bf\u30a4\u30d7\u306b\u3088\u3063\u3066\u6027\u80fd\u304c\u7570\u306a\u308b\u306e\u3067\u3001\u4e0b\u8a18\u30ea\u30f3\u30af\u304b\u3089\u8a73\u7d30\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n<p><a href=\"https:\/\/cloud.google.com\/compute\/docs\/machine-types?hl=ja\">\u30de\u30b7\u30f3 \u30d5\u30a1\u30df\u30ea\u30fc\u306b\u3064\u3044\u3066 \u00a0|\u00a0 Compute Engine \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 \u00a0|\u00a0 Google Cloud<\/a><\/p>\r\n<p><!-- notionvc: a7989edc-2637-4ebe-9a82-30a4487ad679 --><\/p>\r\n<p>\u6b21\u306b\u3001\u2464\u306e\u7b87\u6240\u304b\u3089OS\u3068\u30b9\u30c8\u30ec\u30fc\u30b8\u306e\u8a2d\u5b9a\u3092\u884c\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002<!-- notionvc: 1a5ab039-3b42-497e-bcfd-cfb6abcd5202 --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled4.jpg\" \/><\/p>\r\n<p>\u300c\u5909\u66f4\u300d\u306e\u7b87\u6240\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u4e0b\u8a18\u56f3\u306e\u3088\u3046\u306a\u753b\u9762\u306b\u9077\u79fb\u3057\u307e\u3059\u3002\u2465\u3067\u306fOS\u3001\u2466\u3067\u306f\u30b9\u30c8\u30ec\u30fc\u30b8\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u4eca\u56de\u306fOS\u306fUbuntu20.04\u3067\u30b9\u30c8\u30ec\u30fc\u30b8\u306f100GB\u3067\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u3002<!-- notionvc: da150d13-cc57-444b-a48f-bb89542e18db --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled5.jpg\" \/><\/p>\r\n<p>\u3053\u308c\u3089\u306e\u8a2d\u5b9a\u3092\u7d42\u3048\u308b\u3068\u4e0b\u8a18\u56f3\u306e\u2467\u306e\u300c\u4f5c\u6210\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001VM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4f5c\u6210\u3092\u884c\u3044\u307e\u3059\u3002\u3053\u308c\u3067\u3001VM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4f5c\u6210\u306f\u7d42\u4e86\u3067\u3059\u3002<!-- notionvc: a12e177d-952a-4e0d-aa69-f0906f61a4fe --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled6.jpg\" \/><\/p>\r\n<p>\u6b21\u306b\u3001\u7acb\u3061\u4e0a\u3052\u305fVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u306e\u8a2d\u5b9a\u3092\u884c\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u306e\u8a2d\u5b9a\u306f\u5fc5\u305a\u3057\u3082\u5fc5\u8981\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u8a2d\u5b9a\u3092\u3057\u306a\u3044\u3068\u6bce\u56deIP\u30a2\u30c9\u30ec\u30b9\u304c\u5909\u308f\u3063\u3066\u3057\u307e\u3044\u3001\u4eca\u5f8c\u306e\u8a2d\u5b9a\u3092VM\u8d77\u52d5\u6642\u306b\u884c\u308f\u306a\u3044\u3068\u3044\u3051\u306a\u304f\u306a\u308b\u305f\u3081\u3001\u8a2d\u5b9a\u3092\u63a8\u5968\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u307e\u305a\u306f\u3001Google Cloud\u306eIP\u30a2\u30c9\u30ec\u30b9\u306e\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u4e0b\u8a18\u56f3\u306e\u2468\u306e\u300c\u5916\u90e8\u9759\u7684IP\u30a2\u30c9\u30ec\u30b9\u3092\u4e88\u7d04\u3057\u307e\u3059\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<!-- notionvc: 0a76ff49-0654-42e8-b35d-b9772d58b4a1 --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled7.jpg\" \/><\/p>\r\n<p>\u3059\u308b\u3068\u3001\u4e0b\u8a18\u56f3\u306e\u3088\u3046\u306a\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u2469\u306e\u7b87\u6240\u306b\u4eca\u56de\u8a2d\u5b9a\u3059\u308bIP\u30a2\u30c9\u30ec\u30b9\u306e\u540d\u524d\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u81ea\u5206\u306f\u308f\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u300c{VM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u540d}-ip\u300d\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<!-- notionvc: 80044732-542e-4751-934e-3553ed2dc458 --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled8.jpg\" \/><\/p>\r\n<p>\u6b21\u306b\u3001\u3069\u306eVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u4e88\u7d04\u3059\u308b\u304b\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u246a\u306e\u7b87\u6240\u304b\u3089\u30ea\u30fc\u30b8\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3001\u305d\u306e\u4e2d\u304b\u3089\u5bfe\u8c61\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u8a2d\u5b9a\u3092\u5b8c\u4e86\u3057\u305f\u3089\u3001\u300c\u4e88\u7d04\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<!-- notionvc: 4c5dfab1-f575-4dbc-ba6b-78e2abed8f8c --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled9.jpg\" \/><\/p>\r\n<p>IP\u30a2\u30c9\u30ec\u30b9\u306e\u8a2d\u5b9a\u304c\u7d42\u308f\u308b\u3068\u3001\u5148\u307b\u3069\u306eVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30da\u30fc\u30b8\u306b\u623b\u308a\u5916\u90e8IP\u304c\u4ed8\u4e0e\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<!-- notionvc: 9946a2a3-ec85-4553-9bff-63e1a7a0fe6e --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled10.jpg\" \/><\/p>\r\n<p>&nbsp;<\/p>\r\n<p><!-- notionvc: c1efe647-28a2-44ac-a4ad-dac54e77fca6 --><\/p>\n\n<h2>VScode\u304b\u3089VM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306bSSH\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a<\/h2>\n<p>\u3053\u3053\u304b\u3089\u306f\u3001VS Code\u304b\u3089GCE\u306eVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306bSSH\u63a5\u7d9a\u3057\u3066\u958b\u767a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u8a2d\u5b9a\u3092\u884c\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\r\n<p>\u307e\u305a\u3001\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u8a8d\u8a3c\u9375\u306e\u767a\u884c\u3092\u884c\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002\u4e0b\u8a18\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u8a8d\u8a3c\u9375\u306e\u767a\u884c\u3092\u884c\u306a\u3063\u3066\u304f\u3060\u3055\u3044\u3002<code><!-- notionvc: abfe02a5-b40e-4b27-bdb7-a643410aed79 --><\/code><\/p>\r\n<p><!-- notionvc: 3d543fa1-eb14-44d5-b1ad-318b9be3e59b --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>$ ssh-keygen \r\nGenerating public\/private rsa key pair. \r\nEnter file in which to save the key (\/Users\/\u30e6\u30fc\u30b6\u30fc\u540d\/.ssh\/id_rsa): &lt;--\u9375\u306e\u4fdd\u5b58\u5148 \r\nEnter passphrase (empty for no passphrase): &lt;-- \u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\uff08\u4efb\u610f\uff09 \r\nEnter same passphrase again: &lt;-- \u3082\u3046\u4e00\u5ea6\u3001\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\uff08\u4efb\u610f\uff09 \r\nYour identification has been saved in id_rsa. \r\nYour public key has been saved in id_rsa.pub.<!-- notionvc: abfe02a5-b40e-4b27-bdb7-a643410aed79 -->\r\n<\/code><\/pre>\r\n<\/div>\r\n<p>\u6b21\u306b\u3001VS Code\u3067\u306e\u8a2d\u5b9a\u3092\u884c\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002\u307e\u305a\u306f\u3001\u5fc5\u8981\u306a\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u4e0b\u8a18\u306e\u300cRemote &#8211; SSH\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n<p><!-- notionvc: fe93101e-eb9e-4aaa-a186-f5e496e3fae8 --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled11.jpg\" \/><\/p>\r\n<p>\u6b21\u306b\u3001VS Code\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u300c~\/.ssh\/config\u300d\u3092\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u3067\u3001\u63a5\u7d9a\u5148\u306eVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u8a2d\u5b9a\u3092\u5165\u529b\u3057\u307e\u3059\u3002~\/.ssh\/config\u306b\u4e0b\u8a18\u3092\u5165\u529b\u3057\u3066\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<!-- notionvc: 840c7bdf-9013-4126-a47c-f0ea793ea09a --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Host &lt;VM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u540d\u524d\uff08\u4eca\u56de\u3060\u3068sample-instance\uff09&gt; \r\n    HostName &lt;\u5bfe\u8c61\u306eVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u5916\u90e8IP\u30a2\u30c9\u30ec\u30b9&gt; \r\n    User &lt;\u30e6\u30fc\u30b6\u30fc\u540d&gt; \r\n    IdentityFile &lt;\u5148\u307b\u3069\u767a\u884c\u3057\u305f\u8a8d\u8a3c\u9375\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9&gt; \r\n    PasswordAuthentication no \r\n    IdentitiesOnly yes<!-- notionvc: a7966ca7-b9b3-4bac-963e-e1b9f7ac4b25 --><\/code><\/pre>\r\n<p>\u6b21\u306b\u3001\u8a8d\u8a3c\u9375\u306e\u8a2d\u5b9a\u3092\u884c\u306a\u3063\u3066\u3044\u304d\u307e\u3059\u3002\u5148\u307b\u3069\u306eGoogle Cloud\u306eVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30da\u30fc\u30b8\u304b\u3089\u246b\u306e\u7de8\u96c6\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<!-- notionvc: 41e17da6-50dc-40fe-b454-d1eb8d0cd24c --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled12.jpg\" \/><\/p>\r\n<p>\u305d\u306e\u5f8c\u3001\u4e0b\u8a18\u56f3\u306e\u246c\u306e\u7b87\u6240\u306b\u3001\u5148\u307b\u3069\u767a\u884c\u3057\u305f\u8a8d\u8a3c\u9375\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u4fdd\u5b58\u3059\u308c\u3070\u8a8d\u8a3c\u9375\u306e\u8a2d\u5b9a\u306f\u7d42\u4e86\u3067\u3059\u3002<!-- notionvc: f94e8310-cdb6-4e56-8fd3-deedeee6bdfa --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled13.jpg\" \/><\/p>\r\n<p>\u3053\u308c\u3067\u3001\u7acb\u3061\u4e0a\u3052\u305fVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306bVS Code\u304b\u3089SSH\u63a5\u7d9a\u3059\u308b\u8a2d\u5b9a\u306f\u7d42\u4e86\u3067\u3059\u3002VS Code\u3092\u958b\u3044\u3066\u5de6\u90e8\u306e\u300c\u30ea\u30e2\u30fc\u30c8\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u30fc\u300d\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u5148\u307b\u3069config\u30d5\u30a1\u30a4\u30eb\u306b\u5165\u529b\u3057\u305f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u65b0\u3057\u3044\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3059\u3002<!-- notionvc: a189c5ea-5691-48e2-807c-9a3eb3813ab2 --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled14.jpg\" \/><\/p>\r\n<p>\u4e0b\u8a18\u304c\u9077\u79fb\u5f8c\u306e\u753b\u9762\u306b\u306a\u308a\u307e\u3059\u3002\u5de6\u4e0b\u90e8\u306b\u300cSSH\uff1asample-instance\u300d\u3068\u306a\u3063\u3066\u304a\u308a\u3001\u5148\u307b\u3069\u7acb\u3061\u4e0a\u3052\u305fVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u63a5\u7d9a\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3053\u3053\u3067\u898b\u3066\u3044\u308b\u753b\u9762\u306f\u3001\u65e2\u306bVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4e2d\u8eab\u306b\u306a\u308a\u307e\u3059\u3002<!-- notionvc: 81cca65b-8127-42df-a510-c317f0d1b6df --><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2023\/11\/Untitled15.jpg\" \/><\/p>\r\n<\/div>\n\n<h2>\u7d42\u308f\u308a\u306b<\/h2>\n<p>\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u3001VM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306bVS Code\u304b\u3089SSH\u63a5\u7d9a\u3057\u3066\u3001\u30af\u30e9\u30a6\u30c9\u30ea\u30bd\u30fc\u30b9\u3092\u6d3b\u7528\u3057\u3066\u958b\u767a\u3067\u304d\u308b\u74b0\u5883\u304c\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002\u7686\u69d8\u3082\u662f\u975e\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044<\/p>\r\n<p><!-- notionvc: 7d54b943-58dd-4266-91ff-6f83569586c3 --><\/p>","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Google Compute Engine\uff08GCE\uff09\u3067\u7acb\u3061\u4e0a\u3052\u305fVM\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306bVS Code\u304b\u3089SSH\u63a5\u7d9a\u3057\u3066\u3001\u30af\u30e9\u30a6\u30c9\u30ea\u30bd\u30fc\u30b9\u3092\u6d3b\u7528\u3057\u3066\u958b\u767a\u3067\u304d\u308b\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b\u624b\u9806\u3092\u5177\u4f53\u7684\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\u3053\u306e\u74b0\u5883\u69cb\u7bc9\u306b [&hellip;]<\/p>\n","protected":false},"author":85,"featured_media":3964,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1249],"tags":[103,207,502,503,504,492],"class_list":["post-3947","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-google","tag-google-cloud","tag-google-compute-engine","tag-ssh","tag-vm","tag-vscode"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/3947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/85"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=3947"}],"version-history":[{"count":1,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/3947\/revisions"}],"predecessor-version":[{"id":3965,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/3947\/revisions\/3965"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/3964"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=3947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=3947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=3947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}