Best Free Hosting Options for a 24/7 Node.js Server for My Indie Game?
Asked by
IndieDevHero123
I'm currently working on an indie game and planning to add online features. I need to set up a lightweight backend server using Node.js, primarily utilizing the built-in modules like http and url for handling basic requests from the game client. My main requirements for the server are: it needs to be up 24/7 so players can connect at any time, ideally it should be free (especially since I'm self-funding this project), and I need straightforward support for Node.js. At first, the server will handle simple tasks like validating data or managing a basic leaderboard. Although I'm aware of some services like Heroku, Railway, and Render, I'm unsure which ones would be suitable for low-traffic, always-on processes. Can anyone recommend a free service that can host a simple, persistent Node.js server? Thanks!
Answers
Have you looked into Cloudflare Workers? They could be a good fit for your lightweight backend needs. Here's a link to check it out: https://www.cloudflare.com/developer-platform/products/workers/
Reply to this answer
You might want to consider paying for a VPS droplet, but if you're set on free options, that might not be feasible. However, if online payments are off-limits for you, I understand the need for free hosting.
Reply to this answer
Iโve heard good things about the Oracle free tier. They offer free resources, but the setup can be a bit tricky since youโll need to install your own server. Their guides are pretty detailed if you want to give it a shot!
IndieDevHero123: Thanks for the tip! Iโll check it out.
Reply to this answer
Most free options are more like startup services rather than actual always-on VMs. You might want to think about setting up your own server at home with something like a Raspberry Pi. It's relatively cheap and can offer similar capabilities to those free-tier services.
IndieDevHero123: That sounds like a solid plan. Thanks!
Reply to this answer
Add your answer
Answers are reviewed before publication.
IndieDevHero123: Yeah, I get that. I really do need it to be free for now.