Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini memberikan petunjuk untuk memeriksa apakah koneksi akses layanan pribadi
telah disiapkan untuk jaringan Anda. Membangun koneksi akses layanan pribadi untuk jaringan adalah prasyarat untuk membuat instance Redis dengan mode koneksi akses layanan pribadi yang ditetapkan untuk jaringan tersebut. Untuk
mengetahui detail selengkapnya, lihat Jaringan.
Konsol
Buka halaman VPC Networks di Google Cloud konsol.
Jaringan VPC
Klik nama jaringan VPC yang ingin diverifikasi.
Klik tab Koneksi layanan pribadi.
Klik tab Koneksi pribadi ke layanan.
Jika Anda melihat koneksi yang tercantum bernama servicenetworking-googleapis-com,
koneksi telah dibuat untuk jaringan ini.
Verifikasi apakah akses layanan pribadi sudah disiapkan untuk project Anda dengan
menjalankan perintah berikut, dengan mengganti highlighted-variables
dengan nilai yang sesuai:
gcloud services vpc-peerings list --network=network --project=project-id
Untuk memilih jaringan default, gunakan --network=default.
Jika koneksi diaktifkan, perintah akan menampilkan teks di bawah dengan
[bracketed-values] diganti oleh nilai project Anda. Jika koneksi tidak diaktifkan untuk akses layanan pribadi, perintah sebelumnya tidak akan menampilkan apa pun.
[[["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-05 UTC."],[],[],null,["# Verify a private services access connection\n\nThis page provides instructions for checking to see if a [private services access](/vpc/docs/private-services-access)\nconnection is set up for your network. Establishing a private services access\nconnection for a network is a prerequisite for creating a Redis instance with\nthe private services access connection mode designated for that network. For\nmore details, see [Networking](/memorystore/docs/redis/networking). \n\n### Console\n\n1. Go to the **VPC Networks** page in the Google Cloud console.\n\n [VPC Networks](https://console.cloud.google.com/networking/networks/list?)\n\n2. Click the name of the VPC network that you want to verify.\n\n3. Click the **Private service connection** tab.\n\n4. Click the **Private connections to services** tab.\n\n If you see a connection listed called `servicenetworking-googleapis-com`,\n then a connection has been established for this network.\n\n If the connection has not been established, follow the instructions at\n [Establishing a private services access connection](/memorystore/docs/redis/establishing-connection).\n\n### gcloud\n\nVerify if private services access is already set up for your project by\nrunning the following command, replacing the \u003cvar translate=\"no\"\u003ehighlighted-variables\u003c/var\u003e\nwith the appropriate values:\n\n\u003cbr /\u003e\n\n```\n gcloud services vpc-peerings list --network=network --project=project-id\n \n```\n\n\u003cbr /\u003e\n\nTo select your default network use `--network=default`.\n\nIf a connection is enabled, the command returns the text below with the\n`[bracketed-values]` replaced by your project's values. If a\nconnection is not enabled for private services access, the previous\ncommand returns nothing.\n\n\u003cbr /\u003e\n\n```\n network: projects/[project-number]/global/networks/[network]\n peering: servicenetworking-googleapis-com\n reservedPeeringRanges: [Range description]\n \n```\n\n\u003cbr /\u003e\n\nIf the connection has not been established, follow the instructions at [Establishing a private services access connection](/memorystore/docs/redis/establishing-connection)."]]