Google Cloud Storage CDN Integration - KeyCDN Support (original) (raw)
Google Cloud Storage CDN Integration
Updated on February 22, 2019
This guide describes how you could use Google Cloud Storage as the origin server. The Google Cloud Storage CDN integration will be setup with a Pull Zone. This approach to use a cloud solution as the origin server is very similar to the AWS S3 bucket CDN integration.
- Create a Google Cloud Storage (GCS) bucket.
- Upload your data and enable Shared Publicly.
- Create a Pull Zone and use the Google Cloud Storage URL (e.g.
https://storage.googleapis.com/keycdn/) as your Origin URL. - Verify that your content is being delivered successfully by KeyCDN:
curl -I https://example-hexid.kxcdn.com/keycdn-logo.png
HTTP/2 200
Server: keycdn-engine
Date: Fri, 20 Mar 2015 16:14:08 GMT
Content-Type: image/png
Content-Length: 433402
Connection: keep-alive
Expires: Fri, 27 Mar 2015 16:14:08 GMT
Cache-Control: max-age=604800
Last-Modified: Fri, 20 Mar 2015 16:04:30 GMT
ETag: "a9c4ff40dc4e21563d96db751cc5c46a"
x-goog-generation: 1426867470802000
x-goog-metageneration: 2
x-goog-stored-content-encoding: identity
x-goog-stored-content-length: 433402
x-goog-hash: crc32c=X6+tbQ==
x-goog-hash: md5=qcT/QNxOIVY9ltt1HMXEag==
x-goog-storage-class: STANDARD
Alternate-Protocol: 80:quic,p=0.5
Link: <https://storage.googleapis.com/keycdn/keycdn-logo.png>; rel="canonical"
X-Cache: HIT
X-Edge-Location: nlam
Access-Control-Allow-Origin: *
Accept-Ranges: bytes - Integrate your content by using the Zone URL (e.g.
https://example-hexid.kxcdn.com/keycdn-logo.png) or Zone Alias.
How to use Google App Engine and a CDN?
This depends on what CMS or framework you are using. Learn more here: