I have a unused RPi4 (the 8Gig one) running DietPi. I did use it as a playground but ever since I am renting a Hetzner machine for (playground) stuff that I want web accessible, I don’t have particular use for the Pi.

I am currently running (outdated) Home Assistant on it but there isn’t much I can connect it with (yet, getting the flashable/compatible ikea smart lightning zigbee? bridge thingy is on my bucket list). Obviously I do have a pihole there.

Shoot me any other ideas I could run there. Some kind of monitoring of my rented infra would be cool (I already have uptime kuma on the dedi hetzner box). One idea I had was if there are some OSS security scanning “daemons” I could use on to monitor my other infra.

Thanks a lot!

2 points

You can setup a tunnel from your Hetzner VPS to your home with say Netbird and then run stuff that would be a bit to expensive to run on rented hardware. Like say Nextcloud, Matrix or game servers, on your RPi while still having them web accessible thanks to the tunnel.

permalink
report
reply
1 point
*

I rent dedicated machine so the HW I have is the limit - I pay the same rate every month, no matter the usage, so with the bit outdated but still performant Ryzen 5 3600 and 64GB of RAM I was very happy to throw minecraft/zomboid/vallheim servers at it and few more services, aye aye;)

Though the possibility of tunneling services out from the RPi is something I am aware of, but except for stuff that would benefit from video HW accel there isn’t much that would be better to run on the RPi instead of on the server directly.

permalink
report
parent
reply
1 point

Cool, but I’m guessing that ain’t especially cheap right? I pay $60 a year for 4 cores and 8 GB RAM (400 gb storage). Which I consider a pretty OK price. $5 a month.

permalink
report
parent
reply
1 point

Yeah it’s not it’s closer to paying your yearly cost but per month. L

permalink
report
parent
reply
4 points

RPi4 + USB Storage works as a network connected backup space for home PCs. With dyndns and a split vpn tunnel I imagine you could have your Hetzner machine place backups there too.
Seems both nagios and zabbix work on RPi:
https://peppe8o.com/network-monitoring-with-raspberry-pi-and-nems-nagios/
https://bestmonitoringtools.com/how-to-install-zabbix-on-raspberry-pi-raspbian/

permalink
report
reply
1 point
*

Already got ssd as a nfs share in my openwrt-based router before that I did have it set up on the rpi. I did want to do offsite backup into that disk originally but I’ve got “only” ~100Mb/s up/down speed here so I didn’t want to risk slow-downs etc (but now that you remind me, borgbackup should be rather light on traffic!).

NEMS being a whole OS is a pitty, I like the possibility to have multiple different services there.But you are absolutely right I could have a offsite resource monitoring for my Hetzner setup with these, thanks!

permalink
report
parent
reply
2 points

You can also install Nagios the traditional way with apache instead https://www.howtoraspberry.com/2021/05/how-to-install-nagios-on-a-raspberry-pi/

The port 9090 nems UI is based on Cockpit and just an apt install away https://cockpit-project.org

permalink
report
parent
reply
-2 points

First, you should something decent, not DietPi. You’ve Armbian for a ready to go experience or official Debian.

Once you get into something Debian 12, you can run LXD/LXC as a containerization / virtualization solution and use the same Pi to run the official HA VM image and whatever else you would like.

permalink
report
reply
5 points

Why is dietpi a worse choice? it’s still basically debian (11).
I’ve chosen DietPi because of their sane defaults that I would have to setup myself like vm swappiness, fs noatime, tmp journal, and some more I am not even aware of.

permalink
report
parent
reply
1 point
*

Armbian has sane defaults for SBCs as well (yes log2ram so you won’t burn SD cards) and it is way more stable and polished than DietPi with less overhead. About bare Debian, you’ve the images I linked to and you can make it log to the ram with a simple line in systemd’s config.

Storage= Controls where to store journal data. One of “volatile” (…) If “volatile”, journal log data will be stored only in memory, i.e. below the /run/log/journal hierarchy (which is created if needed).

permalink
report
parent
reply
6 points

A local jellyfin installation so you can watch/listen to your media even if your internet is down.

permalink
report
reply
7 points

Vaultwarden password manager

permalink
report
reply
14 points

Vaultwarden is super, but I’d be hesitant to run it on a Raspberry Pi unless I had good backups in place. I’ve always run stuff off MicroSD cards with Pi’s, but I’m sure there’s a way to use real drives which would make me feel better.

permalink
report
parent
reply
5 points

You could just plug an external drive in it

permalink
report
parent
reply
3 points

You don’t need permanent backups of it. Vaultwarden is more like a secure “syncthing”. I crashed a system with vaultwarden had to rebuild everything but after connecting it to my devices I got the passwords from them back again and nothing was lost.

permalink
report
parent
reply
1 point

It has some amazing caching, but that doesn’t mean a backup is not necessary or recommended.

permalink
report
parent
reply
2 points
*

Yeah that’s true, your devices will still have a cached copy. Still… losing the host would be a pain. It looks like (from the browser extension at least) I can export the vault, so maybe it’s not as bad as it seems.

permalink
report
parent
reply
2 points

I’m running mine off an SSD using an M.2 to USB adapter

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 4.8K

    Monthly active users

  • 3.5K

    Posts

  • 79K

    Comments