Questions tagged [google-vpc]
243 questions
1
vote
2 answers
Access Cloud SQL instance in separate project
I'm looking for a solution (maybe this isn't the best way) to get an app running on one of our GKE clusters in Project-A, to access a Cloud SQL instance in Project-B, over it's an internal IP and ideally via cloud SQL proxy. Some more info:
We have…

sc-leeds
- 399
- 3
- 15
1
vote
1 answer
Implementing Vpc peering in GCP
I was trying to demonstrate VPC peering in GCP. I followed the below steps;
Setup1 :
I logged into GCP admin user account and I have created VPC in custom mode and added a subnet in the us-central region under one project. Than I have set the…

Sweety
- 307
- 1
- 11
1
vote
0 answers
Error while creating GCP Serverless VPC Connection (“code”: 9) - "Operation failed: Insufficient CPU quota in region."
Have tried the following:
Created it in another project, it worked perfectly fine (but I need it in this specific project)
Tried various IP ranges like 10.8.0.0, 10.128.0.0, 10.160.0.0 - no use
Doesn't work either if I change the region to…

RodneyRd
- 130
- 10
1
vote
0 answers
Make app engine access firebase 'ALLOW_INTERNAL_ONLY' functions
I'm trying to make http requests from an app engine instance to a firebase function allowed for internal requests only.
// index.js (firebase functions)
const egressOpts = {
vpcConnector: 'the-vpc-connector',
vpcConnectorEgressSettings:…

AFMeirelles
- 409
- 3
- 8
- 25
1
vote
2 answers
How do I find which resources use a vpc in GCP?
I want to delete a GCP vpc, I get:
Failed to delete the network. Error: Some of the resources are referenced by other existing resources and cannot be deleted.
How do I determine what these other existing resources are?

schoon
- 2,858
- 3
- 46
- 78
1
vote
0 answers
How do I advertise additional routes into an existing BGP peer?
I'm trying to get my private ip address ranges my cloudsql instance is using routable across my vpn: https://cloud.google.com/sql/docs/postgres/configure-private-ip#vpn
I need to run this command:
gcloud compute routers update my-router \
…

red888
- 27,709
- 55
- 204
- 392
1
vote
1 answer
GCP API Gateway for Compute Engine
I found the following snippet on api gateway marketing page.
So I was setting up API gateway for my app running on compute engine. As I couldn't find any documentation on how to configure compute engine on API engine, I created the following…

vzurd
- 1,416
- 2
- 15
- 37
1
vote
0 answers
Private GKE cluster unable to pull public GCR image when VPC Service Perimeter is added. How can this be fixed?
I have setup my GCP organization using the CFT Terraform "Example foundation" scripts. After creating my own restricted share vpc project using the template provided, I created a private cluster within that project on the restricted shared VPC that…

Kevin Ansberry
- 11
- 2
1
vote
1 answer
Is it possible to assign a reserved public IP to a GKE deployment for egress traffic?
I want some of my GKE deployments to use a public static IP for egress traffic to the internet.
Here is what I already know is possible:
Use gcp's nat gateway and NAT ALL public traffic from a cluster/vpc
Create a GCE instance with IP forwarding…

red888
- 27,709
- 55
- 204
- 392
1
vote
1 answer
How to secure a GCS bucket by using VPC network
I am exploring network security on GCP, Can anybody please explain how to create a GCS bucket under VPC or how to configure a VPC on GCS bucket?

Vikash Pareek
- 1,063
- 14
- 30
1
vote
1 answer
Multiple subnets in a GCP network
Subnets are regional resource, while network are global resource. I am doing a Google LAB and I am facing up this doubt.
There is this kind of network:
networkA with subnet-a and subnet-b both in region us-central1
How is it possible?

FbaStack
- 15
- 1
- 6
1
vote
0 answers
Launching CloudSQL with Private IP Address and multiple Private Service Connection
I have created a GCP CloudSQL instance with a private address using Private Service Access. I assigned the subnet mask (/20) for Private Service Access and was able to successfully launch a MySQL instance using this range. The following range was…

Zama Ques
- 1,497
- 5
- 26
- 45
1
vote
1 answer
Network Internet Standard Egress from Jakarta in Google Cloud
Hello I have a question about Compute Engine in Google Cloud Platform, this is my first time building webhosting in google cloud with Compute Engine.
I think its too costly with a bill for $80/day with traffic avg 100.000 page view/day.
so I'm…

david
- 23
- 3
1
vote
1 answer
GCP VPC Peering (auto-mode)
I have two GCP projects which have their own VPC (created in auto-mode) and I would like to create a VPC peering connection between them in order for the compute instances in both VPCs to communicate with each other.
But since the VPCs were created…

cyberhippo
- 51
- 8
1
vote
1 answer
Compute Engine in VPC can't connect to Internet & Cloud Storage after establishing Cloud VPN
Assuming I have a custom VPC with IP ranges 10.148.0.0/20
This custom VPC has firewall rules to allow-internal so the service inside those IP ranges can communicate to each other.
After the system grows I need to connect to some on-premises network…

Chairul
- 147
- 1
- 13