r/SpringBoot • • Sep 06 '26

Question Free hosting options for a containerized Spring Boot (Kotlin) + Postgres + S3 stack?

I'm developing a personal side-project to use with a small group of friends.

My architecture consists of:

  • Backend: Spring Boot (Kotlin / Gradle), containerized with Docker

  • Database: PostgreSQL, in dev with a docker instance

  • Storage: S3-compatible object storage (currently using MinIO in local dev)

Since this is purely a non-commercial project for personal use, I am looking for 100% free hosting options (or a combination of free tiers across different services).

Requirements / Preferences:

  • Enough RAM/resources for the JVM/Spring Boot context to start up smoothly without hitting aggressive OOM killers.

  • Persistent storage for Postgres and S3.

  • No credit card required upfront if possible.

  • A short delay on cold start is totally fine.

For the frontend, I'm building and distributing an APK directly, so I only need hosting for the backend ecosystem.

Are there any reliable free-tier services or combinations (e.g., separating app, database, and storage providers) that you would recommend for this setup in 2026?

Thanks!

23 Upvotes

13 comments sorted by

View all comments

5

u/d-k-Brazz Sep 06 '26

After couple years of different free hosting options I ended up with hetzner lowest tier vps, which successfully runs several apps and several dbs for $5

There will be no good free solution for backend, especially Java, especially if you need the app to run 24/7 for some background tasks

3

u/alpakachino Sep 06 '26

Same, Hetzner is relatively cheap and offers decent machines for the price.

1

u/CoatPopular4023 Sep 06 '26

I ve seen that currently the lowest solutions are not available on hetzner, as I wanted to choose it, so i ended up with netcup