# Where to host a Spring Boot app in Europe in 2026

Last updated: 2026-11-10

For a Spring Boot app that needs a managed Postgres next to it, **Clever Cloud** and **Scalingo** are the strongest European fits: both build Maven projects from Git and sell the database too. **Upsun** suits teams that want the app and its services in one project, and **Eurobase** builds a Spring Boot repository from Git at a flat workspace price but leaves the database to you. If you'd rather ship a Docker image, look at **Sliplane**, **Scaleway Serverless Containers** or **Coolify on Hetzner**.

## Spring Boot hosts compared

| Platform | Company | Builds from source | Java versions | Managed Postgres | Starts at |
|---|---|---|---|---|---|
| Clever Cloud | France | Maven, Gradle or a JAR | 8, 11, 17, 21, 25 | Yes | Free credits, then billed by the second |
| Scalingo | Strasbourg, France | Maven, Gradle | 8 to 27 | From €7.20 a month, excl. VAT | €7.20 a month for 256 MB, excl. VAT |
| Upsun | Paris, France | Maven, Gradle, Ant | 21, 25 | Yes | €9 a project a month, plus users and resources |
| Eurobase | Warsaw, Poland | Paketo buildpacks | Set by the buildpack | No | Free, then €10 a month + VAT |
| Sliplane | Berlin, Germany | Dockerfile or detected framework | Your image decides | From €19, excl. VAT | €9 per server, excl. VAT |
| Scaleway Serverless Containers | France | No, you push an image | Your image decides | Sold separately | Free monthly allowance, then billed by use |
| Coolify on Hetzner | Germany, with open-source Coolify | Dockerfile from Git | Your image decides | You run it yourself | Servers listed from €5.49 a month excl. VAT |

Prices are from each provider's own page, checked on 9 and 10 November 2026.

## What matters for a JVM app

- **Memory, not just CPU.** The heap is one part of a Java process's memory, and a host's default heap can sit well below the container size. Give the JVM headroom before you blame the code.
- **Startup time and sleeping.** A host that stops idle containers saves money, but the first request after a quiet spell waits for Spring to boot.
- **The port.** Spring Boot listens on 8080 unless you set `server.port` or the `SERVER_PORT` variable. Each host passes its port differently, so check before the first deploy.
- **Where the database sits.** Most Spring apps with JPA or Flyway connect to a database as they start. Renting it from the same provider keeps traffic on one network and one contract.

## 1. Clever Cloud

Clever Cloud builds your sources with Gradle when it finds a `build.gradle` and with Maven otherwise, or runs a JAR you point it to with `CC_JAR_PATH`. You pick the Java version with `CC_JAVA_VERSION`, and the default is 21. It passes the port as the `http.port` system property, 8080 by default, and your app must listen on `0.0.0.0`. It's a French company with its own datacenters, ISO/IEC 27001:2022 certified, and PostgreSQL, MySQL and Redis come as managed add-ons.

- **Best for:** a production Spring service that needs a certified provider and a database run by the same team.
- **Price:** billed by the second for the instances and add-ons you use, with free credits for new accounts.
- **What it lacks:** a fixed monthly price you can read off a table.

## 2. Scalingo

Scalingo, a Strasbourg company, deploys apps from a `git push` in the Heroku style. Its Java buildpack treats a repository with a `pom.xml` at the root as a Java app and builds it with Maven, and a separate guide covers Gradle. A `system.properties` file picks the Java version, from 8 up to 27, and the default on current stacks is 25. Its Spring Boot guide has you bind `server.port` to `${PORT}` and start the JAR from a `Procfile`. The default heap grows with the container: 160 MB on 256 MB, 300 MB on 512 MB and 671 MB on 1 GB.

- **Best for:** a Spring Boot app with Postgres or MySQL, deployed with `git push`.
- **Price:** an S container with 256 MB costs €7.20 a month and an M with 512 MB €14.40, excl. VAT. PostgreSQL starts at €7.20 a month excl. VAT for 512 MB and 10 GB. New accounts get a 30-day free trial.
- **What it lacks:** scale to zero. Containers stay on all month, so you pay for each one even when nobody calls it.

