3

Is there any benefit to host my own instance?

top 34 comments
sorted by: hot top controversial new old
[-] Korgen@lemmy.korgen.xyz 2 points 1 year ago

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.

[-] Kyoyeou@lemmy.world 0 points 1 year ago

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 0 points 1 year ago

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.

[-] pzza@lemmy.world 1 points 1 year ago

If data is migrated from server to server, as the community grows in size, the data to be maintained on each server also grows in size? Also i've seen some servers allow the creation of new users/communities, but some don't... whats the point of that if the data is just replicated anyway?

[-] jason@sh.itjust.works 0 points 1 year ago

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.

[-] rs5th@lemmy.scottlabs.io 1 points 1 year ago

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

[-] ubergeek77@lemmy.ubergeek77.chat 1 points 1 year ago* (last edited 1 year ago)

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.
[-] jon@lemmy.tf 1 points 1 year ago* (last edited 1 year ago)

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!

[-] kring@lemmy.world 1 points 1 year ago

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?

[-] longyap@lemmy.world 1 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

[-] johannes@lemmy.jhjacobs.nl 1 points 1 year ago

For me the benefit is uniformity (not sure if thats a word) i can have a matrix account, a mastodon account, a lemmy account, all sorts of fediverse accounts all under my own domain.

This comes next to the already mentioned benefits ofcourse :)

[-] leopardboy@netmonkey.tech 0 points 1 year ago

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.

[-] drlecompte@discuss.tchncs.de 0 points 1 year ago

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 1 points 1 year ago

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.

[-] ipkpjersi@lemmy.one 0 points 1 year ago

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 0 points 1 year ago

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 0 points 1 year ago* (last edited 1 year ago)

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.

[-] leopardboy@netmonkey.tech 0 points 1 year ago

Yeah, if you've got a decent amount of Linux experience, I don't think you'll have any issues. Mastodon's installation is well-documented and works. My only criticism is that it's a bit long and you have to be careful not to miss anything.

On the other hand, I recall installing Pixelfed back several months ago and having a difficult time. The documentation was lacking, and it required me to use Arch Linux, which I had never used. I was able to get it working, but eventually terminated the instance after a while because I was never using it.

[-] ipkpjersi@lemmy.one 1 points 1 year ago

Oof, yeah, requiring someone to use Arch definitely seems like a steep requirement lol

[-] JCreazy@midwest.social 0 points 1 year ago

Can you tell me a bit about the process you went through to create your own instance? I'd like to make one myself.

[-] leopardboy@netmonkey.tech 0 points 1 year ago

You're talking about Lemmy, right?

I provisioned an Ubuntu 22.02 server at Linode. I chose their 2 GB Shared CPU instance type. Once I configured the server to my liking, I ran through the Lemmy-Ansible instructions. (They have other methods, so check the documentation.)

Essentially, you install Ansible on your workstation. I'm on macOS and installed it via Homebrew. You then download their git repository, create the necessary configuration files, and then have Ansible configure the server. It was fairly simple.

[-] JCreazy@midwest.social 0 points 1 year ago

I may go that route. I was wanting to host my own server but I feel like it would be easier to just use a cloud server

[-] UselesslyBrisk@infosec.pub 0 points 1 year ago

I have a lab at home and do host some stuff for myself from there in a small DMZ (ie: Miniflux RSS readers, Plex through Reverse proxy etc).

But I used a linode for my lemmy/kbin stuff. Reason being is that the code is fairly new and there may be exploits bugs and

  1. I dont want to deal with my ISP made an instance is exploited and becomes some type of C2 box or spews out spam. Kbin specifically already has PRs to fix XSS and Sql injection stuff, the former of which is usually avoidable if you just follow some pretty basic principles. So its a concern.

  2. Linode has better bandwidth than my non-symmetrical ISP uplink and is on its own quota.

[-] JCreazy@midwest.social 1 points 1 year ago

