Google Cloud Private Service Connect for VeloDB Services
This reference lists the Google Cloud regions supported by VeloDB Services and the service attachment URI published in each region. It also explains how to create a Private Service Connect endpoint, connect it to the published service, and configure private DNS for supported VeloDB hostnames.
For the supported access paths and connection model, see VeloDB Services.
Requirements
- The VeloDB hostname and its Google Cloud region. The endpoint subnet and service attachment must be in this region.
- A VPC and subnet from which clients can access the VeloDB service.
- Permission to create Private Service Connect forwarding rules, internal addresses, firewall rules, and Cloud DNS records.
- TCP port
443allowed between clients and the endpoint.
Supported Regions and Service Attachments
| Google Cloud region | Service attachment URI |
|---|---|
us-west1 | projects/nifty-jet-418508/regions/us-west1/serviceAttachments/selectdb-byoc-us-west1-endpointservice-https |
us-east4 | projects/nifty-jet-418508/regions/us-east4/serviceAttachments/pls-rv23q67r-https |
us-central1 | projects/nifty-jet-418508/regions/us-central1/serviceAttachments/pls-q3u07fp7-https |
us-west4 | projects/nifty-jet-418508/regions/us-west4/serviceAttachments/pls-g4sibc2l-https |
europe-west3 | projects/nifty-jet-418508/regions/europe-west3/serviceAttachments/pls-44u4qo0z-https |
asia-southeast1 | projects/nifty-jet-418508/regions/asia-southeast1/serviceAttachments/pls-pek0hd99-https |
asia-east2 | projects/nifty-jet-418508/regions/asia-east2/serviceAttachments/pls-s0n6s96z-https |
Step 1: Create a Private Service Connect endpoint
- In the Google Cloud console, open Private Service Connect > Connected endpoints.
- Select Connect endpoint.
- For Target, select Published service.
- Enter the VeloDB Cloud service attachment URI for your region.
- Enter an endpoint name such as
velodb-services. - Select the client VPC and a subnet in the same region as the service attachment.
- Reserve or select an internal IPv4 address.
- Enable Global access if clients in other Google Cloud regions must use the endpoint.
- Create the endpoint.
If the endpoint is not accepted, send the following information to VeloDB Support:
- VeloDB Cloud organization name
- VeloDB hostname or hostnames that you plan to route through the endpoint
- Consumer project ID
- Region
- Endpoint forwarding rule name
- Endpoint internal IP address
Continue after the endpoint status changes to Accepted.
Step 2: Configure private DNS
-
Create or select a Cloud DNS private zone that is visible to the client VPC.
-
If the private zone must cover VeloDB hostnames in multiple Google Cloud regions, use this private DNS name:
gcp.velodb.cloudYou can use a narrower zone such as
us-east4.gcp.velodb.cloudif the VPC needs private access in only one region.
A private DNS zone is authoritative for every hostname in its suffix. DNS does not fall back to the public zone when a hostname has no matching private record. If you use gcp.velodb.cloud, add records for every VeloDB hostname that clients must resolve, including each warehouse-specific Console hostname. Otherwise, missing hostnames return NXDOMAIN.
- Create an
Arecord for each complete VeloDB hostname. - Point the record to the Private Service Connect endpoint's internal IP address.
For example, create records for <warehouse-id>-studio.us-east4.gcp.velodb.cloud when privately accessing a warehouse-specific Console endpoint and apps-api.us-east4.gcp.velodb.cloud when privately accessing the Metrics API.
If multiple VPCs must resolve the hostname, make the private zone visible to every required network.
Step 3: Verify the connection
From a client in the VPC, resolve each hostname that you configured. For example:
nslookup <warehouse-id>-studio.<region>.gcp.velodb.cloud
nslookup apps-api.<region>.gcp.velodb.cloud
The hostname must resolve to the reserved internal IP address of the Private Service Connect endpoint.
Verify TLS and HTTP routing with the original VeloDB hostname. Use the request documented for the service that you are accessing. For example:
curl -sS \
-o /dev/null \
-w 'remote_ip=%{remote_ip} http_code=%{http_code}\n' \
https://apps-api.<region>.gcp.velodb.cloud/
Confirm that the remote address is private, TLS validation succeeds without --insecure, and the server returns an HTTP response. An unauthenticated request can return 401, 403, or a redirect.
Connect from an on-premises network
- Connect the on-premises network to the VPC through Cloud Interconnect or Cloud VPN.
- Ensure that routes and firewall rules allow TCP
443access to the endpoint IP. - Configure corporate DNS to forward the regional VeloDB Cloud zone to a Cloud DNS inbound forwarding endpoint.
Troubleshooting
| Problem | Checks |
|---|---|
| Service attachment cannot be used | Confirm that the endpoint subnet and service attachment are in the same region. |
| Endpoint is pending or rejected | Send the consumer project and forwarding rule details to VeloDB Support. |
| VeloDB hostname resolves publicly | Check private-zone visibility, record name, and DNS forwarding. |
| Connection times out | Check endpoint acceptance, firewall rules, routes, and TCP 443 access. |
| TLS validation fails | Use the original VeloDB hostname, not the endpoint IP. |