Skip to content

dkapitan/quarto-with-iap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploying Quarto on Google App Engine with Identity-Aware Proxy

Objective

  • Deploy a Quarto website on App Engine, which has the advantage that the engine is turned on/off automatically (standard environment)
  • Use Identity-Aware Proxy to secure the website and manage users via Google IAM

Step 1: deploy Quarto on app engine

The app.yaml in the root is all you need to deploy a static site on App Engine (docs). Before deploying, make sure:

  • you have installed the Google Cloud CLI
  • have a Google Cloud project with App Engine enabled; make sure to use the standard environment which can scale to zero instances when no requests are received (docs)
  • have enabled OAauth with the consent screen in the project (docs)

With that done, you can then run

gloud app deploy

from the project's root folder.

Step 2: enable the Identity-Aware proxy

Follow the steps from the documentation. Using Google IAM, you can add any user that has a Google account. Note that you can use an existing email address to create a Google account. By default, the app is only accessible to internal users (of the organization).

Easy way to make app accessible to external users

If you want to use Google's OAuth workflow (and hence save yourself the time of building your own), you can either go through a lenghty approval process, or you can:

About

Example code for deploying Quarto on Google App Engine with Identity-Aware Proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published