Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to Access GCP Private Endpoint for All Google APIs from Azure VM over Classic VPN?

I have a classic VPN setup between Azure and Google Cloud Platform (GCP), and I can successfully access VMs on both sides.

In GCP, I created a Private Service Connect endpoint that targets all Google Cloud APIs, allowing private access to these APIs,  via the endpoint (e.g., storage-myendpoint.p.googleapis.com). From a VM in GCP, I can connect to this private endpoint without any issues.

However, when I try to connect to the same endpoint from a VM in Azure, it doesn't work.

Details:

  • The VPN gateway is connected to the same VPC where the Private Service Connect endpoint is located.
  • I expected the Azure VM to access the Google APIs via the private endpoint through the VPN, but it fails.

Questions:

  1. Are there specific configurations or additional steps needed to allow Azure VMs to access GCP’s private endpoint over the VPN?
  2. Could there be any network routing or DNS resolution issues preventing Azure VMs from reaching the GCP private endpoint?
  3. Any insights into troubleshooting this setup would be helpful.

Thank you!

Solved Solved
0 1 552
1 ACCEPTED SOLUTION

Check out this documentation and remember to export the IP of the endpoint as a custom export from the cloud router. Ensure you can see the IP of the endpoint in your Azure route table.

View solution in original post

1 REPLY 1

Check out this documentation and remember to export the IP of the endpoint as a custom export from the cloud router. Ensure you can see the IP of the endpoint in your Azure route table.