by papichulo2023 on 4/16/2024, 7:40:43 AM
by NAHWheatCracker on 4/16/2024, 4:18:14 AM
I have some Raspberry Pis that I self host stuff on. Gitlab on one, Runtipi on another, and pi-hole + Nginx + a game I made on a third. Some of it is publicly accessible on my own domains, but the only traffic I actually get is from myself.
I connect my Pis to my WiFi router and I've struggled with the adapters, so a POE switch might be interesting. I should containerize stuff, but I enjoy running it directly as well. I need to figure out backups some day.
The biggest issue I've had is that I've lost 3 SD cards in 6 years. Twice due to power failure, and once to heavy disk writes. I can't stand randomly losing stuff and having to re-setup a pi, so I switched to booting from USB SSDs. I haven't had an issue since. The cost is a bit obnoxious since I don't trust a cheap drives, but the perceived peace of mind is nice.
Has anyone else had this issues with losing SD cards while self hosting on Pis?
by 8fingerlouie on 4/16/2024, 8:01:26 AM
I get it, self hosting is fun (until user count is > 1), but I wonder how long a $6 VPS would be able to handle the same load before you'd "break even" with the cost of 4 Pi's, as well as the ~12W required to run them, as well as the 5-7W required to power the switch.
Assuming it's 20W in total, that's 14.5 kWh/month, which even as US prices of $0.15/kWh adds up to $2.15 per month. In Europe you're closer to €5/month (€0.35/kWh)
by dewbrite on 4/16/2024, 5:17:06 PM
Cool stuff! I built a similar cluster of Orange Pi 5s with NVMe drives. For IP masking I'm paying for a $3.50 VPS to have nginx forward raw packets.
Fwiw Cloudflare Proxy and, to a lesser extent Tunnels, are de facto MITM attacks. I don't exactly trust large unprofitable corporations to do the right thing when they decrypt all of my and my users' traffic.
Not that CF is a malicious entity, but, the potential for them to be used as one is a looming threat. Then again, so is any VPS you host on :^)
by pbronez on 4/16/2024, 2:44:35 AM
Super fun that you have more worker nodes than websites lol
Neat to see Docker Swarm in use. Don’t hear much about it since K8s took over.
by burrish on 4/16/2024, 3:17:51 PM
the hosting a blog on kubernetes joke managed to get a giggle out of me
For fun is okay, but you can buy a single computer more powerful than those 4x Pi for 500 bucks. Pi has stopped being cost effective a long while ago.