このドキュメントでは、内部 IP アドレスを使用して Compute Engine 仮想マシン(VM)インスタンスに接続する方法の概要について説明します。内部 IP アドレスを使用して VM に接続すると、VM の外部 IP アドレスを削除するか、受信トラフィックを外部 IP アドレスに制限して、VM を外部ネットワークから分離できます。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[[["\u003cp\u003eThis document outlines how to connect to Compute Engine virtual machines (VMs) using their internal IP addresses, particularly useful when VMs are isolated from external networks.\u003c/p\u003e\n"],["\u003cp\u003eConnecting via internal IP is an alternative to using an external IP address, for which separate instructions are available.\u003c/p\u003e\n"],["\u003cp\u003eSSH tunneling with Identity-Aware Proxy (IAP) is recommended when external IP access to VMs is restricted and is compatible with bastion hosts and VMs within projects using Cloud VPN or Cloud Interconnect.\u003c/p\u003e\n"],["\u003cp\u003eBastion host VMs are an option for specific cases, such as session recording, where IAP is not suitable.\u003c/p\u003e\n"],["\u003cp\u003eCloud VPN or Cloud Interconnect can be used for SSH access if they are already set up within the organization, noting these are separate products from Compute Engine.\u003c/p\u003e\n"]]],[],null,["# Choose a connection option for internal-only VMs\n\nLinux\n\n*** ** * ** ***\n\nThis document provides an overview of the methods that you can use to connect to\na Compute Engine virtual machine (VM) instance through its internal IP\naddress. Connecting to a VM using its internal IP address is useful if you\nisolate VMs from external networks by removing their external IP addresses or\nrestricting inbound traffic to their external IP addresses.\n\nIf your VMs have external IP addresses, you can\n[connect using external IP address](/compute/docs/instances/connecting-to-instance).\n\nOptions\n-------\n\nThe following table summarizes the SSH options for connecting to VMs through\ntheir internal IP addresses."]]