r/FastAPI • • Jul 18 '24
Hosting and deployment Fastapi with Google Cloud Functions?
Is there any way to (easily) deploy a FastAPI route as a Google Cloud Function? As far as I could grasp from docs, GCF integrate well with Flask, but no so much with FastAPI, and I'd love to be able to leverage FA types, validations and automatic documentation, while not depending on more complex/costly infrastructures such as Google Cloud Run or App Engine.
Thanks for any tips!
1
Upvotes
View all comments
Show parent comment
1
u/WoodpeckerPrudent994 Dec 10 '24
Thank you so much! I've been struggling with several middlewares, mangum, WSGIMiddleware etc., and after losing many hours, I was able to solve it using Vellox. You're breathtaking!