Does anybody know how you’d do this if your ISP uses carrier grade NAT? (Eg mobile dongle). My limited understanding is that with CGNAT there isn’t a unique public IP that points to you, (even if only temporarily). So presumably DDNS is out? I guess IPv6 could/would solve this one day?
Self hosting in 2023
61–70 of 307 posts
Re: Self hosting in 2023
#62If you don't need all that cloud operations/deployment infrastructure, self hosting a website from home in 2023 is as easy as it was in 2003. Get a DDNS, do the NAT port forwarding, run some apache/nginx/whatever and push your files with sftp or similar to the server. In contrast to 2003, upstreams got better -- even Germany has average upstream speeds of 20mbit/second nowadays [1]. With 20mbit/sec you can do quite s…
> self hosting a website from home in 2023 is as easy as it was in 2003. Get a DDNS, do the NAT port forwarding Did they have CGNAT in 2003? Because that breaks everything.
Of course, IPv6 is its own can of worms, but (cross my fingers) it's working for me.
Re: Self hosting in 2023
#63> if you want to Dockerize it, then Docker related stuff is required i.e. Kubernetes Yeah... I'm not surprised the author gave up on it, but you absolutely do not need to use k8s if you're dockerizing something like a blog. I'm a little baffled at this sentiment.
Yeah. Maybe I phrased it badly but I meant like more complicated apps than a blog :D
Re: Self hosting in 2023
#64I'm still not convinced that self hosting is cheaper though. Where I live, both the electric grid and Fibre connections are unreliable, and the ISP charges about $3/month for a static IP. Assuming 2.5W for a RPi, it takes 1.8kWh a month, costing around $0.25 for electricity. This also has the downside of using residential IPs, having to deal with CGNAT/NAT if the ISP has no static IPs, exposing your home IP, slow dis…
Re: Self hosting in 2023
#65Earlier quoted context omitted.
I have a 32 GB SD card it's running on it no problem. It currently takes like 4 GB (it can store previous docker images for speeding up builds and allowing auto rollback).
Thanks! That sounds much more reasonable. I wonder why they put 30 GB as the "Minimum required resources"...
Stories like these just go to show me how much fat there is in Tech. The sector is in for a sharp reality check. You don't need 10s of gigs of RAM and 20 cores to host your blog or small business e-commerce site. But if you use the latest bullshit framework then maybe you do...
Re: Self hosting in 2023
#66I'd never heard of Coolify, but it looks like what I've been searching for, i.e. an all-in-one solution for hosting stuff on a VPS (or Pi). But the docs [1] say it requires a minimum of 30 GB of disk space. Does anyone know if that is accurate? What could possibly be taking up that 30 GB if all I want to do is host a static site and maybe Deno or Node? I'm fairly certain I set something similar up in the past on a mu…
Re: Self hosting in 2023
#67Self hosting is really cool. However when it comes to static hosting, apart than keeping your data at home and having fun setting up servers, I don't really see the point when there's so many free good options. I use CloudFlare Pages for my blog, their integration with GitHub is flawless and you get to host your website at edge for free. When I need to host dynamic content, another good option is CloudFlare Tunnels (…
Re: Self hosting in 2023
#68It's trivial to host a static site on someone else's infrastructure for very cheap or free, and you get to benefit from CDNs if you need it. I don't see what you would gain from doing this from your home network.
Re: Self hosting in 2023
#69I'd never heard of Coolify, but it looks like what I've been searching for, i.e. an all-in-one solution for hosting stuff on a VPS (or Pi). But the docs [1] say it requires a minimum of 30 GB of disk space. Does anyone know if that is accurate? What could possibly be taking up that 30 GB if all I want to do is host a static site and maybe Deno or Node? I'm fairly certain I set something similar up in the past on a mu…
If you don't need/want a UI then Dokku is another option. It is more mature with things like built-in backups for the database. I've been a happy user for many years now. Coolify seems nice as well though. https://dokku.com/
Re: Self hosting in 2023
#70The blog that you are currently reading has a perfect PageSpeed score 100 / 100. Unfortunately, no it doesn't. The page that has this blog post scored 95 in performance for mobile in one run and 86 in the next. It scored 91 for desktop. They'd get a higher score by adding text compression and by serving static assets (all of them?) with an efficient cache policy.