r/FastAPI • • Dec 26 '25

Hosting and deployment Where do you deploy your FastAPI app to?

Not many edge function solutions support FastAPI. I wonder how and where you deploy your FastAPI app to?

32 Upvotes

62 comments sorted by

View all comments

Show parent comment

2

u/Tiboleplusboo_o Dec 27 '25

I don't think all lambdas run on containers ? You just have a micro vm in most cases, no ? Of course you can then run a container on top of it by bringing your own image but there's a tiny overhead

1

u/sebampueromori Dec 27 '25

The aws docs talk about "isolated execution environments" which most probably are containers. Micro VMs would be too slow. And if you bring your custom image then aws uses that as the container image.

3

u/_Iv Dec 27 '25

It’s pretty well known that Lambda uses Firecracker microVM. The image you may provide isn’t actually run in a container runtime, but it is extracted and mounted inside the microVM

1

u/sebampueromori Dec 27 '25

Good to know, may I have the docs for that? I'd like to know deeper