Ask HN: Where to Host a FastAPI App
1–10 of 35 posts
Re: Ask HN: Where to Host a FastAPI App
#2Re: Ask HN: Where to Host a FastAPI App
#3Your best bet is probably to containerize your application instead of looking for services that natively support ASGI.
Re: Ask HN: Where to Host a FastAPI App
#4Re: Ask HN: Where to Host a FastAPI App
#5Yes it will take time to learn it, but the ability to spin up a super cheap digital-ocean/linode/hetzner node is a valuable skill to have in your back pocket.
Re: Ask HN: Where to Host a FastAPI App
#6Re: Ask HN: Where to Host a FastAPI App
#7Probably an unpopular opinion with everyone preferring to hand over money for convenience, but the advantage of learning to be able to do this yourself with nginx will bring a lifetime of self reliance/money saving. Yes it will take time to learn it, but the ability to spin up a super cheap digital-ocean/linode/hetzner node is a valuable skill to have in your back pocket.
Re: Ask HN: Where to Host a FastAPI App
#8Probably an unpopular opinion with everyone preferring to hand over money for convenience, but the advantage of learning to be able to do this yourself with nginx will bring a lifetime of self reliance/money saving. Yes it will take time to learn it, but the ability to spin up a super cheap digital-ocean/linode/hetzner node is a valuable skill to have in your back pocket.
Great choice. Setting up https from scratch using nginx is something you should definitely do ONCE in your life but then use automated tools such as nginx-proxy/acme-companion.
Re: Ask HN: Where to Host a FastAPI App
#9For PaaS, if you want a set-it and forget-it solution check out Render or DigitalOcean App Platform. If you want to dive a little bit deeper and learn about different offerings from the major cloud providers, compare the features of Google Cloud Run and App Engine, or AWS App Runner. All of these providers offer databases too.
Either way I recommend learning how to containerize your app because then you can run anything almost anywhere.
Re: Ask HN: Where to Host a FastAPI App
#10The quick start is even easier to get going since they have some hooks to quickly build the container: https://cloud.google.com/run/docs/quickstarts/build-and-depl...