this post was submitted on 13 Jun 2023
140 points (97.3% liked)

Selfhosted

40329 readers
404 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
 

Is there any benefit to host my own instance?

top 50 comments
sorted by: hot top controversial new old
[–] leopardboy@netmonkey.tech 27 points 1 year ago (30 children)

I think it's a matter of personal preference.

I've been running my own Mastodon instance for several months now, and I've enjoyed it. I don't have to rely on someone else, either, which is nice. I'm in control of everything on that instance.

As for Lemmy, I just started my own instance today, and am currently writing you from it. What made me decide to setup my own instance was some performance issues I was seeing with Lemmy.world, although that might have been an UI problem. Anyway, I enjoy doing this stuff, so I'm running my own instance for the sake of doing it.

On the flip side, it's more expensive and time consuming, and I'm the one who has to worry about backing up data, etc. Like I said, though, I enjoy doing it, so it's no big deal.

[–] ipkpjersi@lemmy.one 4 points 1 year ago (5 children)

As someone who likes having control over their data and especially backups, and someone who normally enjoys self-hosting things, I honestly might do it. I'm not sure if I'd want to host a lemmy instance or kbin instance though, since I know they all federate together anyway. I may also end up waiting until the software is more mature too before looking into it.

[–] leopardboy@netmonkey.tech 5 points 1 year ago (1 children)

That's awesome! Running my own social media instances has become a hobby for me.

Having my own Lemmy instance has felt fairly seamless versus using Lemmy.world, but there have been some kinks. For example, when attempting to subscribe to a new community, the server has to pull a bunch of data first. This takes several seconds, but the UI simply says "not found" -- and then after several seconds, the UI updates with the community you want to follow. I figured this out by tailing the logs.

Also, the installation was pretty damn easy, especially when compared to Mastodon.

[–] ipkpjersi@lemmy.one 4 points 1 year ago* (last edited 1 year ago) (8 children)

I'd maybe be interested in trying out self-hosting Mastodon at some point too, good to hear that Lemmy was easy to install though. I'm not too worried since I have quite a bit of Linux experience, I figure it probably won't be too bad to setup whatever social media instances I'm interested in checking out.

load more comments (8 replies)
[–] jcg@halubilo.social 4 points 1 year ago (1 children)

Personally, I went with Lemmy because it seems to be quite a bit further along in it's development. It also doesn't look like kbin's developer is recruiting much outside help, if you look at the repos of the two projects on GitHub/Codeberg, Lemmy has tons of contributions from people while kbin is mostly just the one guy with a few commits here and there. Not to mention that Lemmy's way less of a resource hog because it's written in Rust whereas kbin is implemented in PHP. Also, as far as I know federation is still currently broken on kbin.

load more comments (1 replies)
load more comments (3 replies)
[–] drlecompte@discuss.tchncs.de 4 points 1 year ago (1 children)

I run my own Mastodon instance, but for Lemmy it seemed more logical to join an existing instance that aligned with my interests. I wouldn't be adverse to abandoning my self-hosted Mastodon for a shared instance, but I would prefer a small instance run by and for people I know, rather than one of the huge ones.

[–] leopardboy@netmonkey.tech 6 points 1 year ago (3 children)

What might make you want to ditch your self-hosted Mastodon instance?

With Lemmy, I didn't feel a need to pick any specific instance because I can follow communities from anywhere, and it seems to work pretty well.

One downside I've encountered with my own Lemmy instance is that post and comment history in the communities I follow begins when I started following them on my new instance. New posts and comments are federated my way, going forward, but I don't have the ability to go back and view as much history as one would on lemmy.world or lemmy.ml, for example.

[–] ChaosAD@lemmy.world 4 points 1 year ago (2 children)

I have experienced the same with mastodon and pixelfed.

load more comments (2 replies)
load more comments (2 replies)
[–] dart@lemmy.fmhy.ml 3 points 1 year ago (1 children)

On the flip side, it's more expensive

Can you go into more detail on this?

[–] leopardboy@netmonkey.tech 12 points 1 year ago (7 children)

Sure.

I run my own instance at a cloud provider, and thus have monthly expenses I wouldn't normally incur, if I were using a public instance.

load more comments (7 replies)
load more comments (27 replies)
[–] jeena@jemmy.jeena.net 24 points 1 year ago (3 children)

I feel that speed is the biggest benefit. I was on kbin.social and in the beginning everything was fine, but after a while when they got more and more users it was terrible. Every second click led me to cloudflare sometimes even with the capcha.

On my own instance now since yesterday everything is so fast! I chose lemmy because it's written in Rust and I have the feeling that it will be more resourceful and with less bugs than /kbin because of that ^^

