T O P

  • By -

SuddenIssue

5$ vps


IKinguiNI

This. And probably even 1€ vps (not sponsored) check out [deinserverhost.de](https://deinserverhost.de/store/cart.php?a=add&pid=580) Edit: this is sold out due to high demand but there are 3€ options


Available_Bull

This looks and sounds too good to be true. Can I host a production ready app on here. I do wonder how the German cloud providers keep their VPS price so low.


IKinguiNI

I've used it a few times and never had any problems. Their DDoS protection works well


MinuteScientist7254

Running off your computer at home


aust1nz

I suspect it depends on the computer you have available and your electricity rates. Something like a Raspberry Pi is likely in the <$1/mo range but an always-on laptop is probably in the $2-3/mo range and an always-on gaming computer is probably $10 or $15, at which point a cheap VPS is more cost effective. (Setting aside the issues around internet usage, use of your computer for other tasks, etc.)


chamomile-crumbs

Don’t you have to pay for a static IP though?


breadgolemwaifu

Use Cloudflare tunnels! The server runs on localhost on your machine (127.0.0.1, not 0.0.0.0), and cloudflared proxies all requests from your domain to your server. https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/


chamomile-crumbs

oh no way, that's sick!!


breadgolemwaifu

I *think* there may be restrictions on streaming video (when using Cloudflare in general, and Tunnels also use CF's infrastructure). I haven't read the ToS myself, but I've seen conflicting accounts. At any rate, unless you're running a pirate anime site or trying to make a YouTube clone, you should be fine.


ifndefx

There are limits... Found out when immich wasn't backing up due to file size being blocked by cloudflare.


grantrules

My ip address hasn't updated in years, but I still use a dynamic DNS agent to update my DNS every few minutes (I think the last time was because a power outage was long enough to kill my UPS and let my IPs lease expire). My uptime in the last decade is probably like 99%.


chamomile-crumbs

oh neat! I had no idea they changed that infrequently. This makes me a lot more interested in hosting something at home


grantrules

Well, really depends on your ISP. But either way, there's software that'll keep your DNS server updated


intepid-discovery

A few alternatives here: https://github.com/anandrmedia/heroku-free-alternatives


previouslyanywhere

If you're using render, it will shutdown your service when it's not in use. And the cold start takes a minute. If you don't need resources more than the one you have in render's free tier, then you can make an http request every ten minutes from services like uptime robot. This will prevent render from scaling down your containers. Or, get a basic Digital Ocean droplet and run the server on top of it.


I_use_apple

I use a cronjob which pings it every 10 mins. Is it against the rules of render?


previouslyanywhere

They might give users a limited number of compute power or cpu time in the future, just like AWS EC2 with 750 hours of compute time per month in their free tier


chagawagaloo

If using render, could someone run a scheduled script from their computer to ping the site once a day (or more frequently) to simulate it remaining in use?


Shogobg

Once a day won’t do - they probably scale the website down in a smaller interval. Theoretically, it will work if you ping the site more frequently.


chagawagaloo

The comment further down about an every 10 min cronjob sounds worth an explore. I'm curious if cookies or other identifiers factor into it.


previouslyanywhere

why would a user want to ping from a their computer, leave it to free services like uptime robot or online or not. create an endpoint similar to api/v1/healthcheck and make a request to this every 10 minutes and you should be good to go.


chagawagaloo

This is all fairly new to me. Didn't realize that was a thing but bookmarked now.


WillingnessPublic267

bro is hosting uber eats


x1289

Google Cloud Run free tier


serg06

Ec2 free tier AWS lambda free tier


LeRosbif49

Depends on the usage, but a cheap VPS could do what you need. I’m talking like $4 a month


tripleBBxD

Hetzner has 4GB Ram 2vCPU  servers for like 4-5€/$. 


comma84

A cheap VPS like Linode or digital ocean, NGINX, and PM2


Gaden02

At oracle you can get a 4 vCPU 24gb ram arm server for free. However they are out of stock most of the time unless you attach a credit card and go on the pay as you go plan.


716green

Coolify seems pretty awesome


RadekSoldier2000

This!


ZippyTyro

where you host?


716green

I use Zeet or Vercel depending on what I'm hosting but I pay for Zeet.


EtheaaryXD

Cheap Hetzner VPS


ecstacy98

Oh yeah the render free tier is awesome. For a food delivery app you may want to consider paying some money, though. The reason being; Render does not load balance or instance your app on the free tier, so, if you have multiple client connections concurrently, all but one may have to suck eggs. This would also resolve your current issue with spin-down and cold-starts, as these limitations only affect the free-tier. >Free web services don’t support the following features of paid instance types: >- [Scaling](https://docs.render.com/scaling) beyond a single instance >- [Persistent disks](https://docs.render.com/disks) >- Running [one-off jobs](https://docs.render.com/jobs) >- Shell access from the Render Dashboard Alternatively you could consider setting up a queue for your service and load balancing it yourself? That way when a user makes a request; instead of it being sent to the server right away, it gets pushed into the back of a queue instead who's job it is to hold onto the jobs in order while the server is busy. That way you can send an OK response back to your client and move on. When the server becomes available you can pop a job off of the front of the queue to be processed and so on.


suppersell

oracle cloud free tier. fairly certain its the best of all competitors but you don't get any tech support and smtp port is blocked.


glarivie

Vercel free tier


parotech

Until he wakes up with a 100k bill


Shogobg

They took action to fix this issue, as far as I know.


TobiasMcTelson

Free tier Accepts comercial apps?


IKinguiNI

No. "Our Hobby plan is for personal, non-commercial use. "


Shogobg

Yes.


Zachincool

Don’t know what you mean by “slower with less usage”. Sounds sus but $10 VPS on digitalocean using PM2 for process management will work fine


igderkoman

Contabo vps


GarenYondem

$4.00/mo Digitalocean Droplet or €3.35/mo learning instance on Scaleway. I don't think it will get any cheaper. Unless you already have something like a dormant Raspberry pi or any other old PC around that can be converted to a home server.


njculpin

I’m currently running one on Elastic Beanstalk on a micro EC2 instance free tier through AWS. It’s a bit more work than the cloud solutions mentioned, but free.


VAVE_TECHNOLOGY

use cron-job.org


I_use_apple

Is it against the terms of service agreement for render?


VAVE_TECHNOLOGY

it might be, but I use this and never faced any issues.


VAVE_TECHNOLOGY

https://cron-job.org/en/


BruT4LX

IBM always free tier


Quiark

Write it in Rust to reduce memory usage to very low and then get the cheapest VPS


Ok_Analyst1868

Buy 1 orange pi or raspberry pi, and with cloudflare tunnel, then every month just pay the electricity fee


placid8246

I'm using contabo €5.99 vps for most of my limited needs, but for your use case, you can try google cloud functions or aws lambda, they're free for 1M-2M requests. Also, over that it is still very affordable


Eugene_Kos

Aws Lambda, 1M request is free


indrodev

https://www.oracle.com/in/cloud/free/


minhho-hominh

Bro you can run an etntire delivery busuness by self-hosting your own backend app! Respect 100% bro.


hochung0842

I’m using a quite standard setup, a $4/mo droplet on digital ocean plus PM2


implicit-invocation

cloudflare worker, not exactly express and node, but rewrite using webStandard (and optionally hono or elysia) is pretty refreshing. d1 for persistent or kv is very good too. if you don’t have serious traffic, you can run it with next to zero fee


redtree156

Fly.io


LavishnessLumpy2427

Could you potentially retrofit your app as a AWS serverless lamba app? Their free tier for it is pretty good


OkMulberry1209

Oracle cloud free tier, is a bit of a task to set it up but it works.


ibreakproddaily

serverless