Arrajj
Arrajj

Reputation: 187

How to send requests between servers in Private Network in GCP?

The use case is the following:

What are the best practices in Networking to ensure that communication?

Thank you

Upvotes: 0

Views: 574

Answers (2)

guillaume blaquiere
guillaume blaquiere

Reputation: 75810

For now, you can't plug Cloud Build in your VPC and thus connect private resources from there.

A new feature is coming and named Worker Pool. The principle is to provision Compute Engine instances in your project, and thus in your VPC to run Cloud Build pipeline. Because the pipeline will run in your VM in your VPC, you will be able to reach the private IPs of your VPC.

Upvotes: 1

PlainH2O
PlainH2O

Reputation: 167

Have you explored Private Google Access? It allows resources that do not have external IP to access Google's APIs and Services. Private Google Access is enabled on a subnet by subnet basis.

https://cloud.google.com/vpc/docs/private-access-options

Upvotes: 0

Related Questions