158
submitted 1 year ago by supakaity to c/main

Discussion of the current situation with the Blåhaj instances, and upcoming maintenance.

you are viewing a single comment's thread
view the rest of the comments
[-] nuke@yah.lol 33 points 1 year ago* (last edited 1 year ago)

A few friendly recommendations that may help:

  1. Remove the AWS load balancer. Your web application isn't horizontally scaled so you don't need that extra cost. Obviously you'll still have to pay for bandwidth moving all those images but you remove the ELB hourly usage cost from the equation. If you're using it for a reverse proxy, simply install a nginx container on the lemmy box. If really want a load balancer, you'll save money by hosting haproxy on a regular server.

  2. Get off Amazon RDS. You'll save money by hosting your database on a regular server than using RDS. You're moving from a fully managed solution to one you have to manage your own. This means managing your own backups and replication if you want HA failover.

  3. Switch to object storage for pictrs. The cost is much lower.

However, you're right that Amazon prices are high and you'll likely find cheaper alternatives elsewhere.

[-] SomeRandomWords 15 points 1 year ago

I'm not sure I agree with moving from managed to unmanaged for RDS, unless you're very familiar with databases and keeping them online, RDS (and other managed DB providers) are honestly one of the places I recommend spending more on.

The rest of your points are spot on though.

[-] nuke@yah.lol 6 points 1 year ago

Oh yeah, I agree it's not the right choice for everyone. There's a whole lot that can go wrong self managing DBs. Also, you're losing out on availability as RDS gives you two availability zones for redundancy. It's a trade off I think based on your experience, budget, and uptime requirements. Just spit balling, but I believe it would be something like a 20% cost reduction for the db hosting.

[-] SomeRandomWords 1 points 1 year ago

Looks like they've got experience managing databases and are getting off of RDS as a result 🎉

[-] smitten 2 points 1 year ago

I believe you can run multiple web ui containers to horizontally scale part of it

this post was submitted on 29 Jul 2023
158 points (100.0% liked)

Blahaj Lemmy Meta

2323 readers
7 users here now

Blåhaj Lemmy is a Lemmy instance attached to blahaj.zone. This is a group for questions or discussions relevant to either instance.

founded 2 years ago
MODERATORS