Questions tagged [google-cloud-cdn]

This tag should be used for questions regarding Google Cloud CDN, part of Google Cloud Platform.

This tag should be used for questions regarding Google Cloud CDN, part of Google Cloud Platform.

154 questions
54
votes
4 answers

Is Google Cloud Storage an automagical global CDN?

I’m attempting to setup a Google Cloud Storage bucket to store and serve all the static objects for my site. I’m also attempting to push all the objects in that bucket out to all the global edge locations offered by Google Cloud CDN. I’ve created a…
AJB
  • 7,389
  • 14
  • 57
  • 88
12
votes
2 answers

How can i implement a CDN with Firebase Storage?

I'm currently working on a social media app for Android mobile, and I have a problem regarding the cost-efficiency of my app especially with Firebase Storage. Therefore I want to implement a CDN for Firebase, which would cache the videos and images,…
11
votes
0 answers

Custom HTTP headers with Google Cloud CDN and Bucket backend

How can I send custom HTTP headers with a bucket backend for Cloud CDN without the x-goog-meta- prefix? In particular, I'm trying to send a Content-Security-Policy header, which turns into x-goog-meta-Content-Security-Policy and thus is ignored by…
10
votes
2 answers

How to verify if a Cloud CDN response was a cache hit (or comes from CDN)

I have a backend GCS bucket behind a Google Cloud HTTP(S) load balancer with Cloud CDN enabled. I'm trying to answer these questions based on response headers: was this response served from CDN if so which location/region was this a cache…
9
votes
2 answers

Use same GCP Load Balancer to route between GCS bucket and GKE

I’ve been looking around trying to figure out if it would be possible to have a static React app hosted in a Google Cloud Storage bucket and use Google Cloud CDN and a single Google Cloud Load Balancer to route cache misses to the bucket, manage…
6
votes
2 answers

Does CloudCDN support the serving of Brotli encoding?

My company is thinking of moving from AWS to GCP. One of the feature we want to support from CloudCDN is brotli encoding. We have a techstack that will bundle our javascript into 3 files: chunk.js chunk.js.gz chunk.js.br If CloudCDN receives…
Armeen Moon
  • 18,061
  • 35
  • 120
  • 233
6
votes
2 answers

Invalidate Google Cloud CDN cache from the backend

After few days of research and reading documentation, I'm almost sure It's nearly impossible, but still I would like to ask: The goal is to invalidate all cached content in GCloud CDN on demand (due to headers changes) on the 3rd party backend,…
nattfodd
  • 1,790
  • 1
  • 17
  • 35
5
votes
2 answers

Is it possible to use Google Cloud CDN with App Engine Standard environment?

I see no way to connect my app engine backends with Cloud CDN. Seems like it's only available when using Compute Engine directly.
5
votes
1 answer

integrate Firebase storage with Google cloud CDN

i'm making an app using firebase. photos uploaded by users are saved in firebase storage. I use firebase cloud functions to make thumbnails to load photo feed faster, but in one page, I need to load original photos(max 30 pics) at once. To load…
5
votes
0 answers

HTTP2 Push with Google Cloud CDN?

Is it possible to use HTTP2 Push with Google Cloud CDN? If so, is it smart enough to understand and use a push-manifest.json to do so?
Jim Simon
  • 388
  • 2
  • 9
5
votes
1 answer

Connect Google Cloud CDN with Google Cloud Functions

It's possible to connect CloudCDN with CloudFunctions? The objective is to resize images and serve them. The actual architecture use balanced servers.
Wiliam
  • 3,714
  • 7
  • 36
  • 56
4
votes
1 answer

How to protect your GCP apps from bad bots using Cloud Armor and Load Balancer?

I have the Google Cloud Platform load balancer as a CDN and entry point to my running services. As far as I know GCP load balancer offers out of the box DDoS protection even without custom Cloud Armor rules setup. Is it also includes some protection…
4
votes
4 answers

Getting Google Cloud CDN to serve stale file on 404

My frontend runs on nginx, and I'm serving a bunch of .chunk.js files that are built from react. Every time I update my frontend, I rebuild the docker image and update the kubernetes deployment. However, some users might still be trying to fetch the…
DemiPixel
  • 1,768
  • 11
  • 19
4
votes
2 answers

Instance Group : Exceeded limit 'QUOTA_FOR_INSTANCES' on resource 'us-instance-group-1'. Limit: 8.0

I am using GCE on Asia-Southeast-b with 2vCPU 10GM for my website I am trying to test CDN and LB, so was halfway to create an instance group in the US but it threw me an error no matter how. Instance Group : Exceeded limit 'QUOTA_FOR_INSTANCES' on…
4
votes
1 answer

How do you serve a static website using Google Cloud CDN, Google Cloud Storage, and a custom domain?

I'd like to set up a static website with files stored in a Google Storage bucket. I already own a custom domain and have, at a minimum, some barebone files to see if the site is setup successfully. Ideally, I'd like to serve the content via SSL…
1
2 3
10 11