0
votes

With fully managed Cloud Run connected to a VPC with a Serverless VPC Accessor, does all outbound traffic from Cloud Run go through that connector, or only traffic destined for RFC 1918 addresses?

If only for private IPs, how can I configure Cloud Run to send all of its outbound requests into the VPC?

(Note - with Cloud Functions there is an option to route all traffic or only private IPs through the connector - reference )

1

1 Answers

2
votes

For now the Serverless VPC Connector for Cloud Run is still on Beta and some Network features will be added in the future, including Egress control.

The goal right now is to develop an identical implementation as the one Cloud Functions has so it makes sense to quote that doc. Unfortunately there is no ETA for it to be implemented. We encourage you to follow up the release notes

When reading this particular doc keep in mind: The Cloud Run service is the one fully managed, not the VPC Access connector. With that said, we could tell that all the traffic without would go through the VPC for now.

Hope this is helpful! :)