Search code examples
google-cloud-platformgoogle-cloud-rungoogle-cloud-cdn

How to put a Google Cloud Run service behind Cloud CDN?


I want to put a CDN in front of a Google Cloud Run service in order to cache some responses.

Right now it seems Cloud CDN requires a Google Load Balancer, and they cannot point to a Google Cloud Run service (https://github.com/ahmetb/cloud-run-faq/tree/e7a0fc43d3054456613c09e073db289ddf76dd33#how-can-i-configure-cdn-for-cloud-run-services).

Is there another way?


Solution

  • [updated]

    You can use Cloud CDN with Cloud Run via Google Cloud Load Balancer