News for hackers. Stuff that matters.
Re:Netlify just sent me a $104K bill for a simple static site by lopkeny12ko on Tuesday February 27, 2024 @01:53AM (#39520906)
For less than 1% of OP's monthly bill, you can build or obtain a more-than-enough server, drop your static files on it, and serve through nginx. And you get to keep it forever; there's no monthly subscription fee!

Seriously, maybe I'm just old, but I look at the pricing of these hip and modern SaaS products for dead simple software and I cannot believe my eyes. The "old fashioned way" works just fine (and has always worked just fine) and is orders of magnitude cheaper.

Re:Netlify just sent me a $104K bill for a simple static site by satvikpendem on Tuesday February 27, 2024 @01:55AM (#39520930)
Hetzner or DigitalOcean with Coolify [0] works great, it's like an open source Heroku that runs on any host, you get git push to deploy, and a bunch of other features built in. It only works on one machine at a time though so it's not like a CDN but for small sites, it's great.

[0] https://coolify.io

Re:Netlify just sent me a $104K bill for a simple static site by tasuki on Tuesday February 27, 2024 @02:20AM (#39521097)
I use DigitalOcean to host some things (with my own setup for deployments with git push, because `curl | bash` is not a great way to install/maintain software).

How am I protected against extra charges for traffic?

Re:Netlify just sent me a $104K bill for a simple static site by welder on Tuesday February 27, 2024 @03:20AM (#39521496)
Same here, using DigitalOcean instead of Vercel to host my Next.js app. I have a billing alert to notify of unexpected bills, but I don't know what DO does if somehow TBs of traffic are sent to my apps or Cloudflare, because DO App Platform actually uses Cloudflare behind the scenes.
Re:Netlify just sent me a $104K bill for a simple static site by whatever1 on Tuesday February 27, 2024 @01:59AM (#39520951)
But you need a static IP, stable internet, UPS, and permission from your wife to have a 24/7 powered noisy box in a room
Re:Netlify just sent me a $104K bill for a simple static site by Yodel0914 on Tuesday February 27, 2024 @02:09AM (#39521023)
I pay less than $5/mth for a VPS with static IP and 1GB/mth transfer. If I get close to any of my CPU/Memory/Disk/Transfer capacity I get a friendly email letting me know that I might want to add more capacity.
Re:Netlify just sent me a $104K bill for a simple static site by fbdab103 on Tuesday February 27, 2024 @02:23AM (#39521113)
I mean, the C10k problem was coined in 1999[0]. A 10W raspberry pi is going to be faster than any server of that day, so it depends on what exactly you are hosting if you need the noisy box.

[0] https://en.wikipedia.org/wiki/C10k_problem

Re:Netlify just sent me a $104K bill for a simple static site by LtWorf on Tuesday February 27, 2024 @02:43AM (#39521263)
How sensitive are you if you think a rpi is noisy?
Re:Netlify just sent me a $104K bill for a simple static site by mvdtnz on Tuesday February 27, 2024 @03:06AM (#39521412)
You don't need a static IP. You can use dynamic DNS or a free product such as Cloudflare Tunnel.
Re:Netlify just sent me a $104K bill for a simple static site by fuzzfactor on Tuesday February 27, 2024 @10:11AM (#39525014)
Dynamic type IP doesn't usually change for no reason, work around whatever instability you have, set BIOS so PC auto-restarts and OS launches apps when failed power returns, get a mini fanless PC which can be easily concealed, and you don't even need to tell anyone who doesn't have a need to know.

Whether that includes your wife or not is up to you ;)

Re:Netlify just sent me a $104K bill for a simple static site by debok on Tuesday February 27, 2024 @02:04AM (#39520984)
Having built serverless apps and "old-fashioned" apps, I seriously believe the old fashioned way is better.

The best of both worlds is to host on AWS EC2 or a similar product from your web service provider of choice.

Re:Netlify just sent me a $104K bill for a simple static site by trog on Tuesday February 27, 2024 @03:58AM (#39521772)
EC2 is so much more expensive than a standard VPS from almost any other provider though. If you're not embedded heavily in other AWS products I don't think it's worth bothering with EC2 - LightSail is way more cost effective and gets you most of the features.
Re:Netlify just sent me a $104K bill for a simple static site by amluto on Tuesday February 27, 2024 @01:58AM (#39520943)
A lot less than 1%.
Re:Netlify just sent me a $104K bill for a simple static site by rtpg on Tuesday February 27, 2024 @01:56AM (#39520938)
I mean you gotta put your server somewhere (I guess hosting it on your connection?)