Leandro Gianotti
Leandro Gianotti

Reputation: 50

Can I use the standard http.get library to access an API served on a GCP compute instance using the internal IP?

I have a GCP Workflows accessing an API served on a GCP Compute Instance using the public IP and it is working fine.

Now I want to use the same Workflows but accessing by private IP and I get a ConnectionError.

Is there any limitation of the GCP Workflows to access by private IP to the GCP Compute Instance?

Upvotes: 0

Views: 190

Answers (1)

John Hanley
John Hanley

Reputation: 81336

Workflows are not part of your VPC, therefore no access is possible to private IP addresses. Workflows do not yet support VPC access connectors, which would allow for VPC access.

Upvotes: 2

Related Questions