Live data from Hacker News

Self hosting in 2023

grifel.dev

131–140 of 307 posts

Re: Self hosting in 2023

#131

> a cheap UPS to keep it running in case of power outage (which happened once in the past year, so it might be a bit overkill). I don't think this is overkill, I think it's necessary. A UPS is pretty cheap compared to the completely-uncontrollable chance of losing power in the middle of working on something . Sure, there's autosave and most things are relatively recoverable, but this is just such a cheap investment (…

UPSs also have other benefits in power outages as well, once you've shut the computer down. You can use it to keep LED lighting on at night. Charge phones and tablets. Moreover, if your power is out, you might still have 5V on your cable line -- so if you can deliver the 8-9W the modem wants (and likely similar to your router) you can still have your normal internet service.

If you have a beefy enough one (we're talking $200+ UPSs here), you can use it to power a modest refrigerator for a bit, getting temps back down to proper levels to prevent food spoilage if you end up with a long term outage that spans 48-72 hours. Most fridges only pull 120-180W when they run, and depending on the temp and time of year, only run the compressor for 15 to 20 minutes at a time. Plugging the fridge into it once or twice on the 2nd and 3rd day of an outage can save you a TON of grief and food spoilage.

Re: Self hosting in 2023

#132
post #119

One thing to be mindful of is security. The last you want is for your setup to be compromised, be used to send spam/botnets and then getting perma-banned from your ISP. I would argue it's a lot less risky just to put your static site on S3/Github etc.

If you're using a modern web server like nginx, then you have to really do something wrong to get hacked serving static files.

Agree - an up-to-date system running only nginx and fail2ban is likely to be more secure than some vendor's who-knows-what's-on-it image which exposes various "services".

Re: Self hosting in 2023

#133
post #118
post #68

I'm all for self-hosting and run a few services on my LAN, but would never allow HTTP traffic from the internet to enter my network. If you've ever seen a public nginx log, you'll know it constantly gets hit by all kinds of bots and vulnerability scanners. No matter how secure and isolated I make the web server, I just don't want to see that traffic, nor expose my home IP to further scrutiny. It's trivial to host a s…

Random http traffic seems about as harmless as it ever was, if you just host static pages, or your own scripts/software and nothing generic. What's a bit iffy is the privacy aspects. If you host anything that can identify you, your identity is just a HTTP request away for anyone who sees traffic from your IP address. But these concerns can be somewhat mitigated by making the server drop connections unless a known Hos…

> If you host anything that can identify you, your identity is just a HTTP request away for anyone who sees traffic from your IP address.

run it behind Cloudflare

Re: Self hosting in 2023

#136

Self hosting is appealing but I’m worried about exposing my home IP to the world. Is this something to be worried about

You expose your home IP every time you visit a website from a device inside your home.

I think they're talking about opening the router firewall to inbound traffic, as opposed to the standard outbound traffic.

Re: Self hosting in 2023

#137

One thing to be mindful of is security. The last you want is for your setup to be compromised, be used to send spam/botnets and then getting perma-banned from your ISP. I would argue it's a lot less risky just to put your static site on S3/Github etc.

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.

Re: Self hosting in 2023

#138
post #105

Earlier quoted context omitted.

You don't have to have that. Expectations have just increased since 2003.

iOS won't let websockets work without https so I think you can't do things like self-host jitsi meet. Many appliance type devices won't allow adding self-signed certificates either.

To be fair, you couldn't self host jitsi meet in 2003 either

Re: Self hosting in 2023

#139
post #45

I really wish someone could convince me self hosting is worth it but more often than not it just seems like busywork. Do you really need to self host your static website? There is no real privacy gained and probably some security lost. Then you get into hosting more complicated apps, email, etc, and making sure you can access them from anywhere at any time and it just doesn't seem worth it to me.

It can be as difficult or hard as you make it. If you want just nginx serving static files or k3s with multiple services on a tiny cluster is up to you. The benefit for me is that I can be confident that my data is mine. But mainly because it's fun and great for learning. In my experience it's not much harder than navigating the AWS interface, where I often feel very lost. But of course YMMV. > There is no real priva…

What privacy is gained by self hosting a static site rather than using anything else?

Re: Self hosting in 2023

#140

Weird post. If this whole infrastructure is built just to render a static page, I can guarantee that from the point of view of someone reaching it out from Indonesia, then the PageSpeed wouldn't matter. It would be super slow. In fact https://gtmetrix.com/reports/grifel.dev/KDVSwSmr/ shows that render time of your page is 1.8s and TTI is 1.2 sec. Which is 4X times of what PageSpeed shows. I host my blog on CF Pages,…

He mentions that he doesn't see it as a problem for his use-case. "so I’m not on the edge right next to your house, but I guess it’s not a problem."

I don't see why it's a weird post.

Post reply on HN