jeffcott
jeffcott

Reputation: 13

Connecting to a private subnet from a GCP service

I am trying to reach a server in a private subnet that only has an internal IP from GCP cloud build. Is there something I need to do in order to allow traffic to be routed from google services to my private subnets or see my private DNS zones? Thanks in advance for the help!

Additional Details I am trying to hit it via HTTP through an internal load balancer: Step #1 - "Auth to Vault": Error authenticating: Put http://10.16.6.33:8200/v1/auth/gcp/login: dial tcp 10.16.6.33:8200: i/o timeout

Upvotes: 1

Views: 542

Answers (2)

John Hanley
John Hanley

Reputation: 81386

Google Cloud Build is a Google service located in Google controlled VPCs. Your internal load balancer is located in your VPC which Google Cloud Build cannot access.

At this time, Google Cloud does not offer a "VPC Connector" supporting Cloud Build accessing resources in your VPC using RFC 1918 private addresses.

Upvotes: 2

Chets
Chets

Reputation: 100

you would have to allow your subnet to talk internal Google resources-

Go to VPC > networks > subnet > Enbale Private Google Access

Upvotes: 1

Related Questions