Verify a private services access connection

This page provides instructions for checking to see if a private services access connection is set up for your network. Any network on which you provision a Memorystore for Memcached instance must have a private services access connection. Otherwise, you cannot select that network when creating a Memorystore for Memcached instance. See Networking for more details.

For instructions on setting up a private services access connection, see Establishing a private services access connection.

Console

  1. Go to the VPC Networks page in the Google Cloud console.
    VPC Networks

  2. Click the name of the VPC network that you want to verify.

  3. Click the Private service connection tab.

  4. Click the Private connections to services tab.

    If you see a connection listed called servicenetworking-googleapis-com, then a connection has been established for this network.

    If the connection has not been established, follow the instructions at Establishing a private services access connection.

Gcloud

Verify if private services access is already set up for your project by running the following command, replacing the highlighted-variables with the appropriate values:

   gcloud beta 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-variables] replaced by your project's variables. If a connection is not enabled for private services access, the previous command returns nothing.

   network: projects/[project-number]/global/networks/[network]
   peering: servicenetworking-googleapis-com
   reservedPeeringRanges: [Range description]
   

If the connection has not been established, follow the instructions at Establishing a private services access connection.

What's next