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?

  • @anteaters@feddit.de
    link
    fedilink
    English
    102 years ago

    No that’s a homelab. Selfhosted applies to the software that you install and administrate yourself so you have full control over it. If it was about running hardware at home we’d see more posts about hardware.

    • @towerful@programming.dev
      link
      fedilink
      English
      32 years ago

      I would say that a homelab is more about learning, developing, breaking things.
      Running esoteric protocols, strange radio/GPS setups, setting up and tearing down CI/CD pipelines, autoscalers, over-complicated networks and storage arrays.
      Whereas (self)hosting is about maintaining functionality and uptime.
      You could self-host with hardware at home, or on cloud infra. Ultimately it’s running services yourself instead of paying someone else to do it.

      I guess self-hosting is a small step away from earning money (or does earn money). Reliable uptime, regular maintenance etc.

      Homelabbing is just a money sink for fun, learning and experience. Perhaps your homelab turns into self-hosting. Or perhaps part of your self-hosting infra is dedicated to a lab environment.
      Homelab is as much about software as it is about hardware. Trying new filesystems, new OSs, new deployment pipelines, whatever

  • @capy_bara@lemmy.world
    link
    fedilink
    English
    372 years ago

    I’d say there are levels to selfhosting. Hosting your stuff on the cloud is selfhosting, but hosting it on your own hardware is a more “pure” way of doing it imo. Not that it’s better, both have their advantages, but it’s certainly a more committed to the idelal

    • @Auli@lemmy.ca
      link
      fedilink
      English
      42 years ago

      I don’t know what hosting on the VPS should be called but it is definitely not self hosting. Since you are hosting your services on someone else’s servers. Didn’t it used to be called colo or something like that.

      • @PlexSheep@feddit.de
        link
        fedilink
        English
        62 years ago

        I disagree. Selfhosting is not specific to hardware location for me. My own git server is definitely selfhosted, VPN, and so on.

        I agree that having your own hardware at home is a more pure way of doing it, but I’d just call that a Homelab. I personally just combine both.

      • @Buckshot@programming.dev
        link
        fedilink
        English
        102 years ago

        I thought colo was your hardware in someone else’s data center.

        For me though a VPS is still self hosting because you own your applications data and have control over it.

        You’re less beholden to the whims of a company to change the software or cut you off. With appropriate backups you should be able to move to a new cloud provider fairly easily.

      • Natanael
        link
        fedilink
        English
        32 years ago

        Yup, it’s more like self administration or something like that

      • @deur@feddit.nl
        link
        fedilink
        English
        32 years ago

        I’d like to pose the fact that VPSes and Hosted solutions are different as a rebuttle to what you’re saying. It’s pretty unreasonable to gate keep self hosting behind having the hardware running on a device you control.

      • @lemcat@lemmy.world
        link
        fedilink
        English
        42 years ago

        Of course it’s self hosting. The term “self hosting” just means being in control of the service or host yourself, as opposed to that being controlled by a third party.

        It doesn’t mean the hardware has to be in your house. It just so happens that that is the majority preference, because people value privacy, and are often hosting private data.

  • @space@lemmy.dbzer0.com
    link
    fedilink
    English
    412 years ago

    Self hosting basically means you are running the server application yourself. It doesn’t matter if it’s at home, on a cloud service or anywhere else.

    I wouldn’t recommend hosting a social network like lemmy, because you would be legally responsible for all the content served from your servers. That means a lot of moderation work. Also, these types of applications are very demanding in terms of data storage, you end up with an ever growing dataset of posts, pictures etc.

    But self hosting is very interesting and empowering. There are a lot of applications you can self host, from media servers (Plex, Jellyfin), personal cloud (like Google Drive) with NextCloud, blocking ads with pihole, sync servers for various apps like Obsidian, password manager BitWarden etc. You can even make your own website by coding it, or using a CMS platform like WordPress.

    Check the Awesome Self-hosted list on GitHub, has a ton of great stuff.

    And in terms of hardware, any old computer or laptop can be used, just install your favorite server OS (Linux, FreeBSD/OpenBSD, even Windows Server). You can play with virtualization too if you have enough horsepower and memory with ESXI or Proxmox, so you can run multiple severs at once on the same computer.

  • @t0fr@lemmy.ca
    link
    fedilink
    English
    42 years ago

    For me it does. I’m sure some other people use a VPS or something and self host using a cloud provider of some kind.

  • MolochAlter
    link
    fedilink
    English
    182 years ago

    Yep, big ol’ case under my desk with some 20TB of storage space.

    Most of what I host is piracy related 👀

        • Nik282000
          link
          fedilink
          English
          22 years ago

          Whale sounds! Oh man, I’m gonna add that to ELF space radio and rain recordings!

      • MolochAlter
        link
        fedilink
        English
        2
        edit-2
        2 years ago

        There’s about 3.5 TB to go out of an actual 18 in the server.

        I have another 2TB to install but it’s not in yet.

        I’m also transcoding a lot of my media library to x265 to save space.

        I don’t download for the sake of downloading, usually, and i delete stuff if I don’t see value in keeping it.

        • @bender@insaneutopia.com
          link
          fedilink
          English
          22 years ago

          What is a good transcoder? I haven’t ran my media through one. Is the space saving significant? Did you lose video quality?

          • MolochAlter
            link
            fedilink
            English
            2
            edit-2
            2 years ago

            In order:

            FFMPEG, yes, no.

            I refer you to this comment for more info.

            I have seen a saving of 60-80% per file on lower resolutions like 720 or 1080, which makes the server time well worth it.

            A folder of 26 files totaling 61GB went down to 10.5, for example.

  • kingthrillgore
    link
    fedilink
    English
    42 years ago

    I pay Dreamhost for a beef pc VPS, that’s what “selfhosted” means to me. I host all kinds of shit on it.

  • @beeng@discuss.tchncs.de
    link
    fedilink
    English
    -1
    edit-2
    2 years ago

    For me, since you can get kicked off a platform eg hetzner vps, it’s not self hosted, they’re hosting you.

  • @Voroxpete@sh.itjust.works
    link
    fedilink
    English
    312 years ago

    “Self-hosted” means you are in control of the platform. That doesn’t mean you have to own the platform outright, just that you hold the keys.

    Using a VPS to build a Nextcloud server vs using Google Drive is like the difference between leasing a car and taking a taxi. Yes, you don’t technically own the car like you would if you bought it outright, but that difference is mostly academic. The fact is you’re still in the driver’s seat, controlling how everything works. You get to drive where you want to, in your own time, you pick the music, you set the AC, you adjust the seats, and you can store as much stuff in the trunk as you want, for as long as you want.

    As long as you’re the person behind the metaphorical wheel, it’s still self-hosting.

  • @ThorrJo@lemmy.sdf.org
    link
    fedilink
    English
    12 years ago

    I consider selfhosting to be both. VPS or homelab. The latter has more ‘cred’ but is also a much bigger investment and not everyone can do it. Granted I’m living in a difficult environment but as somebody using Linux since 1994 it took me 3 years to recently get a homelab to where I could credibly serve the wider internet from it, and I still use a VPS as reverse proxy anyway! Meanwhile, offloading your physical plant to a mom-n-pop platform-as-a-service provider isn’t the worst thing in the world. Some operators started out selfhosting and grew their little VPS provider from that, those guys need business too!

  • @sparr@lemmy.world
    link
    fedilink
    English
    132 years ago

    Most people who “self host” things are still doing it on a server somewhere outside their home. Could be a VPS, a cloud instance, colocated bare metal, …

  • BrightCandle
    link
    fedilink
    English
    5
    edit-2
    2 years ago

    I do both. I have a custom built NAS based on a Ryzen 3600 and ZFS across 4 drives which runs about 20 self hosted applications and stores the majority of my files but its only accessible from within the home. I also rent a small VPS for personal webspace and hosting self hosted apps I want out of the house.

    In the past I have also hosted raw servers from Hetzner or bigger VPS from Amazon for the purpose of hosting a game server. Alongside those I often had community applications like website, forums, wikis and custom chat and voice comms services.

    Its all self hosting to me since I run it. The various options are all about the trade offs of security, accessibility, cost and performance. The cheaper cloud options when you add it up can be cheap compared to buying and running your own hardware when you take into account electrical costs and the likely hardware replacement needs within 5 years. The big cloud providers aren’t price competitive but Contabo/Hetzner really surprisingly are especially if you pay a lot for electricity. But then if you need a game server it can be quite hard to find good fast CPUs on the cloud and its not going to be 24/7 for communities, so the trade off flips back to having your own.

    Since I got 1 gbit/s fibre internet my need for internal NAS has definitely reduced as the internet is nearly as fast as the local network so I could now have my NAS needs remote.

  • @stown@lemmy.world
    link
    fedilink
    English
    1
    edit-2
    2 years ago

    I ran one for a few months until I woke up one morning and it wasn’t working. As I was the only person using it, I didn’t bother to troubleshoot and just signed up for an account at lemmy.world.

    If you want to run your own I recommend you check out the ansible install route. It’s really simple and straightforward once you wrap your head around ansible.

  • Alvaro
    link
    fedilink
    142 years ago

    There are definitely benefits on running a server at home but you could say the same of a VPS. As long as you control it, it is self hosted in my book.

      • @seshat@lemmy.963.pm
        link
        fedilink
        English
        32 years ago

        It is, if you can host at home and use a cheap vps as proxy is better in my opinion. Like it or not when you host something you will put sensitive info in your vps and ofc you should trust them. Exactly like the vpn providers, they will fight for your rights paying 5 dolars/months? For sure no.

        • Jeena
          link
          fedilink
          English
          42 years ago

          Or your Internet provider, they will also not fight for your rights paying $30 a month.

          • @seshat@lemmy.963.pm
            link
            fedilink
            English
            32 years ago

            My services are not accessible from my wan, i forward all my services to a cheap vps,using a proxy and trafic is encrypted. So i am not worried about my isp also my real ip is hiden. I use something like cloudflare zero trust… but is open source.

        • @ProtecyaTec@lemmy.worldOP
          link
          fedilink
          English
          22 years ago

          I’m less worried aobut sensitive info and more worried about owning the data. I’m looking to avoid a sitaution where I offload all the data to a 3rd party and lose access or pricing get expensive (like a Reddit situation). I’m more worried by offloading the data to a 3rd party I can’t verify that they’re not reselling it. etc.

      • Alvaro
        link
        fedilink
        22 years ago

        @ProtecyaTec@lemmy.world not sure what that means but I guess you can do certain thing in your home server not allowed on a VPS. OTOH, an email server at home for example is much more difficult to achieve because your ISP most likely won’t allow you to open port 25

        • @ProtecyaTec@lemmy.worldOP
          link
          fedilink
          English
          12 years ago

          I was just reading through Lemmy-Ansible Github docs and wasn’t sure if a 3rd party server or a home server was going to be better to run. The documentation doesn’t feel super user-friendly or maybe I’m just not as tech-savvy as I thought.

            • @ProtecyaTec@lemmy.worldOP
              link
              fedilink
              English
              22 years ago

              This may be way of scope for this thread but I’m not sure a better place yet to ask and learn more about how all this works. Say I run my Docker Container from a home PC, how do I make my Lemmy Instance accessible to the public? I’m familiar with web hosting but only from hosting on a simple 3rd party, where you buy a domain.

              • cbAnon0
                link
                fedilink
                English
                4
                edit-2
                2 years ago

                Agree with the VPS in this case. For sure you can create public-facing services in a home server or home lab, but to do so you need:

                1. Domain name hosting.
                2. an Internet Service Provider who will allow you expose port 80/443 web services and on a Static IP (most do not, or paid extra on business plans). OR use a Cloud proxy like CloudFlare which your home IP can be updated through a DynDNS service and served on private ports.
                3. Setup NAT/Port Forwarding on your modem to route incoming requests to internal services. First to a firewall or threat gateway like PFSense, a web proxy like Traefik/NGinX, and security harden and maintain your modem, router, network and served applications.

                If you’re new to these things, Id start with something more mature for personal or family home use first. Like NextCloud, HomeAssistant or Jellyfin media server. Lots of YouTubers have covered how these can be set up as a reference.

                Lemmy is still alpha, full of bugs and security vulnerabilities and needs regular hotfixes and babysitting. Permitting Joe Public into your home services is ripe for disaster unless you have the time and expertise.

                • @PuppyOSAndCoffee@lemmy.ml
                  link
                  fedilink
                  English
                  22 years ago

                  Operating internet-facing services in the home, in my opinion, requires a layer-3 managed switch so that internet traffic is 100% separated from home traffic, w/attendant DMZ to bridge home<-> internet-facing services safely.

                  L3 managed is the simplest method to contain a penetration to just the internet-facing devices (which is still pretty bad). Cloud hosting is more manageable, but you must watch the spend.

                  The biggest issue is a DDoS attack on the home network, which could impact internet-facing services and home clients (streaming TV, gaming, email, etc.).

              • Alvaro
                link
                fedilink
                22 years ago

                @ProtecyaTec@lemmy.world yeah if you want to host something like Lenny you may be able to do it on a home server but in terms of ports blocked, security, etc I guess it is easier to run it in a VPS

      • @PeachMan@lemmy.one
        link
        fedilink
        English
        52 years ago

        Not really, you’re ideally paying for a server that you have complete control of. The differences are mostly just fundamental limitations.

        Example: if you’re hosting off site, you will always be connecting remotely, so your access depends on a network connection. If you’re hosting at home then your stuff is still accessible when your internet goes down