Ask HN: Cheapest way to host a back end

7 points by Jean-Philipe 12 hours ago

I'm about to help transitioning a mobile app to a charity and need the API to be hosted as cheaply as possible. I don't expect it to scale super big, but there has to be some level of scalability. Initial effort can be bigger, what's important are the running costs. Ideally it should be low maintenance, not a lot of development is going to happen on the code base. It's nodejs with postgres.

Right now we're on AWS which is crazy expensive, and I'm thinking about going to vercel but can't really estimate how much it will be with equal performance.

TheKelsbee 5 hours ago

Hi! AWS Developer Advocate here. Depending on the nonprofit/charity status it's possible they could qualify for free or reduced price hosting. There are a few different programs that you could qualify for.

There is also the Techsoup organization, which helps nonprofits and charities with technology needs: https://page.techsoup.org/amazon-web-services-for-nonprofits

I would highly recommend looking through there for not just AWS specific tools & services, but a wide variety of solutions that might help this charity.

Please feel free to reach out directly to me for additional assistance. Hope this helps!

toast0 5 hours ago

You can easily get a VPS for around $5/month from quality vendors. You can probably find a lot of offers around $1/month for a VPS on lowendbox, lowendtalk, and webhostingtalk.

If you want more oomph than that, you can find dedicated server offers at those three places, starting around maybe $30/month. Typically pretty old systems, but I enjoy having a whole ancient box rather than one core in a vm on a modern box. My personal hosting needs are tiny though, so I could fit back into the VPS if money were an issue.

billconan an hour ago

I'm paying $0.45 for my personal lambda/dynamodb based service. but my traffic is very low.

rganesan 5 hours ago

Have you looked at Amazon Lightsail? It's relatively cheap if you don't need a lot of scale, compared to other cheap alternative. Oracle free tier is another option.

quintes 11 hours ago

What’s the stack?

Why is AWS expensive? What’s the most costly?

Why vercel? I’ve heard it gets costly at scale here on HN no other data points.

Does the charity have the ability to operate it? Budget? Skills? If not what the plan?

dakiol 7 hours ago

Hijacking the thread: also looking for some super cheap VPS for running Go servers (don’t need more than 256-512 MB). I know i have digitalocean for ~$5/month, but i’m looking for something more like $1 or €2 per month.

  • lbhdc an hour ago

    I run a number of go servers with similar resource requirements on cloud run for free. I wanted them to be always on, so I set up an uptime check that keeps those instances alive around the clock without leaving the free tier.

daemonologist 6 hours ago

Cheapest is to fit within someone's free tier (e.g. Oracle), but I'm leery of that. Personally I use Hetzner's cheapest US instance which is 5 EUR/month with an IPv4 address.

icedchai 6 hours ago

Have you looked into optimizing your AWS costs? Where is most of it going? Compute, storage, bandwidth?

yen223 10 hours ago

Supabase + Cloudflare Workers, both have pretty generous free tiers

dith3r 8 hours ago

Oracle cloud has free tier with 4 arm vcpus/24G ram/200GB SSD.

  • runjake 6 hours ago

    Some good questions to ask in this case:

    - How long will this last?

    - What's in it for Oracle?

    Oracle is not known for its benevolence or free services. Quite the opposite.

    • lbhdc an hour ago

      > What's in it for Oracle?

      Customer acquisition, like all companies with a free tier. It lets people experiment with their products and see if it meets their needs. Maybe those experiments grow up to be real products and continue running where they are. Maybe that user becomes an advocate for that product to their employer.

    • icedchai 6 hours ago

      Also keep in mind there's a lot more talent available to work with AWS, GCP, and Azure.

yeyeyeyeyeyeyee 10 hours ago

Get some cloud servers at Hetzner, you'll get what you need for XX euros per month.

chistev 7 hours ago

Pythonanywhere, Render.

fefferkorn 10 hours ago

depending on the performance you need (and ofc region).. for eu i can recommend: 1&1, (they have 1€ vps), hetzner, alphavps