alt.hn

4/24/2025 at 10:43:43 AM

Ask HN: Cheapest way to host a back end

by Jean-Philipe

4/24/2025 at 5:45:25 PM

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!

by TheKelsbee

5/1/2025 at 9:20:51 AM

Thanks, I had no idea, I'll check it out! We're still in the process of completing the paperwork, so it'll take a while until we have an official status.

by Jean-Philipe

4/24/2025 at 5:40:45 PM

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.

by toast0

4/26/2025 at 4:24:40 AM

Like AWS Lightsail?

https://aws.amazon.com/lightsail/pricing/

by digianarchist

4/26/2025 at 6:12:00 AM

I’ve been using Lightsail (mostly because I use AWS for a ton of stuff at work) and it has been great. No complaints.

by jasonthorsness

4/24/2025 at 3:18:55 PM

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.

by dakiol

4/24/2025 at 9:19:13 PM

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.

by lbhdc

4/24/2025 at 10:51:23 AM

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?

by quintes

5/1/2025 at 9:18:42 AM

The stack is nodejs and postgres - the most expensive part is the database actually. I could probably look into caching more of the expensive (mostly read-only) queries.

I'm one of the two developers who will help out with development and devops. There's some budget for that. So we have the skills.

by Jean-Philipe

5/2/2025 at 8:58:02 AM

Database on RDS? I guess caching queries could be useful. Aurora serverless?

What’s the user base and load? All internal NGO or public?

Public sector AWS peeps should maybe jump in and see if they can offer support have you checked with them?

by quintes

4/28/2025 at 4:00:13 PM

Vercel is honestly meant for enterprise. The free/cheap tier is a cool toy. Vercel replaces the need to build out an expensive dedicated UI deployment/tooling team (like when your org has like 50 product teams working on a large enterprise saas).

Anyone else should just stick to vite react starter SPA and actually make money first. If they need SEO, they can use something simple too.

by babyent

5/2/2025 at 8:58:39 AM

Yeah when ever you see enterprise pricing / call us you know you need some dollars

by quintes

4/28/2025 at 12:40:33 AM

AWS lambda + API gateway. I use serverless to deploy to these.

If traffic is high, this could get pricy. For example, i have a site up getting about 20,000k visitors a day, hitting it many times each and it's probably costing me $400/month whereas a $50 server would probably do the trick (it's a temporary thing that i'm migrating away soon). But I have a bunch of smaller projects with a few visitors a day and the cost rounds to $0.

The nice thing is that it'll basically scale infinitely when you need it to.

by dtnewman

4/25/2025 at 10:45:47 PM

I really like fly.io, but you’d need to provide more information about the kind of backend and the expected load. Also what does it currently cost?

I host a few sites on fly for pennies, but they don’t see a lot of traffic.

by JaggerJo

4/29/2025 at 8:58:33 PM

Hey - get in touch with me at Zuplo. If this is for a charity, we might be able to swing you a really cheap deal.

by DataOverload

4/24/2025 at 5:19:08 PM

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.

by rganesan

4/25/2025 at 6:58:56 AM

If the initial effort can be big, all you really need to do is to move your API/Backend to API Gateway and Lambda (with throttling applied), then for databases, just get a dedicated EC2 instance and host stuff manually, with periodic syncs to S3 for backups.

Most of AWS services exist because people are either too lazy or not knowledgeable enough on how to set up their own stuff on EC2.

by ActorNightly

4/25/2025 at 1:39:37 PM

Everyone here is suggesting various cloud offerings, and that's probably the way to go.

However, cheap used mini PCs from the likes of HP can be had for very little or even free if you find an office that's replacing them with new ones. Plop on of those at home, and your recurring costs are like 20W of power

by yonatan8070

4/24/2025 at 4:37:06 PM

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

by icedchai

4/24/2025 at 3:54:06 PM

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.

by daemonologist

4/24/2025 at 12:09:52 PM

Supabase + Cloudflare Workers, both have pretty generous free tiers

by yen223

4/24/2025 at 3:46:10 PM

Pythonanywhere, Render.

by chistev

4/25/2025 at 2:22:05 AM

Surprised that no one has mentioned Google Cloud Run. I’ve started multiple services with it this year and it’s been awesome. Highly recommend.

by theli0nheart

4/25/2025 at 3:00:35 AM

So happy to see this mentioned. I love google cloud run. I had to switch to azure for a while, but wasn’t as easy to use as gcr

by johncole

4/25/2025 at 2:31:17 PM

I've also really enjoyed my experienced with Cloud Run. It makes it super simple to deploy and scale containers.

by icedchai

4/26/2025 at 7:59:31 AM

DeployHQ+VPS (Hetzner, Vultr, DO, etc)

by deployhq

4/24/2025 at 9:16:36 PM

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

by billconan

4/24/2025 at 12:04:53 PM

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

by yeyeyeyeyeyeyee

4/24/2025 at 2:18:20 PM

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

by dith3r

4/24/2025 at 4:17:03 PM

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.

by runjake

4/24/2025 at 9:27:28 PM

> 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.

by lbhdc

4/25/2025 at 9:15:25 PM

Right now there is no date when this free offer will disappear. For 3 yr I m using it.

by dith3r

4/24/2025 at 4:39:08 PM

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

by icedchai

4/25/2025 at 12:08:02 AM

Google app engine, you can run for free.

by ecesena

4/24/2025 at 5:19:28 PM

Lightsail on AWS, fixed pricing

by tumidpandora

4/24/2025 at 12:38:51 PM

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

by fefferkorn

4/25/2025 at 12:29:24 PM

Localhost.

by revskill

4/24/2025 at 5:32:54 PM

Elestio

by W6zVktFA