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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.