Add a Private Network Route for BigQuery on Google Cloud

Connect your Data 360 tenant to Google BigQuery by using a Salesforce-managed private network connection with Private Connect Multicloud for Data 360. Salesforce provisions and maintains the cross-cloud private connection between Data 360 on AWS and BigQuery on Google Cloud.

Create the private network route before you create the BigQuery Zero Copy Query Federation connection. You can’t add Private Connect to an existing connection.

Private Connect Multicloud for Data 360 is in pilot. Pilot deployments aren’t production deployments, and Salesforce doesn’t provide SLA or support guarantees during the pilot. Maintain a fallback path, such as IP allowlisting, for production workloads.

When the feature becomes generally available, the routes and connections that you create during the pilot remain available. You don’t need to re-create or reconfigure them. Purchase the generally available product to continue using them.

Note

Prerequisites 

Available in: All Editions supported by Data 360. See Data 360 Editions and Licenses.

User Permissions Needed

To create a BigQuery private network route:Data Cloud Architect permission set, Manage External Connections, or Customize Application permission
To authorize Salesforce access in a VPC Service Controls perimeter, if applicable:Google Cloud Access Context Manager admin, or the equivalent role that your organization uses to edit service perimeters

Before you begin, confirm that you meet these requirements.

  • Your Data 360 tenant runs in a Data 360 region where Private Connect Multicloud is available. See Supported Data 360 Regions.
  • You use the Google BigQuery connector with Data 360 Zero Copy Query Federation.
  • You have the BigQuery authentication credentials that you use for the connection. You can use either Private Key Pair or Identity Provider Based authentication. Private routing doesn’t change how you authenticate to BigQuery.
  • If your BigQuery project is inside a VPC Service Controls perimeter, your security or platform team can authorize Salesforce access. See Step 2: Authorize Salesforce Access in a VPC Service Controls Perimeter.
  • If your organization restricts access to Google’s Security Token Service or OAuth endpoints, allowlist Salesforce public IP ranges. See Keep Google Authentication Endpoints Reachable.

Limitations 

  • Private Connect Multicloud is available only in Data 360 regions where Salesforce has provisioned cross-cloud transit infrastructure. Your BigQuery project can run in any Google Cloud region.
  • You can’t add Private Connect to an existing BigQuery connection. Create the private network route first, and then select it when you create the connection.
  • The Use Unload option stages query results in Google Cloud Storage. If your project uses a VPC Service Controls perimeter, you must configure additional access. See If You Use Use Unload.

Supported Data 360 Regions 

Private Connect Multicloud for BigQuery is available in these Data 360 AWS regions.

Data 360 Region
us-east-2
ca-central-1
sa-east-1
eu-west-2
eu-west-3
eu-central-1
eu-north-1
ap-south-1
ap-south-2
ap-southeast-1
ap-southeast-2
ap-southeast-3
ap-northeast-1
ap-northeast-3

Your BigQuery project can run in any Google Cloud region. The Salesforce-managed private connection reaches Google Cloud regions globally, so your Data 360 region determines availability.

Step 1: Create the Private Network Route in Data 360 

BigQuery doesn’t require you to provide configuration values when you create the route. Salesforce provisions the private connection to the Google-managed BigQuery service.

  1. From the App Launcher, select Data 360.
  2. From Setup, select Data 360 Setup.
  3. In Data 360 Setup, expand Admin Tools, and then select Private Connect.
  4. Select New.
  5. Select the BigQuery tile.
  6. In the Select a Network panel, select Google Cloud for Cloud Provider, and then select Add Private Network Route.
  7. On the Configure BigQuery Private Network Route page, enter a Route Name. Data 360 fills in the Route API Name.
  8. Optionally, enter a Description.
  9. Select Save.

Salesforce begins provisioning the private connection. Provisioning typically takes up to 10 minutes.

To view the current status, select the refresh button above the Private Connect list. Reloading the browser page or signing out and signing back in doesn’t refresh the route status on the details page.

If your BigQuery project isn’t inside a VPC Service Controls perimeter, continue to Set Up the BigQuery Connection. If a perimeter applies, complete Step 2 first.

Step 2: Authorize Salesforce Access in a VPC Service Controls Perimeter 

Complete this step only if your BigQuery project is inside a VPC Service Controls (VPC-SC) perimeter.

VPC Service Controls creates a perimeter around Google Cloud projects and services, such as BigQuery and Cloud Storage. The perimeter blocks requests that cross its boundary unless an explicit rule allows them. This control applies in addition to identity and access management (IAM), so a request can be denied even when the credentials are valid.

Private Connect Multicloud reaches your BigQuery project from a Salesforce-managed Google Cloud project outside your perimeter. If a perimeter protects your BigQuery project, your security or platform team must add an ingress policy that allows Salesforce access.

Determine Whether This Step Applies 

Ask your cloud security or platform team whether your BigQuery project is inside a VPC Service Controls perimeter. These perimeters are typically configured centrally, so your BigQuery administrators might not know whether one applies.

If the connection fails and your security team finds this error in the request logs, a perimeter is blocking the request:

1Request is prohibited by organization's policy. [VPC Service Controls]

