Live data from Hacker News

Self-Hosting like it's 2025

kiranet.org

21–30 of 240 posts

Re: Self-Hosting like it's 2025

#21

The only thing that holds me back for self hosting is Postgres. Has anyone managed to get a rock solid Postgres setup self managed? Backups + tuning?

I self-host Postgres at home and am probably screwing it up! I do at least have daily backups, but tuning is something I have given very little thought to. At home, traffic doesn't cause much load.

I'm curious as to what issues you might be alluding to!

Nix (and I recently adopted deploy-rs to ensure I keep SSH access across upgrades for rolling back or other troubleshooting) makes experimenting really just a breeze! Rolling back to a working environment becomes trivial, which frees you up to just try stuff. Plus things are reproducible so you can try something with a different set of machines before going to "prod" if you want.

Re: Self-Hosting like it's 2025

#22
post #6
post #2

Nah, that doesn't look fun. Self-hosting in 2025 should look like Yunohost or Sandstorm.

You sir know how to appreciate the simplicity such service providers deliver.

I'd not heard of yunohost, so I went googling and found https://www.reddit.com/r/selfhosted/comments/1ey9ayp/what_ma...

Seems like Docker has won so comprehensively that even more convenient (But unfamiliar) options are pushed to use it.

Re: Self-Hosting like it's 2025

#23
If any self hosters are burnt out by the state of config management tools and YAML, consider giving Etcha a shot (https://etcha.dev).

It's stateful (cleans up things when they're no longer in your config), procedural (you control the flow and can trigger things as needed), and supports flexible deployment models (push or pull). Full disclosure, I created it and use it across my business and personal devices.

Re: Self-Hosting like it's 2025

#24

I am actually worried about the self-hosting pandemic. We self-hosters will stop flying under the radar. Wonder how long it will take until our matrix instances require to be backdoored, our immich are scanning our pictures with AI. On an unrelated note, an article of how to rent a VPS in China would be interesting :)

> an article of how to rent a VPS in China would be interesting

Given that apparently it's quite difficult to even get a WeChat account without a national ID, I suspect that step 1 is "learn mandarin" and step 2 is "get a Chinese national ID".

Re: Self-Hosting like it's 2025

#25
post #18

i really like this software-centric approach, but I am a bit stuck when it comes to the hardware. Are there some sources around servers that don't suck up too much energy and are fairly quiet? What CPU is a good all-round solution?

Depends on your needs. For some Raspberry Pi (ideally with 8-16GB RAM) + SSD can be enough if you are after low power consumption.

If you need more power: I had success with HP ProDesk Mini (or any other one-litre PC), you can get these second hand from like $150 and extend RAM and SSDs however you like. You can even pick processor / generation to fit your needs best. These can have consumption from like 30W if I'm not mistaken.

I have no experience with real and expensive server hardware, but most people don't need that for a homelab.

Re: Self-Hosting like it's 2025

#26
post #24

I am actually worried about the self-hosting pandemic. We self-hosters will stop flying under the radar. Wonder how long it will take until our matrix instances require to be backdoored, our immich are scanning our pictures with AI. On an unrelated note, an article of how to rent a VPS in China would be interesting :)

> an article of how to rent a VPS in China would be interesting Given that apparently it's quite difficult to even get a WeChat account without a national ID, I suspect that step 1 is "learn mandarin" and step 2 is "get a Chinese national ID".

[dead]

Re: Self-Hosting like it's 2025

#29

The only thing that holds me back for self hosting is Postgres. Has anyone managed to get a rock solid Postgres setup self managed? Backups + tuning?

Put it on a zfs dataset and back up data on the filesystem level (using sanoid/syncoid to manage snapshots, or any of their alternatives). It will be much more efficient compared to all other backup strategies with similar maintenance complexity.

Re: Self-Hosting like it's 2025

#30
I’ve been self hosting small web apps using an SSH service https://tuns.sh and it helped me replace my DO droplet pretty successfully. What’s nice is it also has built-in usage analytics, alert notifications when a tunnel goes down, and fully manageable with a remote TUI which means I don’t have to install anything to use it.
Post reply on HN