Stay organized with collectionsSave and categorize content based on your preferences.
This page provides instructions for checking to see if aprivate services accessconnection is set up for your network. Establishing a private services access
connection for a network is a prerequisite for creating a Redis instance with
the private services access connection mode designated for that network. For
more details, seeNetworking.
Console
Go to theVPC Networkspage in the Google Cloud console. VPC Networks
Click the name of the VPC network that you want to verify.
Click thePrivate service connectiontab.
Click thePrivate connections to servicestab.
If you see a connection listed calledservicenetworking-googleapis-com,
then a connection has been established for this network.
Verify if private services access is already set up for your project by
running the following command, replacing thehighlighted-variableswith the appropriate values:
gcloud services vpc-peerings list --network=network--project=project-id
To select your default network use--network=default.
If a connection is enabled, the command returns the text below with the[bracketed-values]replaced by your project's values. If a
connection is not enabled for private services access, the previous
command returns nothing.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 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)."]]