2

As soon as I proceed to add a new origin for Google CDN distribution, it asks me to choose from load balancers (I would prefer not to create load balancer).

Ignoring the fact that I don't want to create a load balancer, I go ahead and create one on hopes that it would allow me to add my custom backend (an S3 bucket in this case), but even there it only allows me to add only "instance groups".

Is there any way at all that I could point this to a non-Google-Cloud origin?

Sankalp Sharma
  • 267
  • 1
  • 3
  • 12
  • Since the answer below says no, you could consider [CloudFlare](https://www.cloudflare.com/) or [AWS CloudFront](https://aws.amazon.com/cloudfront/) as CDNs that work with any origin. – Tim May 15 '17 at 20:15
  • Yep, but I would have been really happy if GCP had this too. (cheaper data transfers) :) – Sankalp Sharma May 16 '17 at 02:59
  • 1
    You can review [CDN Interconnect](https://cloud.google.com/interconnect/cdn-interconnect) to find about third party CND providers for Google Cloud Platform products. You can also submit a feature request at this [link](https://issuetracker.google.com). – Marilu May 17 '17 at 14:19

2 Answers2

2

Google Cloud CDN has recently been updated to allow an origin outside of GCP. It does still require usage of their loadbalancer.

https://cloud.google.com/cdn/docs/custom-origins-overview

Noah
  • 136
  • 1
2

Google Cloud CDN only works with an HTTP(s) load balancer, as described in this link. Also, a backend bucket can only be a Google Cloud Storage bucket as described in here.

Marilu
  • 296
  • 1
  • 7