App in a Box - YesOrNoSite

App in a Box is a series of applications that are prebuilt and architected to demonstrate common application architectures and share projects that can repurposed to support your needs. Each one just requires one command to run and when the process is done, a fully function version of the app is available and running, ready to use or modify.

YesOrNoSite

YesOrNoSite is a simple static website creator, that makes a simple site using a Storage Bucket to serve the website:

  • Hosting
    • Storage - File Storage - Cloud Storage
    • Networking - Load Balancing - Cloud Load Balancer
    • Networking - DNS - Cloud DNS
    • Domain Management - Registrar - Cloud Domains

Get Started

Click on the link below to a copy of the source code in Cloud Shell. Once there, a single command will spin up a workng copy of the application in your project.

Open in Cloud Shell

Also feel free to review the source code directly in github.

View source code

Learn More

Use the links below to get more information on the piece we used in this Application. Choose how you learn best: video, product documentation, or interactive walkthrough.

Hosting

Cloud Storage

Cloud Storage provides file storage and webserving with an industry standard interface.

Cloud DNS

Cloud DNS provides DNS management - allowing you to run your own DNS infrastructure using Google's existing DNS infrastructure.

Cloud Load Balancing

Google Cloud Load Balancer allows you to place a load balancer in front of the Storage Bucket - allowing you to use SSL certificates, Logging and Monitoring.

Cloud Domains

Cloud Domains allows you to buy domains, acting like a Domain Registrar - but once you do, you can manage them and handle billing through your Google Cloud Account.

Scripts

The install script uses the gcloud and gsutil CLI tools to take an empty project and install the application in it. The output should be a working application and a url to the Cloud Run service for the front end.

./install