Hosting / FastAPI
FastAPI hosting in Europe
Deploy a FastAPI app to European infrastructure from your Git repository. Eurobase (eurobase.dev) builds it with the Paketo Python buildpack and runs it as a container that scales to zero when nobody calls it.
At a glance
| Runs as | A container |
|---|---|
| Versions | Any FastAPI app that depends on uvicorn |
| Build | The Paketo Python buildpack |
| Deploys from | GitHub, GitLab.com, self-managed GitLab, Codeberg, Forgejo and Gitea |
| Where it runs | European infrastructure only |
Deploy FastAPI in Europe
- Push your app to a Git repository, or copy the FastAPI template.
- Create an account, then create a project from the repository. GitHub connects with the Eurobase app, and other Git hosts with a read-only token and a webhook.
- Eurobase prefills a
uvicornstart command when it finds your FastAPI app and auvicorndependency. Check it, the port and the health path. - Select Save and Deploy. Your app goes live at
<name>.eurobase.dev. - Connect your own domain from Domains.
A coding agent can do this for you from a GitHub repository: deploy with Claude Code, Codex or Cursor.
Read the FastAPI guideWhat works
- Native database drivers, such as Postgres over TCP, if the database has a public IPv4 address.
- A health check before each deployment: if your health path doesn't answer, the previous one keeps serving.
- Event streams and WebSockets, as long as your app sends data at least every 60 s.
- A
Procfilewith a singleweb:line, which takes priority over the start command. - Deploys on every push, rollback from Deployment history, secrets and request logs.
What doesn't work
- After a quiet period, the next request waits for your app to start.
- A response must start within 55 s of the request.
- Each project runs one web service, with no background workers or scheduled jobs.
- A request body can be up to 100 MiB.
- There's no fixed outbound IP address to add to a database allowlist.
- A changed secret reaches your app with its next deployment.
- On
<name>.eurobase.dev, cookies written by browser code reach your server only with a__Host-js-name. See Cookies in your app.
Not available on Eurobase:
- Preview deployments for branches and pull requests.
- Managed Postgres, MySQL or Redis.
- Dockerfile builds.
Pricing
| Limit | Free | Starter | Pro |
|---|---|---|---|
| Price | €0 / month | €10 / month + VAT | €20 / month + VAT |
| Projects | 2 | 10 | 20 |
| Deployments per day | 20 | 100 | 500 |
| Container active time per month | 250 h | 720 h | 1,600 h |
A flat monthly price per workspace, with no charges for usage. Containers keep serving when a limit is reached. See every limit.
Move an existing FastAPI app
Other frameworks
Deploy FastAPI on the Free plan
Create account