Skip to main content
The FastAPI guides take a FastAPI project from your computer to a running Sevalla application, then add one capability each. Start with the deploy guide: the others build on the project it creates.

Deploy FastAPI

fastapi run, SQLModel on a PostgreSQL database and Alembic migrations in a job.

Object storage

Upload files to a bucket with boto3 and share them with presigned URLs.

Background tasks

Short tasks with BackgroundTasks, longer ones with Celery in a background worker.

Caching

Cache responses in a Redis database, and control the CDN and edge cache.

Health checks

Readiness and liveness endpoints for zero-downtime deployments.