Ask your security team to add the Salesforce rule in dry-run mode first. Dry-run mode records policy violations without blocking requests.

Add an Ingress Policy 

Give the following information to your security or platform team. They must add an ingress policy to the VPC Service Controls perimeter that protects your BigQuery project.

The ingress policy identifies:

  • The Salesforce-managed Google Cloud project to trust
  • The service account that Data 360 uses for the BigQuery connection
  • The Google Cloud services that Data 360 can access

Data 360 reaches your BigQuery project from the Salesforce-managed Google Cloud project 888637588554. Data 360 authenticates as the service account configured for your BigQuery connection.

In the ingress policy, use the service account email configured for your BigQuery connection in the identities field. If multiple connections use the route with different service accounts, include each service account in the policy.

Alternatively, your security team can use ANY_IDENTITY to trust any principal from the Salesforce-managed project. This option supports multiple or rotating service accounts, but it is broader than pinning the policy to specific service accounts.

The policy must allow these services when your perimeter restricts them.

ServiceUsed ForWhen Required
bigquery.googleapis.comQueries, metadata, and jobsAlways
bigquerystorage.googleapis.comHigh-throughput result readsAlways
iamcredentials.googleapis.comShort-lived credentials for authenticationAlways
storage.googleapis.comCloud Storage staging read-backOnly when Use Unload is enabled

Keep the policy’s allowed services synchronized with the perimeter’s restrictedServices configuration.

Keep Google Authentication Endpoints Reachable 

Data 360 exchanges tokens with the Google Security Token Service and OAuth endpoints over the public internet. The VPC Service Controls ingress policy doesn’t control this traffic.

If your organization restricts access to these endpoints, allowlist Salesforce public IP ranges for:

  • sts.googleapis.com
  • oauth2.googleapis.com

See IP Addresses Used by Data 360 Services.

If You Use Use Unload 

When you enable Use Unload, BigQuery writes query results to a Google Cloud Storage staging bucket before Data 360 reads them.

If your BigQuery project uses a VPC Service Controls perimeter:

  • Keep BigQuery and the Cloud Storage staging bucket in the same perimeter.
  • Allow storage.googleapis.com in the ingress policy so Data 360 can read the staged results.

If you don’t use Use Unload, no additional Cloud Storage configuration is required.

Consider Related Google Cloud Configuration 

Your security or platform team might also need to account for these Google Cloud configurations.

  • Domain Restricted Sharing: This setting doesn’t affect the private network route or ingress policy. If you use Identity Provider Based authentication, confirm that your policy allows role grants to workload identity pools in your organization.
  • Shared VPC: If your BigQuery project is a Shared VPC service project, a network or host-project team might need to approve the configuration.

Set Up the BigQuery Connection 

After the route shows Status: Ready, create your Google BigQuery Zero Copy Query Federation connection and select the private network route.

If your project uses a VPC Service Controls perimeter, complete Step 2 before you create the connection.

See Set Up a Google BigQuery Data Federation Connection.

Validate the Connection 

Confirm that the private connection works.

  • In Data 360, verify that the private network route shows Status: Ready.
  • If your project uses a VPC Service Controls perimeter, confirm with your security or platform team that the ingress policy is active. If they use dry-run mode, confirm that it reports no violations.
  • Run a query against the BigQuery data source through the connection.

If VPC Service Controls blocks a query, the error appears in Data 360 internal logs. Ask your security or platform team to recheck the ingress policy and its allowed services. If the policy is correct and the connection still fails, contact Salesforce Support.

Appendix: Ingress Policy Reference 

Your security or platform team can use this ingress-policy pattern. Replace the placeholders with your BigQuery connection service account and Google Cloud project number. Include only the services that your perimeter restricts.

1{
2  "ingressFrom": {
3    "identities": [
4      "serviceAccount:<YOUR_SERVICE_ACCOUNT>@<YOUR_PROJECT_ID>.iam.gserviceaccount.com"
5    ],
6    "sources": [
7      {
8        "resource": "projects/888637588554"
9      }
10    ]
11  },
12  "ingressTo": {
13    "operations": [
14      {
15        "serviceName": "bigquery.googleapis.com",
16        "methodSelectors": [
17          {
18            "method": "*"
19          }
20        ]
21      },
22      {
23        "serviceName": "bigquerystorage.googleapis.com",
24        "methodSelectors": [
25          {
26            "method": "*"
27          }
28        ]
29      },
30      {
31        "serviceName": "iamcredentials.googleapis.com",
32        "methodSelectors": [
33          {
34            "method": "*"
35          }
36        ]
37      }
38    ],
39    "resources": [
40      "projects/<YOUR_PROJECT_NUMBER>"
41    ]
42  },
43  "title": "salesforce-private-connect-ingress"
44}

If your connection uses Use Unload, add this object to the operations array:

1{
2  "serviceName": "storage.googleapis.com",
3  "methodSelectors": [
4    {
5      "method": "*"
6    }
7  ]
8}

To trust any principal from the Salesforce-managed project instead of specific service accounts, replace the identities array with:

1"identityType": "ANY_IDENTITY"

Use this option when multiple connections with different service accounts share the route. It is broader than limiting access to the specific service account configured for the connection.

See Also