I am thinking about hosting my own Mastodon server from home on a Raspberry Pi (Pi4 8GB)?

  1. Are there good tutorials out there?
  2. What’s the annual cost just to host yourself?

@linux @nixCraft @raspberrypi

  • Zachariah@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    11 months ago

    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.

    • linearchaos@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 months ago

      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.

    • 4am@lemm.ee
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      11 months ago

      A VLAN is not a security feature. Be sure that your firewalls and routers are configured properly and kept up to date.

      • andrew@lemmy.stuart.fun
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        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.

        • dan@upvote.au
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          11 months ago

          as your router will happily forward packets to the next vlan.

          If you allow it. Good routers should block forwarding by default, other than VLAN1 to WAN.