For most personal projects, hosting on the cloud may be overkill, but tempting with its supposed ease of use and benefits of scale. Self-hosting is often overlooked as a solution with the benefit of simplicity and cost.
Interesting discussion and demonstration of self hosting the kinds of apps most personal projects will end being.
- haui ( @haui_lemmy@lemmy.giftedmc.com ) 18•5 months ago
I selfhost for 2+ years and it is both a job and really cool. We‘re not at real consumer self hosting yet imo but we‘re close.
My setup is around 50 docker containers on two servers. Important (offline) and security conscious stuff at home and fediverse services on a vps.
I‘m currently working on object storage which is a lot of work but its fun and maybe will come in handy too.
You can check my setup on github. Feel free to hit me up if you want to do it too or wanna discuss stuff. You can also see my matrix in my bio.
Have a good one.
- FiniteBanjo ( @FiniteBanjo@lemmy.today ) 3•5 months ago
Nice.
- haui ( @haui_lemmy@lemmy.giftedmc.com ) 2•5 months ago
Thanks
- shastaxc ( @shasta@lemm.ee ) 2•5 months ago
Do you have HA run I’ve been trying to think about how to get my stuff running with SSO. One stumbling block has veen Home Assistant’s apparent lack of support for it. Have to managed to find a solution to this? I’ve been thinking maybe I’ll set it behind a proxy like nginx and enforce SSO at that level instead but I’m not sure if it’ll work.
- haui ( @haui_lemmy@lemmy.giftedmc.com ) 2•5 months ago
I havent bothered yet but it has been a thing I thought about. I have vaultwarden and my logins are two clicks which is nothing compared to the work I had to put in. :D
But yes, I think proxy level auth should work but dont take my word for it.
- Remy Rose ( @MxRemy@lemmy.one ) English14•5 months ago
I would really like to mess around with self-hosting someday, but I live in a residential area and those sort of shenanigans are explicitly banned by my ISP. Is there anything someone in that position can do?
Your ISP bans self hosting? I’ve never heard of that before.
- deegeese ( @deegeese@sopuli.xyz ) 21•5 months ago
It used to be extremely common as a way of forcing people onto more expensive “business” services.
Wow that’s messed up. I guess the only recourse then would be to ask someone or some local business if you could setup the server there for a fee, but at that point just use a cloud service provider and it’s the same experience for about the same cost.
- Remy Rose ( @MxRemy@lemmy.one ) English5•5 months ago
I was afraid that might be the case… Definitely pretty messed up, but with the state of ISPs around here it’s not surprising either. This guide is super awesome though, I’ll use it if I ever get a chance to!
I sure hope so friend! All the best of luck in the meantime!
- Elise ( @xilliah@beehaw.org ) 2•5 months ago
That’s crazy… I once changed to a business plan to get more reliable support and it was actually cheaper.
- Kuvwert ( @Kuvwert@lemm.ee ) 6•5 months ago
My local ISP is the same, no static ip without a business plan.
So I use cloudflare tunnels now and they can pound sand
Edit: tail scale funnels could also be a good option
- Djtecha ( @Djtecha@lemm.ee ) 5•5 months ago
Why do you need a static ip? For a business case I get it. But for most stuff… Dns is there for a reason.
- Kuvwert ( @Kuvwert@lemm.ee ) 2•5 months ago
Because when my IP address changes all my websites stop point to the services. Unless I go and change the A record in my DNS every time that happens, which is frustrating and annoying. Cloud flare tunnels fixed that for me so that no matter what happens my domains are fixed to the local host services in my machine with no port forwarding and no DNS maintenance
- nintendiator ( @nintendiator@feddit.cl ) English3•5 months ago
Because when my IP address changes all my websites stop point to the services
Stuff like no-ip and dyndns exist for that specific usecase.
- Djtecha ( @Djtecha@lemm.ee ) 3•5 months ago
Exactly this. I’ve been using afraid dns for over a decade. Easy to setup and is basically instant.
- Zagorath ( @Zagorath@aussie.zone ) English2•5 months ago
I have a static IP now, but I used to have a script in my cron that would update the IP address my Cloud Flare points to if it needed to. It was super easy.
- Geometrinen_Gepardi ( @Geometrinen_Gepardi@sopuli.xyz ) 3•5 months ago
https://tailscale.com/kb/1223/funnel
Maybe give this a go?
- Remy Rose ( @MxRemy@lemmy.one ) English1•5 months ago
I’ve heard of options to get around the lack of static IP, but will something like this also keep my ISP off my back about hosting? If so I’m onboard!
- Geometrinen_Gepardi ( @Geometrinen_Gepardi@sopuli.xyz ) 2•5 months ago
Given that the domain of the site that you’ve made resolves to a Tailscale relay server IP, I don’t see how the ISP would get alerted. Unless you’re getting huge amounts of ingress traffic to your home IP.
- shastaxc ( @shasta@lemm.ee ) 3•5 months ago
You might wanna read that fine print again. I’m betting they only disallow self hosting for business purposes.
- Elise ( @xilliah@beehaw.org ) 2•5 months ago
What country is that?
- Remy Rose ( @MxRemy@lemmy.one ) English4•5 months ago
Pennsylvania, U.S.A. I hear it’s a fairly common policy here but does vary from provider to provider. As I understand it, most areas in the U.S. have at most 2 ISP companies to choose from, and many only have 1. So they can kinda set whatever BS policies they want.
- Elise ( @xilliah@beehaw.org ) 2•5 months ago
Wtf isn’t that against freedom of expression big time? Didn’t expect the US as you guys are typically really strict on that.
- yeehaw ( @cyberpunk007@lemmy.ca ) 2•5 months ago
I run an opnsense firewall with dynamic DNS to cloudflare. I have owned a domain for decades and I have it point home. Recently I gave up inbound NAT. Now I just use wireguard. It’s performant and my phone automatically kicks it on it I’m off my Wi-Fi network. And I’ve significantly reduced my attack surface.
- ericjmorey ( @ericjmorey@programming.dev ) 12•5 months ago
It’s a shame that he didn’t do a writeup on this. It’s nice to have a video to demo the workflow, but it’s really annoying to go back to the video to get details to try it yourself.
- adr1an ( @anzo@programming.dev ) 4•5 months ago
videogist.co will come handy then
- ericjmorey ( @ericjmorey@programming.dev ) 2•5 months ago
That looks useful. Thanks for the pointer!
Unfortunately, in this case I’m not interested in a summary. I already watched the video and would need to refer back to it for details, not general concepts.
I’ll definitely use that site in the future though.
Edit: looks like it’s not so good for long videos.
- adr1an ( @anzo@programming.dev ) 2•5 months ago
Yeah, AI has limits. Here’s another one stepify.tech
- onlinepersona ( @onlinepersona@programming.dev ) English6•5 months ago
I just want something easy and painless for self-hosting, not wrangling tons of YAML to get an nginx proxy to point to the services I have to manually setup requiring more YAML and more hand-configuration. And then I still have to think about backups, and honeypots, and logs, and and and and.
Of course companies don’t want to have to deal with that shit either. Plus they don’t want to have to host their own datacenter, worry about physical security, or network issues, or setting up physically in another country, and a bunch of other stuff. The cloud is supposed to be easier, but because there are so many customers with so many different usecases, shit becomes complicated.
- FiniteBanjo ( @FiniteBanjo@lemmy.today ) 3•5 months ago
I never liked the cloud from an efficiency and security standpoint. It’s just a physical location somewhere else, which causes problems.