this post was submitted on 23 Jun 2023
14 points (93.8% liked)

Selfhosted

37812 readers
639 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Usually, I'd aim for the cloud environments for public resources (serving more than like 20 people), as the traffic won't be hitting your home network.

Additionally, selfhosting a public service like Lemmy on your home environment probably wouldn't have the same uptime or reliability, as I only have one strong ISP signal, and no backup generator.

However, pricing wise, selfhosting at home is much cheaper for the processing power you get.

top 12 comments
sorted by: hot top controversial new old
[–] 0110010001100010 8 points 1 year ago (1 children)

If I did, I would put it behind something like Cloudflare. I do host a number of lower-traffic WordPress sites from home (<1k hits month). Oddly enough I actually do have backup power so reliability is pretty good.

I would not host anything bandwidth-heavy.

[–] gccalvin 2 points 1 year ago (1 children)

For backup power, you got like a generator for the server, or the whole building?

[–] 0110010001100010 1 points 1 year ago

Whole-house generator. Nat gas fueled 22kw. My server rack has enough battery power to allow the generator to kick in (auto transfer switch).

It wasn't a choice purely for the servers though. I work 100% from home and my wife about 25% and we don't have overly reliable power so it had a lot to do with that too. I can operate just like normal even during an extended power outage.

[–] RonnyZittledong 7 points 1 year ago* (last edited 1 year ago)

I would and do. I have gig fiber which is more than enough for both my home and web service uses. The level of hardware I can bring to bear is far beyond what I could afford in a DC. Sure there are sometimes internet or power problems that you don't usually get in a DC but they are rare and are made up for by me having physical access to my servers when something goes wrong.

Plus it's fun.

[–] [email protected] 4 points 1 year ago

I have a VPS subscription, which I use as a reverse proxy. Most of my services are on a headless computer in my bedroom. The two are connected with wireguard. (I also connect some SBC's to the VPS to host some other services)

Works perfectly, haven't had any connection issue or downtime expect when I manually reboot or service the case.

Currently:

22:26:03 up 230 days

[–] [email protected] 3 points 1 year ago

I do for my personal services.

I'm waiting on the internet to go down one day to see how my personal instance of Lemmy works out offline.

[–] [email protected] 3 points 1 year ago

I avoid it for security reasons. But I have heard using Cloudflare can alleviate some concerns. And it is tempting to host at home because I have significantly more resources and bandwidth than I pay for on my cloud VPS

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Yes, but it's behind a Cloudflare tunnel, in general it just makes my life easier since it hides the real IP and I can filter out bots and crap before it ever gets to my home connection.

It's a peertube instance that I mostly use for uploading game clips for friends, but it's technically public and on the internet.

[–] zazafras 2 points 1 year ago

No, definitely not. I don't want my home network to be in any way accessible to the public. No matter how secure you think your network is.

[–] [email protected] 2 points 1 year ago

I do, though I run a reverse-proxy (homelab dials out to the proxy, ala cloudflare tunnels, no need for home IP to even be in DNS) using frp in a cloud provider. Hosting critical (to me) things in my lab is just motivation to keep it in good shape.

You are certainly right on cost. I could have bought a (used) server a year for the price of my cloud footprint at peak, though my power bill would probably end up out of control.

[–] [email protected] 2 points 1 year ago

I also run a reverse proxy using a cheap VPS. At home I have several vlans some of which are dedicated for self hosting and exposed to the reverse proxy.

I use Caddy for the proxy and wireguard to join my VPS and home network vlans.

My home IP can never be exposed and the VPS provider only sees the wireguard traffic.

[–] [email protected] 1 points 1 year ago

I go back and forth on this because I can get “unlimited” data transfer for $30/mo. But I’m sure my service provider would not be happy if they found out I was hosting a public server. Then again, if it’s just a single user instance, it’s kind of a grey area I would imagine.

Anyway, I do host nextcloud and some other services on my home network, but they are all hidden behind a VPN to limit access.

load more comments
view more: next ›