How to do it...

With the index.html file hosted, we'll create a load balancer to frontend our bucket and put in behind the Cloud CDN:

  1. In the Console, navigate to the Network services section and select Load balancing.
  2. For our static site, we'll need an HTTP(S) load balancing. Click on Start configuration to start the setup.
  3. Give a name to the load balancer and head to the Backend configuration:
  1. Create a backend bucket for our storage bucket:
  1. Once the backend bucket is created, click on the Create button to complete the load balancer's ...

Get Google Cloud Platform Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.