Deploy FastAPI Python app to Google Cloud Platform on Google App Engine
Feb 16, 2022
In this tutorial we will deploy a Simple FastAPI application written in Python to GCP (Google Cloud Platform) Google App Engine.
Full documented tutorial is available here: https://bit.ly/3axKog8
Contents:
00:00 Introduction
00:25 Explanation of FastAPI sample app
01:22 Explanation of yaml configuration
03:30 Login to GCP
04:08 Create a Project on GCP
05:28 Activate Cloud Shell
06:38 Clone Repository
08:15 Create Python Virtual Environment
08:47 Activate Python Virtual Environment
09:24 Install Requirements
09:55 Understanding the Gunicorn command to run FastAPI app
11:11 Run Application on Cloud Shell (Sanity Check)
13:03 Create App Engine
15:06 Deploy FastAPI to Google App Engine
17:00 Verify FastAPI up and running
17:40 Accessing logs of App Engine
Show More Show Less 