[–] matt@lemmy.koski.co 10 points 1 year ago (2 children)

Yeah, I'm running on an instance of just me and my wife, biggest downside is needing to subscribe to communities before we get content, but its sooo much faster.

[–] jeena@jemmy.jeena.net 8 points 1 year ago (1 children)

I almost think this is a blessing because you don't get so overwhelmed with stuff you don't care about and only see what you're looking for. But yes the UI for it is not very good yet.

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)
[–] Korgen@lemmy.korgen.xyz 24 points 1 year ago (3 children)

I run my own instance, the benefit is privacy and reliability. Everything is controlled on your own server. You also aren’t reliant on someone else running an instance that could go down at any time, either permanently or an outage. Been a problem with Lemmy.ml recently.

[–] StrangeWorrier@lemmy.world 18 points 1 year ago (2 children)

You also aren’t reliant on someone else running an instance that could go down at any time, either permanently or an outage.

You have to worry about it yourself though.

[–] muddybulldog@lemmy.world 17 points 1 year ago (1 children)

A balancing act for sure. I’m torn on the topic. With some much excitement right now but so little history there’s a lot of uncertainty where to “plant your flag”. Part of me wants to setup my own instance simply so I maintain control of my identity should .world suddenly disappear. On the other hand now I have the responsibility of making sure I don’t make myself disappear. The mental debate will continue.

[–] IowaMan@lemmy.world 6 points 1 year ago

I think for now it's so early it doesn't matter all that much. Just have fun! You can make multiple accounts so why not

load more comments (1 replies)
[–] Kyoyeou@lemmy.world 6 points 1 year ago (2 children)

I was asking myself a question, if you comment like you did here Is it saved in the server on which the original post is, or is it saved on your server?

[–] SmugBedBug@lemmy.iswhereits.at 7 points 1 year ago (3 children)

Kind of both. His server has a mirror of the community. When he comments it gets saved on his server and the his server communicates with the original server. In turn the original server also communicates his comment with other federated servers.

load more comments (3 replies)
[–] lucas@lemmy.lucaslower.com 6 points 1 year ago* (last edited 1 year ago)

I believe it is saved first on the instance you're signed up for, then gets pushed around the network using the Activity pub protocol. So it eventually ends up being stored across many instances of it has far enough reach.

[–] jason@sh.itjust.works 4 points 1 year ago (3 children)

How is your RAM/storage usage? I'm interested in setting up my own instance (no communities, just a username that will always be here) but don't want to upgrade my VPS again. I already had to do that spinning up a Mastodon server.

[–] livingcoder@lemmy.austinwadeheller.com 5 points 1 year ago (2 children)

My raspberry pi 4 is using 810mb of RAM and 11gb of file system space.

load more comments (2 replies)
[–] rs5th@lemmy.scottlabs.io 4 points 1 year ago (5 children)

I’m up to about 300MB of disk usage after a day of hosting my own. Curious to see how it grows.

load more comments (5 replies)
load more comments (1 replies)
[–] hllywluis@kleptonix.com 19 points 1 year ago (2 children)

Running my own instance using AWS's free tier for now, though I think I'll keep it after. It makes scaling soo easy and simple if my instance ever takes off. Which I don't know if it ever will lol. The reason why I even created one is to actually use my domain name for something rather than keep paying for a domain that I'll never use for anything.

load more comments (2 replies)
[–] ubergeek77@lemmy.ubergeek77.chat 17 points 1 year ago* (last edited 1 year ago) (3 children)

