3 ms·
In a lot of these discussions the point gets raised about the work to maintain a self-hosted server. When i've done it I install the os (usually ubuntu server),
by chasd00 2y ago
In a lot of these discussions the point gets raised about the work to maintain a self-hosted server. When i've done it I install the os (usually ubuntu server), turn off unused services, setup the firewall to only allow required ports, and then it just sort of sits there and does its thing. Uptimes have been measured in years in some cases and the server just sits there happily serving whatever html and connecting to whatever db forever.
- pixl97 2y agoI mean, typically hosting a static site that's fine, but with the number of exploits these days and the ability for people to chain them together, maybe you don't even realize your box has been exploited? Uptimes in years means your box, especially without updates has something it could be targeted with.
- graemep 2y agoMost of those that are find for a static site but not dynamic are those that are not fixed by just applying updates from the distro. You still need to update your app code even if you are using someone elses servers, so its the same either way.
- pixl97 2y agoNote that the parent said "uptimes measured in years", so they are either using a more complex system with multiple servers, or they are not doing security updates.
- graemep 2y agoI agree I would not endorse uptimes measures in years, which means not doing kernel updates - but OP does qualify that with "in some cases".
- josephcsible 2y agoDo you enable unattended upgrades and kernel live patching? If not, then that doesn't seem secure.
- cutler 2y ago`dnf upgrade` or `apt update && apt upgrade` once a month isn't so much work. If either includes a kernel upgrade then it's `reboot now` and I'm done.
- josephcsible 2y agoBut if you're doing that, it's not just sitting there, and you'd never get anywhere close to years of uptime.
- poincaredisk 2y agoI'm most cases people stress uptime too much. Developers worry about downtime during restarts and overcomplicate everything because of it. Meanwhile, my national railway reservation system has an hour of planned downtime daily and life carries on.