I’m trying to better understand hosting a Lemmy Instance. Lurking discussions it seems like some people are hosting from the Cloud or VPS. My understanding is that it’s better to futureproof by running your own home server so that you have the data and the top most control of hardware, software etc. My understanding is that by hosting an instance via Cloud or VPS you are offloading the data / information to a 3rd party.

Are people actually running their own actual self-hosted servers from home? Do you have any recommended guides on running a Lemmy Instance?

  • Nix@merv.news
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 year ago

    How do you install security updates etc without restarting?

    Linux servers prompt you do restart after certain updates do you just not restart?

    • VonReposti@feddit.dk
      link
      fedilink
      English
      arrow-up
      16
      ·
      1 year ago

      Enterprise distributuions can hot-swap kernels, making it unnecessary to reboot in order to make system updates.

      • Pringles@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Microsoft needs to get its shit together because reboots were a huge point of contention when I was setting up automated patching at my company.

    • poVoq@slrpnk.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      You can just restart… with modern SSDs it takes less than a minute. No one is ging to have a problem with 1 minute downtime per month or so.

    • Avid Amoeba@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      The right way ™ is to have the application deployed with high availability. That is every component should have more than one server serving it. Then you can take them offline for a reboot sequentially so that there’s always a live one serving users.

      This is taken to an extreme in cloud best practices where we don’t even update any servers. We update the versions of the packages we want in some source code file. From that we build a new OS image contains the updated things along with the application that the server will run and it’s ready to boot. Then in some sequence we kill server VMs running the old image and create news ones running the new. Finally the old VMs are deleted.

    • NeoNachtwaechter@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      install security updates etc without restarting?

      Actually I am lazy with updates on the “bare metal” debian/proxmox. It does nothing else than host several vm’s. Even the hard disks belong to a vm that provides all the file shares.