Live data from Hacker News

Raspberry Pi as a local server for self hosting applications

cri.dev

171–180 of 321 posts

Re: Raspberry Pi as a local server for self hosting applications

#171
post #62

Earlier quoted context omitted.

I’m using a 3$ VPS (hetzner) as a VPN server and access my local servers that way. You also get a regular VPN for free that way and setup is trivial if you use wireguard.

I use a $15/year vps for this. Acts as a bastion to all the servers I connect to.

Could you say where you got that? I haven't seen many servers in the "dirt cheap and really tiny" space.

Re: Raspberry Pi as a local server for self hosting applications

#172

The hardware is there (RPi + USB storage). The server software is there (NextCloud, Plex, n8n, etc). What isn't there is the plumbing. The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. There are lots of…

I've got IPv6 from my ISP - I gave my pi a static v6 IP, set up cloudflare and told it that v6 IP, and cloudflare handles making it available to the v4 internet. Has worked pretty well so far, just for tinkering stuff, nothing 'production'.

Re: Raspberry Pi as a local server for self hosting applications

#173
post #148
post #123

Earlier quoted context omitted.

For me its not the 30$ pc that has issues but the 10$ microsd card the os is on. I had to replace it for the third time in about 6 years now. But this is not something new of course, everybody will tell you to either use good uSD cards or put the os somewhere else, like an external hdd or so.

It's possible to boot from USB with the Pi4, I wouldn't run anything important from the MicroSD.

A common setup is to pull the OS over the LAN and just use usb storage for all your actual stuff. Skip the sd card entirely except maybe as an OS fallback.

Re: Raspberry Pi as a local server for self hosting applications

#174
post #45

I'm using my old Thinkpad T510 as a home server. It's been running for 7+ years already. I only need to dust the vents once in a while. It has PiHole, Nextcloud, my humble little Netflix clone, and a few other things. If you use ffmpeg a lot, you ought to have more power than the RPi offers. I often SSH into it to use it as a SOCKS proxy in other countries.

Yep, older laptops make perfect home servers/routers. Built in "KVM switch", built-in UPS, low power/noise, etc.

Before I switched to Ubiquiti I ran pfsense on a VM on my old 410s for many years, among other virtual machines for home lab use.

Re: Raspberry Pi as a local server for self hosting applications

#175

The hardware is there (RPi + USB storage). The server software is there (NextCloud, Plex, n8n, etc). What isn't there is the plumbing. The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. There are lots of…

Check out KubeSail! Not affiliated in anyway. They make it super easy to do the plumbing, networking and have a kubernetes cluster on a raspberry pi. If you ever wanted to learn k8s without spending $80\month on a cluster, best way to learn it!

Thanks for the shout-out! I wanted to post "we do exactly this!" but didn't want to be an advertisement, so I appreciate it :P (co-founder of KubeSail, if anyone has any questions!)

Re: Raspberry Pi as a local server for self hosting applications

#177

Earlier quoted context omitted.

Or just setup Tailscale, which takes about two minutes.

Tailscale runs on WireGuard and therefore requires elevated permissions on each client device. That shouldn't be required for simply proxying a local port. Does Tailscale offer domain registration and TLS certs? Also, is there any way to allow public access to certain ports on certain machines, ie if you wanted to run your personal blog on your RPi?

I think there is a userspace version written in Go that shouldn't need root access.

Re: Raspberry Pi as a local server for self hosting applications

#178

The hardware is there (RPi + USB storage). The server software is there (NextCloud, Plex, n8n, etc). What isn't there is the plumbing. The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. There are lots of…

https://cloudron.io can do most of this minus the hole punching . The port forward ing is very router specific. I think maybe there is some upnp interface for this but not sure how widely it is supported.

Re: Raspberry Pi as a local server for self hosting applications

#179

I have tinkered with RPI a lot in my previous life, I used to maintain the Qt eglfs QPA plugin. Back then, they were quite under powered CPU wise. Are the recent versions powerful enough to host websites and data for every day use? Like say, is it powerful to host a website, couple of blogs, a nextcloud/syncthing instance and say Emby/Jellyfin/Plex? Most importantly, I want to hear about setups that people are using…

Using Emby actively right now and it’s working like a charm! Nextcloud will probably be my next experiment

Does hardware transcoding work?

Re: Raspberry Pi as a local server for self hosting applications

#180
This is probably way better achieved by a $5/mo VPS.

Benefits:

- way faster

- always on (presumably battery backed)

- you're not responsible for disk or hw failures

- better internet (faster, redundant connections)

- cheaper ($60/year vs $100 upfront)

- not fighting architecture differences

- comes with a public v4 address

- usually comes with a v6 address too

Downsides:

- data isn't under your control and is subject to military espionage

- your internet connection to move larger files to/from the remote device may not be great

Post reply on HN