News for hackers. Stuff that matters.
Re:My Frugal Indie Dev Startup Stack by wongarsu on Monday August 07, 2023 @06:55AM (#37032799)
RDS is very expensive. Just following the console's advise for production instances (meaning Multi-AZ with a Proxy), a t3-medium (2 vCPU, 4GB) Postgres instance with 5GB storage is $130/month.

You can get it down to $12/month by going with a t4g.micro (2 vCPU, 1GB RAM), single-az, no proxy, no backups, 5GB storage; with price after that scaling roughly linearly with RAM. But the interface will scream at you the entire time that this isn't reasonable for a production setup.

Re:My Frugal Indie Dev Startup Stack by ZephyrBlu on Monday August 07, 2023 @07:01AM (#37032831)
Ah, it makes sense why costs would be high in that case. Multi-AZ + proxy seems like massive overkill for 99% of applications though.
Re:My Frugal Indie Dev Startup Stack by jwdunne on Monday August 07, 2023 @07:21AM (#37032980)
We thought that at the SaaS I’m working at but AWS scheduled maintenance in our AZ and that led to significant downtime with nothing we could do about it, no compensation, nada. It was basically our fault because we didn’t use multi-AZ. I can’t remember if this was RDS or ECS but we figured if it could happen to one critical service in a single AZ, it could happen to another.

I think Proxy _is_ overkill and perhaps expensive for what it is. For a pg install, running pgBouncer isn’t difficult. But I guess that depends on whether you’re authenticating with IAMs, which doesn’t sound trivial with bouncer (it might be).

Re:My Frugal Indie Dev Startup Stack by tekla on Monday August 07, 2023 @12:42PM (#37036919)
Multi-AZ is freaking awesome because the literal first 10 minutes I'm forced to give a shit about my RDS DB, its already a waste of money vs the monthly cost.
Re:My Frugal Indie Dev Startup Stack by withinboredom on Monday August 07, 2023 @07:49AM (#37033190)
Or just rent a bare-metal server with 32 real cpus and 128gb of ram for <100 bucks a month... My bare metal k8s cluster running on rented bare-metal costs <300 a month and I have hundreds of cores and hundreds of gb of ram available.
Re:My Frugal Indie Dev Startup Stack by esafak on Monday August 07, 2023 @01:29PM (#37037663)
Where do you get servers in the US at that price?
Re:My Frugal Indie Dev Startup Stack by withinboredom on Monday August 07, 2023 @02:05PM (#37038206)
OVH has them in North America. You can get 32 threads (16 cores) and 32 gb of ram for 100 euro a month (120ish USD).
Re:My Frugal Indie Dev Startup Stack by willsmith72 on Monday August 07, 2023 @01:54PM (#37038060)
Yeah and maintain and monitor it yourself when you could be building the product
Re:My Frugal Indie Dev Startup Stack by withinboredom on Monday August 07, 2023 @01:59PM (#37038130)
Is it really that hard to install netdata? It's a single command.

It is really no different than managing VPS's, in all honesty (just less expensive and tangible). I spend less than one hour a week doing updates and routine maintenance. Drive failures happen rarely, and can usually be swapped out within a few hours (this is what RAID is for).

More time is spent dealing with k8s and it's shenanigans than dealing with the actual servers.

Re:My Frugal Indie Dev Startup Stack by shortrounddev2 on Monday August 07, 2023 @02:25PM (#37038514)
> It is really no different than managing VPS

Many people don't do that. My company uses EKS and we just send dockerfiles and yaml files at it. We don't ever actually interface with an ssh prompt on our servers

Re:My Frugal Indie Dev Startup Stack by DeathArrow on Tuesday August 08, 2023 @02:45AM (#37045359)
Managing Kubernetes doesn't take time?