Earlier quoted context omitted.
Honestly a basic VPS is a lot easier to me than running a physical home server. Dirt cheap, never have to worry about power failures, dust, heat, home ISP being shitty, etc.
I do both. I run a home server with several services that are used by me when I'm not home, and by my close friends. I also use a VPS for services intended for the general public.
Self hosting in 2023
241–250 of 307 posts
Re: Self hosting in 2023
#242Earlier quoted context omitted.
My problem is that I have never been able to purchase residential internet that allowed me to open port 443 or port 80.
Why do ISPs do this? Is there a legitimate reason or they just feel that their clients don’t host these services so they might as well block the ports for safety?
Re: Self hosting in 2023
#243Re: Self hosting in 2023
#244If 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…
My problem is that I have never been able to purchase residential internet that allowed me to open port 443 or port 80.
Re: Self hosting in 2023
#245Earlier quoted context omitted.
You don’t get perma-banned from your ISP for getting malware. That’s pure FUD. Far more people (at least 2 orders of magnitude) end up infected with malware and become members of botnets from just clicking dumb shit. They don’t get banned from the ISP either.
I had my cable ISP call me a couple times about a business account a few times. I run my own mail server. A POP3/SMTP account got hacked and started sending out spam. They're very polite, professional, ask you to fix the problem and move on.
Re: Self hosting in 2023
#246Self-hosting is weird. I hear a lot of people say it's so much work, but I put like an hour a month into my server at most. I think it's mostly fine from an administrative standpoint, as mentioned elsewhere, not much has actually changed from 2003. You definitely don't need kubernetes. If anything, I think most of what's changed since then is that there's been a flood of bad sysadmin advice making people believe they…
I don't think people usually complain about it being too much work in a sense that you have to put in several hours a week. People usually even like the initial setup procedure because it's fun. When I was studying self-hosting things was just another hobby. For me it's now more about always having it in the back of my mind that I should do regular updates, make sure the disks are fine and everything is healthy. If s…
I wonder if this might not cause some enthusiasts to go for far more complicated set-ups than they really need, which in turn causes a bit of a hang-over when they have less time for the "hobby".
> There's just so many other things to worry about or work on that I don't want to also add time to make sure my email server is running.
I'd argue that of all the things you could self-host, email is probably among the ones where the juice is least worthy of the squeeze. It legitimately is a constant pain in the ass from set-up to the daily operations.
Re: Self hosting in 2023
#247Earlier quoted context omitted.
This. I have anywhere access to 5 machines, way more storage than I need, and 100% control of everything that goes on in the network.
For someone who knows nothing about self-hosting, where should I start? I'm a self-taught junior dev but haven't had a chance to dabble with any aspect of deployment yet... willing to learn though.
Re: Self hosting in 2023
#248Re: Self hosting in 2023
#249Earlier quoted context omitted.
> You can self-host the latter and delegate the former to a company specialized in it. But what would you gain from it ? You gain no privacy, no improvement of service, no added resilience (probably less). All you gain is additional work maintaining your services. > so you need to setup off-site backups yourself either way You will always need backups regardless if self hosting or cloud hosting it, but by not opening…
> You gain no privacy You do: 1. You don't reply to many incoming emails, so they would never be seen by the MTA 2. Even when replying, you don't necessarily include the whole original email in your response (though that's only a very minor improvement) 3. MTAs normally don't store emails, and it would be expensive for them to do so as you aren't paying them for storage. This protects your past and present emails fro…
Every email has a sender and a receiver, and if either of those parties are on cloud hosted email, your email will be seen by an MTA, and you can bet your life that Google/Microsoft/whatever will snatch your recipient email and catalog it.
As i said, if you want privacy use something else, like Signal for instance, or use encryption, in which case it doesn't matter where you store your emails as any information you expose is already exposed by the protocol itself (sender/recipient/topic/date/source ip/destination ip/etc).
> MTAs normally don't store emails, and it would be expensive for them to do so as you aren't paying them for storage. This protects your past and present emails from the MTA turning evil (or being hacked) in the future.
So do backups, but with much lower maintenance, and more security/resilience, simply by being "offline".
> Even consumer-grade routers support DMZs. With the right instructions, it's possible to only open the firewall to the server and keep it out of the home network.
Ask your friends what a DMZ is. I'm certain that most people on HN will know what it is, and a large share will probably also know how to set it up, but then the issues with hairpin nat, name resolution, and other stuff starts cropping up, which is where some people just give up and instead expose it from the LAN so that they may access it from home as well.
Expand the scope to also include VLANs and you have an even smaller group.
Next up is that many people will happily use the same server for exposing services to the internet as well as internal stuff, so now you're just one CVE away from having everything on your server encrypted/deleted/leaked. You can partially mitigate that by using jails/containers, but thats another layer you need to familiarize yourself with, with the risk of once again getting it wrong.
Most people would be much better off just setting up a VPN and using that to access their home network, and letting professionals worry about securing services.
Edit: I should add that i'm not against people setting up servers at home for experimenting/learning, it's only when they expose those services to the internet it bothers me.
There is certainly value in experimenting with stuff in a homelab, but when there are so many free servies available that does stuff better than almost any reasonable homelab can hope to, there is very little point in accepting the additional risk.
In the case of a "static webpage" use case, you can publish that for free with GitHub, or you can chose to expose it from home, opening up your firewall, as well as ports to your server. Congratulations, you're now a network and system administrator, as well as responsible for maintaining SSL/TLS certificates, ensuring uptime (if the webpage has value, otherwise why bother publishing it in the first place).
In the "free" package you get resilient infrastructure with redundancy on every level (power/internet, hardware, software, services), you get a professional staff that babysits services, and you don't have to worry about anything expect creating the content you want to publish.
Re: Self hosting in 2023
#250> Similarly, the bare metal solution consisting of nginx with manual Let’s Encrypt cert setup was too much of a hassle. It's not a hassle. Setup once and then forget about it. It's dead simple, easy and there's a million tutorials on it online. But it's boring (this is where I'm going to old-man-ramble about things, so better stop reading now). Imo, that's why we have so much bloat, complexity and overkill use of con…
Honestly I thought only friends and family would read it and I didn't spend enough time polishing the nuances in the writing. I didn't expect it to blow up so much :D.
But going back to the point I fully understand your frustration about the overcomplicated approach. Though for my defense I'm planning on hosting many more apps using this setup. In fact I already am but didn't want to overcomplicate the post.
I left it for part 2. Subscribe RSS for followup xD. I feel like a YouTuber after saying that.