Some of our front-end projects are hosted by Google Cloud Storage, and cached by Cloudflare. Today I will introduce how to host with GCS and Cloudflare.
I like verifying by Domain Name provider because no need to host servers and really easy.
TXT, Name : @, Content: google-site in Cloudflaregsutil mb gs://www.example.com, if you host https://www.example.comgsutil rsync -R /path/to/dir gs://www.example.comchmod your files : gsutil acl -r ch -u AllUsers:R gs://www.example.com/*gsutil web set -m index.html -e 404.html gs://www.example.comCNAME Recordc.storage.googleapis.comIt's very easy to host static files.