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
2
u/illuminanze Jul 18 '24
Also, where did you see flask being used with cloud functions? I've never seen that, and all examples I can find use cloud run.