FastAPI Hosting
Host FastAPI applications with Wodby using a managed stack for async Python APIs and web services. Wodby Cloud is the hosted option when you do not want to run a cluster in your own cloud account or on your own server.
Use Wodby Cloud for persistent Wodby-hosted infrastructure, managed Kubernetes when you need scaling in your own cloud account, or self-hosted Kubernetes on your own servers for a budget path.
Managed FastAPI stack
Start from a ready-to-run FastAPI stack and boilerplate with the runtime and supporting services organized for repeatable application delivery.
No separate cluster to bring
Use Wodby Cloud when you want the Wodby workflow without preparing infrastructure in your own cloud account or on your own server.
Infrastructure choices as you grow
Move to managed Kubernetes for scaling or use self-hosted Kubernetes on one server when infrastructure ownership or budget matters more.
In production
How Wodby runs FastAPI in production
A FastAPI service on Wodby runs under Gunicorn with Uvicorn workers. The app service is the only required part of the stack; a database, Valkey, and mail are added when the API needs them.
Tune workers without a config file
The worker count and the other Gunicorn options are set as variables on the app service. A configuration file for Gunicorn in the repository is never read, so tuning happens in one place.
Treat the container as disposable
Whatever the API writes inside its container is gone once that container is replaced. Data that has to last belongs in PostgreSQL, which has a volume of its own.
Valkey starts as a cache
Without a data volume Valkey holds everything in memory only, and at its memory limit any key may be evicted. Turn eviction off and size the memory before it carries a job queue or sessions.
A managed database instead
The bundled PostgreSQL is backed up as a compressed SQL dump of the environment's database. A managed database can take the place of the PostgreSQL container when you prefer one.
Read the FastAPI stack guide for setup steps, settings, and limits.
Moving an existing FastAPI application?
Ask your coding agent to read the repository, match the application to maintained Wodby services, and list what has to change. Review the plan before anything is created or moved.
Wodby Cloud for managed FastAPI hosting
Wodby Cloud is the most direct way to host FastAPI applications on Wodby when you do not want to prepare your own Kubernetes cluster or server. Deploy the managed stack to persistent Wodby-hosted infrastructure and keep the application workflow in one place.
That makes Wodby Cloud a practical fit for API teams, Python developers, and service-based apps that want repeatable environments with less infrastructure setup and day-to-day platform work.
Why start with Wodby Cloud
- No need to set up your own cloud account, Kubernetes cluster, or server before hosting FastAPI applications.
- Persistent Wodby-hosted infrastructure billed according to resource usage.
- Built-in CI/CD, routes, certificates, backups, and environment controls stay close to the stack.
- A practical fit for async Python APIs and web services that need a repeatable production home.
Read more about Wodby Cloud or review Wodby Cloud pricing.
More than hosting for FastAPI
Wodby Cloud gives you the platform around the stack, not just a place to run it. Teams can manage environments, delivery flow, and day-to-day operations in one system instead of combining separate hosting and deployment tools.
That means the value on these hosting pages is both managed infrastructure and a repeatable application platform for ongoing work.
What you get from the platform
- Managed FastAPI stack with services that work together out of the box.
- Environment management for production, staging, and development.
- Integrated CI/CD with deployment history and automatic rollback attempts.
- Managed routing and endpoints, automatic HTTPS, backups, and imports.
- Controlled automatic updates and app service controls for ongoing maintenance.
Alternative hosting options when you want to own the infrastructure
Managed Kubernetes
Managed Kubernetes is the stronger fit when FastAPI applications need more scaling flexibility, multi-node resilience, or infrastructure inside your own cloud provider account.
Budget self-hosted Kubernetes
Self-hosted Kubernetes on your own dedicated servers is a lower-cost option for FastAPI applications that do not need autoscaling or high availability. Multiple apps and environments can share one server, and you can add worker nodes as you grow, while keeping the same stack-based workflow.
Read more on the self-hosted Kubernetes page.
Who this is for
API teams, Python developers, and service-based apps can use Wodby Cloud to start with less infrastructure setup while retaining a managed FastAPI stack and repeatable environments.
If infrastructure ownership or scaling requirements change later, the same stack-based model can run on managed Kubernetes or a self-hosted Kubernetes setup on your own servers.
Continue exploring
- See how a release reaches production on the Deploy FastAPI page.
- View the FastAPI stack to see services and stack features.
- Compare infrastructure options on the Kubernetes providers page.
- Review Wodby Cloud pricing and Wodby Cloud usage.
Managed hosting
Ready to run FastAPI on Wodby Cloud?
Start with Wodby's managed FastAPI stack and get environments, delivery workflow, and day-to-day operations in one hosted platform.
Connect the services your apps already use
An integration links Wodby to an account you already have, such as your Git provider, a storage bucket for backups, or an API your app calls.
- Connected once
- Set up a service once and reuse it across your apps.
- Out of your code
- Credentials stay out of your repositories and are managed in one place.
- Per environment
- Override any value for each environment.
Enable database and cache services when needed
PostgreSQL and Valkey are included but disabled by default, keeping the starting footprint focused on the API service.
Database, cache, and mail links are already mapped, so those supporting services can be enabled as the application grows.
Next step
Want to see what the FastAPI stack includes first?
Review the services in the stack, then create an account to run FastAPI on Wodby Cloud with environments, deployments, and stack operations managed from one place.
Trusted by developers and businesses worldwide since 2015
Wodby is a reliable cloud infrastructure partner for your business.
See what our customers say about their experience with Wodby.
We moved our Drupal hosting to use Wodby and changed our development workflow to use Docker at the same time. Now we can concentrate on Drupal development and we're not losing time configuring servers etc. When a site needs additional resources or hosting in a different region we can be way more responsive as deploying a new instance takes no time at all.
Tony MillerEighty Options
Wodby’s innovative infrastructure helped us to increase the speed and simplify our app deployment, while also leaving us the freedom of handling our hosting and not locking us on a specific pattern. We are now much more robust for future growth and will be able to innovate faster.
Martin Normann LundRamsalt Lab
Frequently Asked Questions
Have questions? We've got answers. If you don't see your question here, feel free to reach out.
Get started
Start deploying apps with Wodby
Choose Wodby Cloud, managed Kubernetes, or your own server, then deploy stacks with CI/CD, backups, SSL, integrations, and environment management in the same platform.
- Run the same stack workflow on Wodby Cloud, managed Kubernetes, or your own server
- Deploy app environments for production, staging, previews, and development
- Use Wodby CI or your existing pipeline with the Wodby CLI
- Keep backups, certificates, integrations, and access control in the platform
Start for free
- 10 app services
- 30 minutes of integrated CI
- 5 GB of private registry
- Stacks & integrations
- Technical domains with SSL