I’ve never had so much fun self-hosting. A decade or so ago I was hosting things on Linode and running all kinds of servers for myself but with the rise of cloud services, I favored just giving everything to Google. I noticed how popular this community was on Reddit/Lemmy and now it’s my new addiction.

I’m a software engineer and have plenty of experience deploying to AWS/GCP so my head has been buried in the sand with these cloud providers. Now that I’m looking around there are things like NextCloud, Pihole, and Portainer all set up with Cloudflare Zero Trust… I feel like I’m living the dream of having the convenience to deploy my own services with proper authentication and it’s so much fun.

Reviving old hardware to act as local infra is so badass it feels great turning on old machines that were collecting dust. I’m now trying to convince my brother to participate in doing hard-drive swaps on a monthly basis so I have some backup redundancy off-site without needing to back up to the cloud.

Sorry if this feels ranty but I just can’t get over how awesome this is and I feel like a kid again. Cheers to this awesome community!

EDIT: Just also found Fission and OpenFaaS, selfhosted serverless functions, I’m jumping with joy right now!

  • @blackstratA
    link
    English
    5
    edit-2
    1 year ago

    If you want to host things and be accessible from outside your home then I’d start with getting a domain and static IP, point the DNS at your IP, make sure your DNS provider is supported by Let’s Encrypt DNS authentication.

    Then setup nginx as a reverse proxy and get Let’s Encrypt setup with auto renewal. That way you can have secure https connections to your home.

    Then install docker compose, fire up a service and configure nginx to proxy to it

    • Spike
      link
      fedilink
      English
      11 year ago

      I usually cut down on domain/DNS cost by using a free dynamic DNS service called duckdns. It works super well, provides Let’s Encrypt support and sub-sub-domains. (for example your could have https://git.$username.duckdns.org)

      I’ve found as a IT noob that Caddy 2 provides as much “batteries inside” and “boiler-plate free” to support me, because I have no Idea what I’m doing. So I just let caddy handle my encryption and reverse proxy to my actual server.

      I’m an embedded software dev, who only discovers ethernet protocols on a surface level, because we hadn’t need it yet in previous projects, so I’m a bit lost on how to do cloud stuff. So having all these great tools for free for me to try out and connect from outside to my media servers and stuff is awesome!

    • @ramblechat@lemmy.world
      link
      fedilink
      English
      11 year ago

      I’m a tailscale convert - tried nginx and cloudflare and let’s encrypt but was never happy with it. Tailscale is a lot easier IMHO

  • zebus
    link
    fedilink
    31 year ago

    Yea between the enshitificaiton of the internet and how far selfhost software has come it is a great time to selfhost and will just keep getting better.

    Selfhosting, reddit drama, kbin, all this just makes it seem like the internet is having a sort of grassroots, back to basics movement which I’m all for lol.

  • @AusatKeyboardPremi@lemmy.world
    link
    fedilink
    English
    21 year ago

    Saw this post on “All”. Last I checked (sometime in 2019), self-hosting was a fairly involved process.

    Has the process simplified enough for a complete beginner like me to begin self-hosting services on, say, a raspberry pi?

    If yes, can you please point me to a good resource/wiki?

    • zebus
      link
      fedilink
      11 year ago
      1. Follow docker install guide for raspi
      2. Browse awesome-selfhosted and find services that seem interesting to you or ask for recs here.
      3. Follow the projects guide to do a docker install
      4. (Bonus) Setup a reverse proxy like nginx proxy manager so you can access your services with urls
      5. (Bonus) Setup domain and a service such as Tailscale so you can access your services safely from outside your home.
      • Thanks for the steps!

        I remember steps 4 & 5 were the ones that made me drop the idea. It involved a lot of configuration.

        I will take a look once again, hopefully these have become simple enough.

        • zebus
          link
          fedilink
          11 year ago

          Np, I would say dm me if you have any questions but I dunno if you can message between lemmy and kbin haha

      • Kaldo
        link
        fedilink
        01 year ago

        Honestly I’ve never used docker properly and one time I tried for the *arr stack I ran into many issues with access to storage drives and connectivity between different services. Does it actually help with anything on rpi? I thought it’s good enough to just install the rpi OS and then install other services normally on it?

        • zebus
          link
          fedilink
          1
          edit-2
          1 year ago

          Nope, do whatever suits you!

          I would say tho the example you made is one of the infamous cases where docker is more difficult to setup than without due to the file locations of your movies, etc needing to match between dockers. When I set it up I found a really good guide that not only explained how to set it up but they also explained the logic and reason behind the issue.

          https://wiki.servarr.com/docker-guide#consistent-and-well-planned-paths

          Another good guide about the issue:
          https://trash-guides.info/Hardlinks/How-to-setup-for/Docker/

          The reason I’d initially recommend docker to a beginner is it keeps everything clean and organized, it’s easy to undo mistakes while learning, and I feel some apps are easier to setup with docker because they come with the dependencies already installed and configured properly.

    • @dustojnikhummer@lemmy.world
      link
      fedilink
      English
      11 year ago

      Actually, I would argue the simplest way to self host today is TrueCharts.

      The problem is when it breaks, you are SOL because you didn’t build it yourself so you got no clue how it works

  • @palitu@lemmy.perthchat.org
    link
    fedilink
    English
    11 year ago

    And it can get really low effort too.

    I do very little maintenance as I just don’t have time at the moment. Everything just runs.

    I love paperless, immich and meanie as my top apps, with nginx proxy manager dealing with the proxying.

  • cnk
    link
    fedilink
    11 year ago

    Absolutely! I’ve been enjoying it a lot too. Hosting Mastodon, Matrix, kbin, and a couple of game servers now from my basement 🙂

  • @Tired8281@lemmy.world
    link
    fedilink
    English
    01 year ago

    Docker is hurting my progress. I just can’t seem to wrap my head around it. Is there a Docker for Dummies?

    • @Karlmit@lemmy.world
      link
      fedilink
      English
      11 year ago

      I learned the basics of docker by using synology and unraid. They make it really easy setting up docker apps.