Skip to Content
Google Cloud Platform Cookbook
book

Google Cloud Platform Cookbook

by Legorie Rajan PS
April 2018
Intermediate to advanced content levelIntermediate to advanced
280 pages
6h 18m
English
Packt Publishing
Content preview from Google Cloud Platform Cookbook

CDN setup for a static website

We hosted a static website on Google Storage in the previous chapter. In this recipe, we'll set up a Cloud CDN for another simple static site. Google Cloud CDN caches the contents of our static website in the globally distributed edge POPs. This helps bring the content faster to the end user and a reduction of the cost to serve from the data center.

We'll create a simple index.html and host it in our storage bucket. By putting this bucket behind a load balancer, we'll get an IP to hit our index.html file directly . As a second step, we'll set up a CDN and measure the increase in performance and explore the cache invalidation feature.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Google Compute Engine

Google Compute Engine

Marc Cohen, Kathryn Hurley, Paul Newson
Mastering Google App Engine

Mastering Google App Engine

Mohsin Shafique Hijazee
Google Cloud Platform Administration

Google Cloud Platform Administration

Ranjit Singh Thakurratan
Google Cloud Cookbook

Google Cloud Cookbook

Rui Santos Costa, Drew Hodun

Publisher Resources

ISBN: 9781788291996Supplemental Content