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. 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, see Networking.

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-values] replaced by your project's values. 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.