Hi all,
I have the following need :
Cloud run 1 is a frontend accessed from Internet, behind an external LB. Ingress : internal + LB
Cloud run 2 is a backend and must be accessed only from Cloud run 1. Ingress : internal
I've configured both Cloud runs with the same VPC connector (I'm using a shared VPC, the subnet is configured with Private Google Access : ON).
Cloud run 1 tries to access cloud run 2 with the *run.app URL but no response, no logs in cloud run 2.
Many discussions on this subject but I did not find the right answer or what is wrong in my config.
thank you for help
T.
Try configuring "Cloud run 1" to send all traffic through the VPC. Under where you select the connector, select "Route all traffic through the VPC connector".
Having a similar issue, trying the above container 1 receives a 404 when accessing container 2. Any ideas?
update: I was testing against an older revision of the service. This now works fine
Hi,
I did not find the way to make it work directly in a short time and to investigate on that subject for the moment, I think my issue has something to do with the shared VPC and cloud run not in the host project.
I used a dirty solution for the moment, and access front to back through a haproxy - frontend cloud run access to the backend by calling an http URL that will be modified by the haproxy.
T.