
Frameworks · · 10 min read
Where to host a Fastify API in Europe in 2026
Fastify wants a long-running Node.js process, not a function. Six European hosts for it, with the listen settings, package managers and prices each one expects.
A Fastify API is happiest as a normal Node.js server, so look for a European host that runs containers or processes rather than short functions. Eurobase builds the API from your repository into a container that sleeps when idle, billed as one flat monthly plan per workspace. Clever Cloud and Scalingo add managed databases next to the app, Sliplane runs it in Docker on a server at a fixed price, Scaleway Serverless Containers bills an image you build by use, and Hetzner gives you a bare server to run it yourself.
Fastify hosts compared
| Platform | Company | How Fastify runs | Starts at | Managed database | Package managers |
|---|---|---|---|---|---|
| Eurobase | Warsaw, Poland | Container built from Git, scales to zero | Free, then €10 a month + VAT | No | npm or Yarn 1 |
| Clever Cloud | France | Node.js app built from Git | Free credits, then billed by the second | Yes | npm, pnpm, Yarn Berry or Bun |
| Scalingo | France | Node.js app built from Git | €7.20 a month for 256 MB, excl. VAT | Yes | npm or Yarn |
| Sliplane | Berlin, Germany | Docker container on a server you rent | €9 for 1 vCPU and 1 GB, excl. VAT | Postgres from €19, excl. VAT | Not stated |
| Scaleway | France | A container image you build | Monthly free allowance, then pay per use | Sold separately | Your choice, in your image |
| Hetzner | Gunzenhausen, Germany | Your own server | €5.49 a month excl. VAT, if available to order | No | Your choice |
Prices are from each provider's own page, checked on 9 and 10 November 2026.
What a Fastify deployment needs from a host
- A listen address that the platform can reach. Fastify's server reference says it listens on the addresses that
localhostresolves to unless you give a host, and its recommendations page warns that a health probe can't reach an app bound to127.0.0.1. Passhost: '0.0.0.0'and read the port fromPORT. - A process that stays up. Fastify's serverless guide warns that bigger apps boot more slowly and points to platforms where one server handles many requests at once.
- The package manager you already use. A pnpm or Bun lockfile narrows the list quickly, see the table above.
- Where the database lives. If you want Postgres managed on the same platform, Eurobase isn't a fit on its own. See managed Postgres in Europe.
- Who you sign with. A European company, a data processing agreement and a subprocessor list matter more than a region dropdown. EU region vs EU company explains why.
1. Eurobase
When fastify appears in your package.json, Eurobase classes the project as a Node.js server and builds a container image for it with Paketo buildpacks rather than placing it on V8 isolates. You connect GitHub, GitLab, Codeberg, Forgejo or Gitea, check the build and start commands it fills in from your scripts, set the port, which is 3000 unless you change it, and the health path. Coding agents can do the same through its MCP server and CLI. Traffic moves to a new deployment once that path returns a 2xx or 3xx status; until then, the previous deployment keeps answering.
If you start Fastify with fastify-cli, set FASTIFY_ADDRESS to 0.0.0.0. The CLI only sets that address automatically when it detects Docker or Kubernetes.
- Best for: a Fastify API that talks to a database hosted elsewhere, at one predictable bill for the whole workspace.
- Price: free to start, with paid plans at €10 and €20 a month + VAT. Each month Starter covers 720 hours of container time and 72 hours of container CPU, Pro covers 1,600 and 160. You aren't billed for usage today: anything past a limit is refused, and while apps on V8 isolates and Functions pause until the monthly reset, containers like your Fastify API and static sites stay up.
- Company: registered in Warsaw, Poland, with everything on European infrastructure run by Scaleway, a French provider. Connecting GitHub or GitLab Inc. adds that US company as a subprocessor.
- What it lacks: no Dockerfile builds, no preview deployments, and no managed Postgres, MySQL or Redis. Builds stop early for pnpm, Bun or Yarn 2 and later, Node.js has to be 20, 22 or 24, and each response must begin within 55 seconds. It doesn't hold ISO 27001 or SOC 2 today; both are in progress.
The step-by-step setup is in Deploy a Node.js server, and health checks and limits are covered in Containers and static sites.
2. Clever Cloud
Clever Cloud runs Node.js and Bun apps from a Git push. Its Node.js docs ask for two things Fastify doesn't do on its own: listen on 0.0.0.0 and on the port in PORT. It picks pnpm from pnpm-lock.yaml, Bun from bun.lock and Yarn Berry from the packageManager field. The company is French and certified ISO/IEC 27001:2022.
- Best for: a Fastify API next to a managed Postgres, MySQL or Redis add-on, or a project on pnpm or Bun.
- Price: per-second billing for what runs, with a maximum you set for autoscaling. Signing up gives you trial credits, and no card is needed.
- What it lacks: a flat monthly figure, so size the bill with its price estimator first. Some of its zones sit outside Europe, so choose a European one deliberately.
3. Scalingo
Scalingo detects Node.js from package.json and starts the app from a web line in a Procfile or from scripts.start. Node.js 22, 24 and 26 are available, and dependencies install with npm, or with Yarn when a yarn.lock is present; Yarn 2 and 3 have their own compatibility page. Its docs flag one detail that matters for Fastify's graceful shutdown: a Procfile like web: yarn run start may not pass the stop signal to your process, so start Node directly with web: node server.js.
- Best for: a Fastify API with a managed Postgres in France, or a workload that needs its SecNumCloud region.
- Price: €7.20 a month excl. VAT for a 256 MB container, €8.64 excl. VAT in the SecNumCloud region, and the same €7.20 a month excl. VAT for its entry Postgres with 512 MB and 10 GB. You can try it free for 30 days.
- What it lacks: pnpm and Bun, which its Node.js docs don't list.
4. Sliplane
Sliplane is a Berlin company that runs your containers on a server you rent through it, with as many services on that server as it can hold. It detects your framework automatically, builds from a Dockerfile, or runs an image you already publish. Its DPA takes effect once you accept it in the dashboard.
- Best for: a Fastify API with Postgres and a worker or two on the same machine.
- Price: the Starter server with 1 vCPU, 1 GB and 20 GB of storage is €9, Base with 2 vCPU and 2 GB is €17.80, and managed Postgres starts at €19, all without VAT. Prices can differ by region.
- What it lacks: an idle API still costs the full server price, because billing follows the server, not the traffic. Its regions also include the US and Singapore, so keep the API in its German or Finnish regions if the data must stay in Europe.
5. Scaleway Serverless Containers
Serverless Containers is the French cloud's product for running an image that drops to zero instances when idle, with regions in Paris, Amsterdam, Warsaw and Milan. That matches the container route Fastify itself recommends over functions. You build the image with Fastify bound to 0.0.0.0, push it to a registry and deploy it.
- Best for: teams with a container pipeline already in place who want to pay for what runs.
- Price: the monthly free allowance is 400,000 GB-s of memory and 200,000 vCPU-s; past it you pay €1 per 100,000 vCPU-s and €0.20 per 100,000 GB-s.
- What it lacks: a Git-to-deploy build. You produce the image and wire up the deployment yourself.
6. Hetzner
Hetzner Online GmbH is a German host whose European cloud sites are Falkenstein, Nuremberg and Helsinki, and you sign its DPA inside your customer account. Fastify's recommendations page suggests putting a reverse proxy such as Nginx or HAProxy in front of Node.js, and on a server of your own that setup is your job.
- Best for: teams comfortable running Node.js, a proxy, TLS, a database and backups themselves.
- Price: its CPX02 starts at €5.49 a month excl. VAT in Helsinki, €6.49 in its German sites, though the cheapest plans showed as unavailable to order on 10 November 2026.
- What it lacks: anything above the operating system, from process restarts to security updates. Its cloud also runs in the US and Singapore, so check the location you pick.
How to choose
- Pick Eurobase for a Fastify API with an external database and a fixed monthly cost.
- Pick Clever Cloud if you deploy with pnpm or Bun, or need ISO 27001 now.
- Pick Scalingo for managed Postgres in France on a small monthly budget.
- Pick Sliplane when the API ships with a Dockerfile and a few sidecar services.
- Pick Scaleway Serverless Containers if you already build and push images.
- Pick Hetzner if you'd rather run the whole stack on your own server.
For Express or NestJS on the same hosts, see Node.js hosting in Europe. For an API you'd rather run on isolates, Hono in Europe covers that route.
Frequently asked questions
Why does my Fastify app work locally but fail its health check once deployed?
Usually it's the listen address. Without a host, Fastify listens on the addresses localhost resolves to, which a platform's probe can't reach from outside the container. Call app.listen({ port: Number(process.env.PORT) || 3000, host: '0.0.0.0' }), or set FASTIFY_ADDRESS=0.0.0.0 when you use fastify-cli.
Can Fastify run on serverless functions in Europe?
It can. Fastify documents adapters such as @fastify/aws-lambda, but its serverless guide notes that larger apps boot more slowly and points to container platforms that serve many requests per instance. A scale-to-zero container gives you the same pay-when-used shape without rewriting the entry point.
Can I run Fastify on Cloudflare Workers or another isolate runtime?
Fastify's serverless guide doesn't cover Cloudflare Workers or other isolate runtimes, and Eurobase sends any project that declares fastify to a container. If you want isolates, Hono is a framework that targets them; Hono in Europe compares the hosts.
Which Fastify hosts in Europe include a managed Postgres?
Clever Cloud, Scalingo and Sliplane sell Postgres next to the app, and Scaleway sells it as a separate product. Eurobase doesn't, so connect your Fastify API to a database hosted elsewhere.
Do I need to set trustProxy behind these platforms?
If you read request.ip or the protocol and a proxy sits in front of your app, yes. Fastify's trustProxy option is off by default, so without it Fastify ignores the forwarded headers and sees the proxy's address instead of the client's.
Sources
- Fastify server reference, Fastify recommendations, Fastify serverless guide and fastify-cli README
- Deploy a Node.js server, Containers and static sites, Workers, Plans and limits, Eurobase pricing and Eurobase subprocessors
- Clever Cloud Node.js docs and Clever Cloud pricing
- Scalingo Node.js docs and Scalingo pricing
- Sliplane pricing and Sliplane DPA
- Scaleway Serverless Containers and Scaleway serverless pricing
- Hetzner Cloud
Keep reading
Where a European fintech should host its app in 2026DORA, card data and certificates decide the host before price does. Six European options for a fintech, with what each one can show an auditor today.Sovereignty9 min read
Where to host a Flask app in Europe in 2026Six European hosts for a Flask app, with how each one starts Gunicorn, what a small app costs a month and where background jobs and the database go.Frameworks9 min read
