Questions tagged [google-vpc]
243 questions
1
vote
1 answer
Cannot Connect to Cloud SQL from App Engine Standard using a VPC Static Ip Address with Egress Setting: all-traffic
We have two separate projects, project A: has a Cloud SQL instance (has both public IP and private IP)
Now we have a new project B: It's a App Engine standard Java11 environment. For this project we have a requirement where we need to make a REST…

StatCap
- 11
- 3
1
vote
0 answers
How to setup network for GKE pods from two different projects? Shared vpc doesn't seem to work
I have two projects in my Google Cloud. One of them has an endpoint I want to reach (published as Node Port). This port should be in internal network, but somehow accessible from second project.
My research of this problem got me into shared vpc…

Konstantin Amelichev
- 11
- 1
1
vote
0 answers
Failed to create a private GKE cluster using a shared VPC
We have difficulty creating a private GKE cluster using a shared VPC with network peering.
The default pool is created, but node is not in good shape.
Error in notifications:
Create Kubernetes Engine cluster "azure-pipelines-cicd-dev"
All cluster…

Lu Xin
- 45
- 5
1
vote
0 answers
Can traffic from App Engine for Google APIs travel through Serverless VPC access connector not be routed through cloud NAT?
We have set up a VPC Serverless access connector, and configured app engine to use this in app.yaml. We have egress_setting: all-traffic set, as we want to access a 3rd party API from a specific IP address. We used the documentation from…

Mark
- 3,459
- 1
- 18
- 23
1
vote
1 answer
Restricting triggering of GCP Cloud Function to certain IP-range
I use GCP cloud functions to trigger actions based on http-requests from another system. I know the IP-range where the requests come from and I want to restrict triggering the actions only on requests from this IP-range.
How should I go about this?…

BeastFromTheEast
- 13
- 3
1
vote
1 answer
Floating local IP for multiple Virtual Machines
On Google Cloud Platform I need to create two virtual machines that will act as the main server and replication server (as a database).
It happens that I will have several applications that will connect to the main server, which requires me to…

Tom
- 641
- 2
- 8
- 21
1
vote
1 answer
Is traffic encrypted inside Google VPC between App Engine Flexible and CloudSQL
I need encryption between Google App Engine Flexible and CloudSQL when both are connected to the same VPC and only using private IPs.
After reading Google documentation I don't have clear picture if I have to enable encryption in CloudSQL and use…

Ville S
- 13
- 3
1
vote
0 answers
How to allow external traffic to call Firebase Functions behind VPC Network
A third-party vendor requires an IP address for our Firebase Functions so that they can whitelist them.
Current Stack
React Native
Firebase (functions, admin)
What we've done
We have created a VPC Network and a connector following this…

squirrelhomie
- 561
- 4
- 9
1
vote
2 answers
GCP VPC-Peering setup for CloudSQL fails with "INVALID_ARGUMENT: The resource id 917163699144/global/networks/projects/barbarus-game is invalid"
I am following this guide https://cloud.google.com/sql/docs/mysql/configure-private-services-access#gcloud to setup a VPC private peering connection so my GKE nodes can connect to the CloudSQL instance.
However when following the steps I receive an…

xetra11
- 7,671
- 14
- 84
- 159
1
vote
1 answer
How to check if the Virtual Machines are not accessible on port 8080
In GCP how can we check if the compute engines are not accessible on port 8080. Is there any API where we can check and validate this scenario

Alex Man
- 4,746
- 17
- 93
- 178
1
vote
1 answer
How to enable private google access in all subnets of a VPC
How do I easily enable Private Google Access for all subnets in a GCP VPC?
The instructions for enabling Private Google Access for a single subnet can be found in:
https://cloud.google.com/vpc/docs/configure-private-google-access#config-pga

Thinh Ha
- 11
- 2
1
vote
1 answer
Share VPC connector
I am following this article[1] to get a fixed IP address of my Cloud Run instance, but my project already uses cloud memorystore (Redis) which requires a VPC serveless connector that I already using.
This is my serveless connector for Redis
gcloud…

Rodrigo
- 135
- 4
- 45
- 107
1
vote
1 answer
Can Terraform create a Compute Engine on a defined IP Range?
I'm able to create a Compute Engine with either a:
Predefined IP address
Dynamic IP address
But I can't create a Compute Engine with a semi-dynamic address, i.e. the first 3 numbers being static but not the last one, e.g. 255.255.255.*
The Compute…

FreeZey
- 2,382
- 3
- 11
- 23
1
vote
1 answer
Is Shared VPC required for a Serverless VPC Connector ni a different project?
I would like a Google Cloud Function in projectA to be able to connect to a Google Compute Engine instance in projectB. I'm aware that I need a VPC Serverless Connector in order to accomplish this and have followed the advice at
Cloud Functions >…

jamiet
- 10,501
- 14
- 80
- 159
1
vote
2 answers
How long does it take to release the ephemeral IP address back to the GCE pool?
Ephemeral external IP addresses: these addresses are available to VM
instances and forwarding rules. Ephemeral external IP addresses remain
attached to a VM instance only until the VM is stopped and restarted
or the instance is terminated. If an…

FlyingPenguin
- 231
- 1
- 9