Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Linux
Dokumen ini berisi ringkasan tentang metode yang dapat digunakan untuk terhubung ke instance virtual machine (VM) Compute Engine melalui alamat IP internalnya. Terhubung ke VM menggunakan alamat IP internalnya akan berguna jika Anda
mengisolasi VM dari jaringan eksternal dengan menghapus alamat IP eksternalnya atau
membatasi traffic masuk ke alamat IP eksternalnya.
Anda tidak menginginkan adanya akses alamat IP eksternal apa pun ke VM apa pun di project Anda. Anda dapat menggunakan IAP pada semua VM Linux, termasuk VM bastion host dan VM dalam project yang menggunakan Cloud VPN atau Cloud Interconnect.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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."]]