/cloudrun-gcsfuse-static-website

Host a static website using Cloud Run and Cloud Storage

Primary LanguageShell

Host a static website using Cloud Run and Cloud Storage FUSE

Description:

This repo demonstrates how we can use an nginx container running on Cloud Run along with gcsfuse to host a static website where all static files are securely stored in a private bucket on Google Cloud Storage. For more details please check the blog here.

Assumptions:

  • You have working knowledge/understanding of Google Cloud Services
  • Basic hands-on knowledge of using Google Cloud Console/gcloud cli
  • A Google Cloud account with correct privileges
  • Sample code and artifacts for static website

Usage:

  • Please refer to the commands_playbook.sh file for commands used to run this demo.