r/learnjava Jul 30 '26

hey java developers , where do you host your Java/SpringBoot (backend) projects for free , to show live demo?

i have to host my Java project to give a live button on my resume , frontend i have hosted freely on vercel , but for backend im looking something free, AWS bills are too high , I want something for free.

6 Upvotes

19 comments sorted by

u/AutoModerator Jul 30 '26

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
  • You include any and all error messages in full - best also formatted as code block
  • You ask clear questions
  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

5

u/advancedor96 Jul 31 '26

I use Google Cloud Platform to host my spring boot backend! (free)

5

u/Gregmix88 Jul 30 '26

Google cloud platform has free tiers, both for containerized and VM envs, also DBs and such

3

u/ManuDV Jul 30 '26

My own computer

2

u/aliniaz Jul 30 '26

I use hetzner; not free but dirt cheap in rates.

1

u/Sure-Willow5490 Jul 30 '26

Thanks, i will check it out.

2

u/Dense-Ad-3247 Jul 30 '26

Heroku

1

u/Sure-Willow5490 Jul 30 '26

Hey is it free?

1

u/Dense-Ad-3247 Jul 30 '26

It has tiers. No free tier anymore.

1

u/Sure-Willow5490 Jul 30 '26

Ohh ok

2

u/AdministrativeHost15 Jul 30 '26

$30 per month. But Salesforce has sunsetted it so its not a long-term solution.

2

u/gerbosan Aug 01 '26

Something I would like to have clarified is, you guys are having your products prepared for production, right?

1

u/Sufficiently-Brainy Aug 01 '26

host it in your own laptop (if you use docker and stuff you should not be asking this question) .. anyways just host it from your own laptop .. and use ngrok in case you are under a double nat or do not have a static IP or dont want to deal with setting up domain and stuff .. if not under a double NAT then use any DDNS client and then if you have a domain just connect it to that and just show the demo

1

u/loslaDroness Aug 02 '26

Oracle cloud has a good always free services. Just grab the always free instance (i think it has like one core and 1gb ram). They also give 250 dollars in credits that last for 30 days.

1

u/Foreign-Contest-444 28d ago

Heroku might also have something for you.

1

u/arshbio009 Jul 30 '26

I often just borrow my friend’s server for it

but then again not everyone has a friend like that

1

u/gerbosan Aug 01 '26

You can introduce him here. You know, we need to know more interesting people.