DEV Community


Host FastAPI application on Ubuntu Virtual Machine

A Full Stack Software Consultant in the day, a Data Scientist in the Evening, an Innovative Thinker in the Night. Did I forget to say I am a powerful dreamer during the Mid nights? ;)
Updated on ・1 min read

Alt Text
Step by step video tutorial on deploying FastAPI app on Ubuntu 18 VM. FastAPI app performs Async CRUD operations on PostgreSQL. It is hosted on Gunicorn as a systemd and exposed as a reverse proxy to the outside world through Caddy 2 Web Server.

Also check out this detailed article that includes end to end steps for FastAPI deployment on Ubuntu along with the steps to troubleshoot at every phase of deployment.

Discussion (0)