this post was submitted on 10 Feb 2025
0 points (NaN% liked)

Self Hosted - Self-hosting your services.

12130 readers
1 users here now

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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

Would you be able to host instances for stuff like mastodon and peertube on a raspberry pi more specifically the raspberry pi 5

top 17 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 1 week ago

Yes BUT while booting from SSD. Anything write/read intensive will shred your SD card in a matter of months.

[–] [email protected] 0 points 1 week ago

Yes. The Lemmy instance I’m commenting from is running on a Raspberry Pi 4. A couple things you’ll need to consider though:

  • Any containers / applications you run need to be compiled for arm64. This is way more common now than it used to be, but there are still some things that only work on x86 (like many game servers)
  • You should hook up external storage to your Pi. You can boot from an SSD via USB 3 and you’ll get way better performance, capacity, and write endurance than an SD card.
  • RAM will likely be your first limitation. Many services can run well under 4GB, but once you start adding more, it can fill up if you’re not careful.
  • You probably already knew this, but even though the Pi has WiFi, plug it into the network via Ethernet. As a rule, you should never run servers off WiFi if you can avoid it. You’ll get much better speeds and reliability.
[–] [email protected] 0 points 1 week ago

I switched from raspberry pi and orange pi to a cheap Intel NUC, and I think it's just a much nicer experience.

The pi is great fun, but the HW transcoding on a NUC "just works," and the SSD and 16GB RAM opens a lot of doors. My N100 NUC was less than $150, and it included everything (case, power supply, 500GB SSD).

My pi found new life as an off-site backup: attach a big HDD, set up WireGuard, and have a cronjob do daily rsync and snapshots. I have it set up at in-laws, and it works great.

[–] [email protected] 0 points 1 week ago

Yea I use a 4GB RPi 4 and it handles several services really well, all running in docker: Grimoire Navidrome Traefik Seafile + Collabora integration Gitea Vaultwarden Radicale

It idles just under 2GB most of the time so it's doing well.

[–] [email protected] 0 points 1 week ago

Just make sure the things you want to self host have ARM compatible releases. Rarely I have stumbled on projects that do not have ARM releases.

[–] [email protected] 0 points 1 week ago
[–] [email protected] 0 points 1 week ago (3 children)

Yes. However, hosting things from your home connection will make it difficult for you to visit many websites. Blocklists such as Datadome, Cloudflare, and F5 will give you endless captchas if they detect port 80 or port 443 open.

[–] [email protected] 0 points 1 week ago

Not true for me.

[–] [email protected] 0 points 1 week ago

I have 443 open and don't have any issues with endless captchas or anything you've mentioned.

[–] [email protected] 0 points 1 week ago (1 children)

That...is just not how that works. Where'd you get this idea?

[–] [email protected] 0 points 1 week ago* (last edited 1 week ago) (1 children)

From several years of experiencing it in person. Datadome was the worst and most consistent. It stopped the moment I switched my webserver onto an exotic port number (above 10,000).

Datadome sent me captchas at every domain they firewalled. After correctly solving, I would always be completely blocked:

(not my screenshot)

[–] [email protected] 0 points 1 week ago (1 children)

I can promise you that making HTTP requests to other servers is not triggering a port scan back to you to check what is open. That's kinda crazy.

[–] [email protected] 0 points 1 week ago (1 children)

It seems crazy to me too, but I tested it numerous times. Closing port 80 and 443 stopped the blocks, and re-opening them started the blocks again.

[–] [email protected] 0 points 1 week ago

Were you maybe connected to a VPN when you made these requests? That's way more likely the culprit.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago) (1 children)

You can host whatever it can handle, sure. Your limits are the resources available as with any machine.

[–] [email protected] 0 points 1 week ago (1 children)

tysmm, I was gonna buy one to host a few things on but I needed to be sure before I did

[–] [email protected] 0 points 1 week ago

With the current pi prices, buying a used minipc might be cheaper and give you more resources.