Questions tagged [google-vpc]
243 questions
3
votes
1 answer
Firewall issue - egress from GKE to Cloud Function HTTP Trigger
I am developing a solution where a Java application hosted on GKE wants to make an outbound HTTP call to a cloud function which is deployed under a different GCP project, where the GKE operates on a shared network of which possesses firewall rules…

JordC1995
- 57
- 7
3
votes
0 answers
GCP "gateway_ip and peer_ip may not be identical" but I can't select the peer IP -- it's always paired & identical to the gateway one
I've been trying to create a VPN tunnel to connect to the memorystore instance of redis inside GCP from my local machine.
Upon getting to the stage where a VPN tunnel is created -- I can't proceed due to the error in the title.
The issue is I can't…

SebastianG
- 8,563
- 8
- 47
- 111
3
votes
1 answer
Rapid API and GCloud Run integration. Firewall setup
I am trying to set up access for Rapid API to my API deployed using Google Cloud Run.
Found article on how to control access:
https://rapidapi.com/blog/add-authentication-and-billing-for-your-api-on-google-cloud-platform-tutorial/
The idea is…

Grigory
- 679
- 1
- 4
- 22
3
votes
1 answer
Cloud functions refuse to access my serverless vpc connector in my shared VPC, why?
I have a shared VPC with a cloudSQL instance in it.
In that host project I also have a serverless vpc connector, with id vpc-serverless-connector. It has 10.8.0.0/28 as ip range. I'm deploying my cloud functions with firebase deploy, a patched…

pcboy_
- 71
- 1
- 5
3
votes
1 answer
What is the best way to route traffic between instances of 2 App Engine Flexible services (inside a VPC?)?
We want to deploy two App Engine services inside one Google Cloud project (one would handle external HTTPS requests and the other one shall handle receive traffic from the first service). Communication between these two services is done over mTLS…

Fedor
- 1,392
- 1
- 17
- 30
3
votes
2 answers
How can I connect remote computers to my VPC?
I have an application that runs through GCP's Compute Engine on group instances.
I have multiple computers on different private networks around the country and I need them to connect to my application through the VPC. They can already communicate…

Oliver J
- 51
- 4
3
votes
1 answer
How can I prompt google to set up VPC peering from servicenetworking.googleapis.com?
I have some Cloud SQL instances that currently have public IP's. It would make certain security-minded people happy if I changed them to have private IP's.
I am following the instructions documented here:…

MatrixManAtYrService
- 8,023
- 1
- 50
- 61
3
votes
2 answers
Copy a GCR image from one project to another
I aim to copy a gcr image from one project to another as soon as the image lands in the container registry of the first project. I am aware of the gcloud container images add-tag command, looking for a more automated option. Also the second project…

Shalanki Gupta
- 131
- 2
- 8
3
votes
2 answers
App Engine Standard, Serverless VPCs, Cloud Memorystore giving significant amount of timeouts
We configured our App Engine Standard python 3 service to connect to Cloud Memorystore via the Serverless VPC service (per the documentation, and other stack overflow threads). (I've included the app.yaml config below). This all worked well,…

jcjones1515
- 471
- 4
- 12
2
votes
1 answer
How can I find available ip ranges in a gcloud VPC?
I have to specify a subnet in order to allow Google's Datastream to connect with a source database but every single subnet I specify gives me the error:
Error: Error creating PrivateConnection: googleapi: Error 400: The IP range specified…

CClarke
- 503
- 7
- 18
2
votes
0 answers
Setup database synchronization from AWS RDS to GCP CloudSQL
We want to move our AWS RDS database to GCP CloudSQL. We want to do this without downtime. So our approach was to set up a HA VPN tunnel and use Data Migration Service to sync everything to CloudSQL.
The RDS database is in a private subnet on the…

Yorick
- 21
- 2
2
votes
1 answer
Permission issue in connecting a serverless VPC connector to Cloud Run in host project
I have a service in Cloud Run in project x that needs to access a VM instance, which I am allowing access to using a serverless VPC connector (created in a host project). My problem, while following this guide is that there appears to be a…

gorilla_glue
- 315
- 2
- 13
2
votes
1 answer
Using the BigQuery API on APP Scritps with a Service Account
I'm trying execute a job on BigQuery on a VPC project using App Scripts.
My goal is store the result in an array to create a dynamic prompt for DataStudio using community connectors
Using the following code:
function runQuery() {
var sql = …

Joao Simoes
- 39
- 2
2
votes
2 answers
Restrict access to Google Cloud VM to only Firebase server
I have a Google Cloud VM instance running a REST API server.
I want to remove all public access to the microservice VM and i only want Firebase - which represents my frontend server to have access to the microservice server on the VM.
My thought was…

user1584421
- 3,499
- 11
- 46
- 86
2
votes
1 answer
How to connect to Cloud SQL from Cloud Run instance while also using Serverless-VPC-Connector?
I'm running a cloud run service with a working Cloud-SQL connection using the proxy to connect to the Cloud-SQL instance. The Cloud-SQL instance does not have a private IP configured.
Now there is a new requirement that this service needs to connect…

Bastian Stein
- 2,147
- 1
- 13
- 28