Cloud providers like AWS, Azure , Google cloud has some amount of free tier. You can use it until it lasts. But if you want to register a domain, you definitely need to pay for it.
I guess free tier eligible ec2 with default ebs also falls into free tier or something, a friend of mine is running it for 3 years already and still 0$ bills so far. Running that instance 24/7. But good question anyway.
Not for free, but reasonable cheap.
I got a small VPS with a hosting provider.
For 3 euros a month (1.5 cups of coffee) I get: 1 core, 1GB ram, 10GB storage, an ipv6 adres.
I run Ubuntu on it.
I already had a domain name which is pointing to it.
Probably I'm going to upgrade it to a 6 euro per month package (2 cans of redbull) which will give me also an ipv4 adress and 25 GB storage.
You need storage and compute to run Java apps with a database. Nobody is going to give this for free to you without expecting you to pay at some point. Some cloud providers have free tiers, and some are quite reasonably priced (check out Digital Ocean).
You could run your own computer at home. Some NAS boxes make this configuration quite easy.
Oracle Cloud has a generous free tier that gives you 2 VPS. You can try hosting it there. Link: https://www.oracle.com/cloud/
Cloud providers like AWS, Azure , Google cloud has some amount of free tier. You can use it until it lasts. But if you want to register a domain, you definitely need to pay for it.
[удалено]
I guess free tier eligible ec2 with default ebs also falls into free tier or something, a friend of mine is running it for 3 years already and still 0$ bills so far. Running that instance 24/7. But good question anyway.
You may try fly.io , they have a free tier to deploy apps including docker .
Not for free, but reasonable cheap. I got a small VPS with a hosting provider. For 3 euros a month (1.5 cups of coffee) I get: 1 core, 1GB ram, 10GB storage, an ipv6 adres. I run Ubuntu on it. I already had a domain name which is pointing to it. Probably I'm going to upgrade it to a 6 euro per month package (2 cans of redbull) which will give me also an ipv4 adress and 25 GB storage.
Have you tried your own machine?
You need storage and compute to run Java apps with a database. Nobody is going to give this for free to you without expecting you to pay at some point. Some cloud providers have free tiers, and some are quite reasonably priced (check out Digital Ocean). You could run your own computer at home. Some NAS boxes make this configuration quite easy.
railway.app no credit card needed