It sounds like linode is the way to go then and their prices seem reasonable. The funny thing is I've heard of linode before because Computer Clan uses it as a sponsor, but ever since I started using sponsor block I haven't really heard about it. I didn't actually know what they did.

[-] UselesslyBrisk@infosec.pub 0 points 1 year ago

I’ve run linodes for years. My blog runs on them. I still host a variety of other services on them. They are good for everything from gaming servers to a blog etc.

They did get bought out by akamai a while back. And have raised their prices but they are still solid.

Nanodes are awesome deals frankly.

[-] JCreazy@midwest.social 0 points 1 year ago

Is the 2GB the one you use for your Lemmy server? I'm getting ready to purchase one to see if I can figure it out.

[-] UselesslyBrisk@infosec.pub 0 points 1 year ago* (last edited 1 year ago)

Im currently on the 4GB dedicated. However heres an htop of it.

https://imgur.com/a/NpEsw4t

I am currently the only user. Im considering opening it up to limited users but not really having communities once i get a lot of the instances cached and indexable.

Others like @leopardboy@netmonkey.tech are running on a 2GB shared just fine. I will likely move to that if i choose to keep it solo for sure, or under 100 users and no communities.

I dont have the time to really moderate others or content on the instance. So i dont think I plan to host any communities at all. I do wish you could federate/sync specific communities to your instance to make searching/subscribing easier.

[-] leopardboy@netmonkey.tech 1 points 1 year ago

I do wish you could federate/sync specific communities to your instance to make searching/subscribing easier.

You mean something that populates your server with a history of posts and comments to communities before your subscribe to them?

[-] JCreazy@midwest.social 0 points 1 year ago

That's exactly what I'm wanting to do. Just have myself and maybe a few others with limited communities. Would you recommend using ansible to setup a Lemmy on Linode?

[-] UselesslyBrisk@infosec.pub 0 points 1 year ago* (last edited 1 year ago)

Yes the ansible config worked fine for me. I worked for days to get an kbin instance up. Ansible worked first go.

I have yet to get email working but otherwise its solid. Linode will block email btw if you account is new (and frankly may be blocking mine now). You just have to put in a case and justify and it should be fine. My account should be old enough to be exempt but I will likely do it anyhow. Their support is pretty good.

Getting federation crawled and communities added is a bit slow. Mostly because the other instances are a bit slow.

A few pointers if you havent done admin yet.

  1. Put nothing in the federation allow list unless you want to go whitelist only. Over time as other instances hit yours and you search others, the linked list of instances will grow. Just use the blocklist if you want to block certain instances. I havent found a good way to block the growing number of instances in case they have some illegal content like CSAM. So...i may just go whitelist anyhow

  2. Searching for instances seems to be CPU heavy on mine. Its not a problem though. You just cant simply plug in a URL of a community in another instance if you havent linked. You will get a 404 if you do. So you have to go to search, looking for that community by hitting search a few times until it shows up, then you can join and it will start crawling

  3. I have no idea what "Private instance" does other than i believe it will keep your instance form starting in the future if you have it checked AND federation turned on. I saw some logs in dockers startup when i did it but nothing in the UI.,

[-] JCreazy@midwest.social 1 points 1 year ago

Thank you for the information. I've signed up for a 2GB shared linode and it's running Debian 11. I assume I need to ssh into it, then run the ansible stuff. I have very basic knowledge of Linux and command line. I am not entirely sure how to fill out the config but I will cross that bridge when I come to it.

[-] idle@158436977.xyz 0 points 1 year ago

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.

[-] jason@sh.itjust.works 1 points 1 year ago

Do the comments ever load reliably? For me that would be a dealbreaker...

[-] jcb2016@lemmy.world 1 points 1 year ago

You gotta remember, The blackout brought us refugees I don't think lemmy planned for this. I think the updates that are coming will address all of this. Reddit is decades old. Lemmy is new to all of us. We just gotta wait and eventually it will become second nature and we will be as good as Reddit

this post was submitted on 13 Jun 2023
3 points (100.0% liked)

Selfhosted

39206 readers
322 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