How to open up a service internally only from project A in GCP to a gRPC service in cloudrun in project B

248 Views Asked by At

Need a design idea for below scenario:

I have project A and project B, I want to be able to connect to a service in project B which is a gRPC service running in cloudrun internally only.

Solution:

I plan to use VPC peering between project A and Project B and allow only the source IP over a port in FW rules of project B or create a security rule to allow only source ip attaching it to the internal load balancer.

Is there any other way this can be done without peering and have it done to expose service in project B internally only.

0

There are 0 best solutions below