I am thinking about hosting my own Mastodon server from home on a Raspberry Pi (Pi4 8GB)?
- Are there good tutorials out there?
- What’s the annual cost just to host yourself?
I am thinking about hosting my own Mastodon server from home on a Raspberry Pi (Pi4 8GB)?
Check out https://masto.host/ for managed hosting.
You can migrate away from them if you ever want to.
If you self host instead, make sure your server is on its own vlan. Servers are a target for exploitation, and you don’t want the rest of your home devices exposed if your server is compromised.
Note: A Pi probably has the CPU power, but the caching from the server may be more space than an SD card will hold.
SD card is a hard no. Need to cram an NVMe hat on it or an external SSD or HDD. They need diskio and a fair bit of quickly recyclable space.
A VLAN is not a security feature. Be sure that your firewalls and routers are configured properly and kept up to date.
Yeah, this is an important point tbh. Vlans alone don’t add any security if your firewall doesn’t do something to prevent it, as your router will happily forward packets to the next vlan. It should be on a DMZ vlan, meaning traffic is allowed in at the firewall but not to any other internal vlans.
If you allow it. Good routers should block forwarding by default, other than VLAN1 to WAN.