Forem

Cover image for FastAPI on GCP App Engine
windy
windy

Posted on

2

FastAPI on GCP App Engine

I made a 20 min video (link at the bottom) that demonstrates how to deploy a simple FastAPI app to App Engine on Google Cloud Platform.
This tutorial can be followed along to practice on your own provided that you have a billing enabled GCP account.
This tutorials covers very basic details like

  • Creating a project in GCP,
  • Accessing the Cloud shell,
  • Clone the repository on to Cloud Shell VM,
  • Do a Sanity hosting of the FastAPI on Cloud Shell VM and explain about worker processes
  • Create an App Engine
  • Deploy FastAPI on to App Engine
  • Check Logs of App Engine
  • Clean up and Shutdown Project once practiced the tutorial.

Some notes about billing

I have performed this deployment and shutdown the project after I'm done with deployment and learning a couple of months ago. So no bill has been generated for me. I do not even have credits active at the time of performing this tutorial.

Link for tutorial

Deploy FastAPI Python app to Google Cloud Platform on App Engine

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay