Static Site Hosting

Use Travis to build static site, deploy to GCS bucket and then proxy through Cloudflare as CDN.

Set up file storage

Use GCS bucket which essentially boils down to

  • Create bucket with name matching the domain of your website
  • bucket -> Permissions -> Add members -> allUsers with Storage Object Viewer
  • Edit website configuration to set main page and 404 page

Set up CDN

Use Cloudflare

  • Click DNS and point root CNAME to c.storage.googleapis.com