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 asA container
VersionsAny FastAPI app that depends on uvicorn
BuildThe Paketo Python buildpack
Deploys fromGitHub, GitLab.com, self-managed GitLab, Codeberg, Forgejo and Gitea
Where it runsEuropean infrastructure only

Deploy FastAPI in Europe

  1. Push your app to a Git repository, or copy the FastAPI template.
  2. 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.
  3. Eurobase prefills a uvicorn start command when it finds your FastAPI app and a uvicorn dependency. Check it, the port and the health path.
  4. Select Save and Deploy. Your app goes live at <name>.eurobase.dev.
  5. 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 guide

What 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 Procfile with a single web: 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

LimitFreeStarterPro
Price€0 / month€10 / month + VAT€20 / month + VAT
Projects21020
Deployments per day20100500
Container active time per month250 h720 h1,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