I want to know if I make an http request from one service to another and both services are hosted in the same VPC will the request ever leave the VPC.
For example: Let's say I host Next.js on CloudRun in VPC 1 which is a server rendered React frontend framework. When a user makes a request to Next.js to retrieve a page the server may make API or DB requests to hydrate the html with data before sending it to the requesting client.
If I host an expressjs API in VPC 1 as well would a request on the server from the frontend service go to the public dns before being rerouted back to VPC1 or would it remain inside Google's internal network.
Both services are behind an external load balancer.
I imagine if it remains in the network I can see major latency reduction and bandwidth cost savings.