I did. The benefits as I see them:

  • I can still use Lemmy if the instance I would have used as my "home instance" ever went down.
  • Even if a public instance doesn't go down, all this extra load is making strange bugs surface that I don't encounter (I still have the live refresh bug everyone has, but not this one).
  • I have full control over my account.
  • If I ever want to get to customizing my UI later, I can.
  • Content I create originates on my instance, and I have full control over it. I can't stop other instances from caching what I post publicly, but this still gives me more data governance.
  • I can curate my "All" tab to only show stuff I actually want to see, instead of trying to figure out how to block communities (not sure if that's possible for regular users).
  • I get a custom domain which I think is pretty neat.
[–] Mac@lemmy.world 4 points 1 year ago

Regular users can block communities and instances both.

load more comments (2 replies)
[–] infinitevalence@discuss.online 16 points 1 year ago (2 children)

I was discussing this with other lemmings on matrix and it seems there is not much help if you dont have a community to build on your own instance. Now if you do host for yourself then you can federate with other instances to subscribe and pull from their communities which does reduce the total load on those services but that is about it.

Communities are going to Win/Loose based on personalities and critical mass, and the people hosting those communities will just have to increase their hosting needs.

load more comments (2 replies)
[–] jon@lemmy.tf 14 points 1 year ago* (last edited 1 year ago) (2 children)

From what I've seen and read, server to server traffic is less taxing on instances than client to server. So even if your instance is JUST you, it would be your instance talking to everything else so it would have some net benefit on the federation. But it would take a lot of users self-hosting solo instances for this to help in any noticeable way, I'd think.

There is certainly no downside to running a solo instance, if you're even slightly interested I would say go for it!

[–] Album@lemmy.world 10 points 1 year ago (3 children)

It's only less taxing if it's multiple ppl on an instance.

If every solo user spun up an instance just for themselves there wouldn't be a benefit over all those users just signing up directly to an existing instance.

Eg 5 users on instance b trying to access instance a Is better then 5 users each with their own instance trying to access instance a.

load more comments (3 replies)
[–] andobando@lemmy.world 4 points 1 year ago

I would doubt this. Your server is essentially another client

[–] kring@lemmy.world 11 points 1 year ago (1 children)

If you host your own, do you need to establish federation with all other instances or only with the ones you want to use communities from?

If I only federate with lemmy.world, would I be able to see comments on /c/selfhosted@lemmy.world on my instance made by a user from lemmy.ml?

Would a user that reads /c/selfhosted@lemmy.world on lemmy.ml see my comments, if I only federate with lemmy.world?

[–] jcg@halubilo.social 6 points 1 year ago
  • only the ones that host communities you subscribe to, in fact you can specifically whitelist certain instances
  • yes, comments and posts made from other instances are forwarded on to subscribers
  • yes, for the same reason
[–] idle@158436977.xyz 7 points 1 year ago (6 children)

I did it. So far I've noticed a few things, for example you have to populate/federate the communities yourself, and it can take a long time. It took hours to retrieve and catch up all the lemmy.world posts. I expect it to be an ongoing thing. When you first connect to a community, it downloads the first 20 posts, but all the comments are empty.

The plus side though is it is very fast for me. And nobody can delete my profile.

load more comments (6 replies)
[–] nii236@lemmy.jtmn.dev 7 points 1 year ago (2 children)

I'm selfhosting Lemmy and its SUPER fast. Just think of it more of a personal caching layer than anything else.

load more comments (2 replies)
[–] sinnerdotbin@lemmy.ca 6 points 1 year ago (2 children)

I've been looking to do the same for the many pros I've seen posted here, but maybe someone can give me some clarity on a very big downside to me.

From my understanding most instances are pretty liberal with federating anyone, then blacklisting bad actots or problematic instances. However as adoption grows is there not the potential for larger instances to move towards a whitelist, and possibly move towards only federating with known, established instances or ones with established conditions? Possibly flat out banning personal instances due to moderation overhead?

Perhaps my understanding is incorrect, but seems to me that there could be a big future risk your personal server turns into an island and all of your past engagement is no longer in your control.

load more comments (2 replies)
[–] marsta@beehaw.org 5 points 1 year ago (6 children)

Appreciate if you guys shared some guides on setting it up. I’m not new to selfhosting but tried setting it up and failed with strange errors all day long :(

[–] juni@skein.city 6 points 1 year ago (1 children)

Not sure if you got it sorted or not, but if you were following the docker-compose method documented by the devs, there were a couple hurdles I ran into. The one that may be relevant here is that at some point their docker-compose.yml did not expose the Lemmy backend to the Internet, and so all federation was failing. That said, I checked just now and they seem to have fixed that issue upstream. So you should be able to re-pull their docker-compose.yml and it should work.

[–] marsta@beehaw.org 4 points 1 year ago

I will try that, thank you.

I would suggest joining us on the Lemmy matrix space, particularly the "Lemmy Instance Admin" channel. It's much easier to help in semi-real time.

load more comments (4 replies)
[–] longyap@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

less thing to worries like you dont need an email to use it from single user instance, lemmy now dont have 2nd authentication like totp at the moment and it may have risk to get pawned and leak your email address so yeah it is better to run your own single user instance

I host my own instance, but I like selfhosting as a hobby. I really love having all my account/login stuff on my own hardware and my own backups. If I break something, its just my own stuff that broken, no harm done to any other users. I don't really plan on hosting any of my own communities, just participating in others. I'm an avid seflhoster, and my setup is pretty exotic compared to the vast majority of hosters, but I got the whole thing working perfectly over a day. Much better than when I tried to get mastodon working. More power to more fediverse stuff though.

load more comments
view more: next ›