## 3. Upsun

Upsun is the trading name of Platform.sh SAS, based in Paris. Its Java runtime offers OpenJDK 25 and 21, both as headless packages, and builds with Gradle, Maven or Ant. It builds the app from your repository and adds services such as PostgreSQL beside it. Its regions run on AWS, Azure, Google Cloud or OVHcloud, and the [regions page](https://docs.upsun.com/development/regions.html) shows which provider sits behind each one.

- **Best for:** teams that want the app and its database managed together in one project.
- **Price:** a project costs €9 a month and each user €10 a month, and CPU, memory and storage come on top, billed per second.
- **What it lacks:** older Java versions. Java 17, 11 and 8 are retired on Upsun, so an app pinned to them has to move to 21 or 25 first.

## 4. Eurobase

Eurobase builds Java apps from GitHub, GitLab, Codeberg, Forgejo or Gitea with the upstream Paketo buildpacks and runs them as containers on European infrastructure run by Scaleway, a French provider. Paketo's Java buildpack builds from Maven or Gradle and sets the JVM flags from the container's memory. Variables you add under Build reach the build, so `BP_JVM_VERSION` can pin the Java version. A `web:` line in a `Procfile` overrides the start command.

Two settings matter for Spring Boot. Set **Port** to 8080, because the default is 3000. If you use Actuator, set **Health path** to `/actuator/health`, which Spring exposes over HTTP by default. A deployment goes live only once that path answers, and the previous one keeps serving if it doesn't.

Containers scale to zero when idle, so the first request after a quiet period waits for the JVM to start. The Free plan offers 256 MB and 512 MB sizes, while Starter and Pro add 1 GB and 2 GB, which leave more room for the heap.

- **Best for:** Spring Boot APIs that can use an external database and should run in Europe at a known monthly price.
- **Price:** Free, then €10 or €20 a month + VAT for the whole workspace. There are no usage charges today: work over a limit is refused, apps on V8 isolates and Functions stop until the monthly reset, and containers and static sites keep serving.
- **What it lacks:** a database of its own, so Postgres, MySQL or Redis has to come from another provider. It doesn't build Dockerfiles or create preview deployments, and it holds neither ISO 27001 nor SOC 2 yet, with both audits under way.

## 5. Sliplane

Sliplane, based in Berlin, rents you a server and fits as many containers on it as its resources allow. It builds your Dockerfile from GitHub or runs an image from a registry, and it sells managed PostgreSQL.

- **Best for:** a Spring Boot app you already ship as a Docker image, beside its database, at a fixed price.
- **Price:** the smallest server, with 1 vCPU, 1 GB of RAM and 20 GB of disk, is €9, and the smallest PostgreSQL plan, with 1 vCPU, 1 GB and 10 GB, is €19. Both prices are excl. VAT.
- **What it lacks:** a free plan beyond a 48-hour demo server. Server locations outside Europe exist too, so choose a European one.

## 6. Scaleway Serverless Containers

Scaleway's Serverless Containers take an image you've built, run it in Paris, Amsterdam, Warsaw or Milan, and add instances with traffic, from none when idle up to 200. Scaleway is a French cloud provider.

- **Best for:** teams whose CI already builds a container image of the Spring Boot app.
- **Price:** usage is free up to 400,000 GB-s of memory and 200,000 vCPU-s a month. Beyond that, each extra 100,000 GB-s costs €0.20 and each extra 100,000 vCPU-s €1. Its managed databases are billed on their own.
- **What it lacks:** a build from Git. You build and push the image yourself.

## 7. Coolify on Hetzner

Coolify is open-source software that builds a Dockerfile or Compose file from your Git host onto a server you own, and it can run PostgreSQL as a container with scheduled backups. Hetzner, a German host, rents the machine.

- **Best for:** a side project or an internal tool where you're fine patching a Linux box.
- **Price:** Hetzner advertises its CPX02 at €5.49 a month excl. VAT in Helsinki and €6.49 in Falkenstein or Nuremberg, though its cheapest plans couldn't be ordered on 10 November 2026. Self-hosted Coolify is free.
- **What it lacks:** managed operations. Security updates, backups and restore tests are on you.

## How to choose

- You want Java versions, Maven goals and a Postgres add-on handled for you: **Clever Cloud** or **Scalingo**.
- You want the app and its services billed per project: **Upsun**.
- Your database already lives elsewhere and you want a flat price: **Eurobase**.
- You ship an image and want a fixed bill: **Sliplane**. You only want to pay while it runs: **Scaleway Serverless Containers**.
- Budget comes first and you can run a server: **Coolify on Hetzner**.

More options: [managed Docker hosting in Europe](/i/docker-hosting-europe) and [managed Postgres in Europe](/i/managed-postgres-europe).

## Frequently asked questions

### How much memory does a Spring Boot app need in production?

There's no single figure, so measure it under load. Leave room outside the heap for threads and class metadata, and move up a size if the process is killed for running out of memory. Paketo's Java buildpack, used by Eurobase, sets the JVM's memory flags from the container size.

### Can I deploy a Spring Boot JAR without Docker in Europe?

Yes. Clever Cloud, Scalingo and Upsun build from your Maven or Gradle project, and Clever Cloud can also run a JAR at a path you set. Eurobase builds from source with Paketo buildpacks and doesn't use a Dockerfile.

### Which port should a Spring Boot app use on a PaaS?

Spring Boot defaults to 8080. Scalingo expects you to read `${PORT}`, Clever Cloud passes 8080 through `http.port`, and on Eurobase you set the Port field to 8080 or bind `server.port` to the `PORT` variable it receives.

## Sources

- [Clever Cloud Java JAR docs](https://www.clever.cloud/developers/doc/deploy/applications/java/java-jar/), [Clever Cloud Java Maven docs](https://www.clever.cloud/developers/doc/deploy/applications/java/java-maven/), [Clever Cloud](https://www.clever.cloud/) and [Clever Cloud pricing](https://www.clever.cloud/pricing/)
- [Scalingo Java docs](https://doc.scalingo.com/languages/java/start), [Scalingo Gradle docs](https://doc.scalingo.com/languages/java/gradle), [Scalingo Spring Boot guide](https://doc.scalingo.com/languages/java/spring-boot) and [Scalingo pricing](https://scalingo.com/pricing)
- [Upsun Java docs](https://docs.upsun.com/languages/java.html), [Upsun pricing](https://upsun.com/pricing/) and [Upsun regions](https://docs.upsun.com/development/regions.html)
- [Sliplane](https://sliplane.io/) and [Sliplane pricing](https://sliplane.io/pricing)
- [Scaleway Serverless Containers](https://www.scaleway.com/en/serverless-containers/) and [Scaleway serverless pricing](https://www.scaleway.com/en/pricing/serverless/)
- [Coolify Dockerfile builds](https://coolify.io/docs/applications/builds/dockerfile), [Coolify databases](https://coolify.io/docs/databases/), [Hetzner Cloud](https://www.hetzner.com/cloud/) and [Hetzner Regular Performance](https://www.hetzner.com/cloud/regular-performance/)
- [Paketo Java buildpack how-to](https://paketo.io/docs/howto/java/)
- [Spring Boot: change the HTTP port](https://docs.spring.io/spring-boot/how-to/webserver.html) and [Spring Boot Actuator endpoints](https://docs.spring.io/spring-boot/reference/actuator/endpoints.html)
- [Eurobase containers](/docs/containers), [Eurobase plans and limits](/docs/plans), [Eurobase pricing](/pricing) and [Eurobase subprocessors](/legal/subprocessors)
