Questions tagged [google-vpc]
243 questions
2
votes
2 answers
Connectivity between Cloud Run and Cloud SQL (Internal IP)
I have created my organisation infrastructure in GCP following the Cloud Foundation Toolkit using the Terraform modules provided by Google.
The following table list the IP ranges for all environments:
Now I am in the process of deploying my…

Raoni
- 57
- 3
- 9
2
votes
1 answer
Error while I create dataproc workflow template
I am trying to create a workflow template with the following command
gcloud dataproc workflow-templates create $TEMPLATE_ID --region $REGION but every time i try this I am getting this error:
If anyone has faced such issue can you please help me…

Atul Patil
- 137
- 2
- 10
2
votes
3 answers
Exception while trying to create instance template on GCP
I'm trying to create an instance template using f1-micro, with all the default except
service account. Using the one I created, with my custom vpc and custom role.
Creating instance template "frontend-it" failed. Error: Invalid JSON payload…

Dor
- 96
- 5
2
votes
2 answers
Why can't App Engine connect to Compute Engine VM instance?
I have a VM instance (e2-micro) on GCP running with postgres. I added my own external ip address to pg_hba.conf so I can connect to the database on my local machine. Next to that I have a nodeJS application which I want to connect to that database.…

Lennert
- 153
- 7
2
votes
2 answers
Layer 2 connection between VMs in GCP?
I have two machines in the same VPC (under same subnet range) in GCP. I want to ping MAC address from one instance to another (ie. layer 2 connection). Is this supported in GCP?
If not, is GRE tunnel supported between the two VMs in the above…

Sankalpa Timilsina
- 313
- 1
- 8
2
votes
1 answer
Cloud Run error: VPC connector "connector" is not ready yet or does not exist
So I am trying to connect my Cloud Run service (only in region us-west1) with my VPC connector (region us-central1), when i try to update my already existing service using this command
gcloud run services update SERVICE --vpc-connector…

Шурбески Христијан
- 131
- 16
2
votes
0 answers
Issue in GCP : getaddrinfo ENOTFOUND issue in Google Cloud Platform
Getting Error: getaddrinfo ENOTFOUND for external API call.
I have shifted some of my company's infra to GCP. The issue I am facing is that suddenly out of the blue our GCP instances which are behind a VPC are giving us error
Error: getaddrinfo…

Aniket Maithani
- 845
- 1
- 10
- 24
2
votes
2 answers
Gcloud could not fetch resource: Specified IP address is not allocated to the project or does not belong to the specified scope
I'm trying to migrate a VM on GCP from one project to another. I succeeded until a point where it came to transferring the static IP address.
I detached it from the old VM and then deleted/released it. I went to the new project and attempted to…

JTK
- 101
- 3
- 14
1
vote
0 answers
Connecting Cloud SQL Private Instance with Cloud Build
In my GCP org I've a Cloud SQL Private instance running with a Private IP, peering with my internal VPC. For my Cloud Run payload, I setup a Serverless VPC connector and it works fine. Also, my GCE instances in the VPC can reach the CloudSQL…

Gabriele B
- 2,665
- 1
- 25
- 40
1
vote
2 answers
GCP Multiple VPC networks in same region but different zone need to connect on-premise network
We have multiple VPC networks with respect to the env type, like dev/sit/e2e/pre-prod/prod etc to isolate the workload. Each VPC network having multiple subnets. The core applications are built using the GCP services like GCE, GKE, Cloud Storage,…

Pourab Bhattacharyya
- 11
- 2
1
vote
1 answer
How to reach internal cloud run services from a different project and his own?
I am currently stuck on a network architecture issue on Google Cloud Platform.
Let me explain:
I have a project A with different Google Cloud Run services which are all restricted with an internal ingress (without authorization from external load…

lachauj
- 21
- 5
1
vote
0 answers
Flask SocketIO in GCP Cloud Run experiencing issues with pub/sub using GCP Redis after a certain period of time
We are currently running Flask SocketIO in GCP Cloud Run, with message_queue utilizing GCP Redis (Memorystore) through a VPC network.
The GCP Redis instance is of Basic type, with a capacity of 12 GB.
Our VPC network comprises 2 min instances, 3 max…

Griiid
- 21
- 3
1
vote
1 answer
Inter-subnet communication within the same VPC - GCP
I am fairly new to GCP networking and I could use some guidance. I'm sure there is a simple explanation for what I'd like to accomplish. I believe its just a simple firewall rule but I'm not sure how to configure the rule.
I current have 3 subnets…

Scott Ennover
- 13
- 2
1
vote
1 answer
Nginx in Cloud Run with internal traffic works but gives connect errors
I'm running an Nginx in a Cloud Run instance as a Reverse-Proxy to a backend Cloud Run app (it will do more stuff in the future, but let's keep it simple for this example).
The Nginx Cloud Run requires authentication (via IAM), but the backend app…

Jakube
- 3,353
- 3
- 23
- 40
1
vote
1 answer
How can I deploy and connect to a postgreSQL instance in AlloyDB without utilizing VM?
Currently, I have followed the google docs quick start docs for deploying a simple cloud run web server that is connected to AlloyDB. However, in the docs, it all seem to point towards of having to utilize VM for a postgreSQL client, which then is…

funtkungus
- 238
- 1
- 2
- 12