Reputation: 187
The use case is the following:
What are the best practices in Networking to ensure that communication?
Thank you
Upvotes: 0
Views: 574
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
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