this post was submitted on 03 Jul 2023
30 points (100.0% liked)

Fediverse

28736 readers
390 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

I want to self host my own lemmy instance for personal use. I have seen there Github page and it is really easy to set up but I have some questions?

  1. How will I be able to federate with other instances?
  2. Will I be able to interact with communities from other instances?
  3. What type of hardware will be required to self host?
  4. And finally is it worth to run our own instance?
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 2 years ago

1: If you have it public facing with a valid SSL certificate for the domain it's hosted at then it should work fine.

2: Yes, I have no actual communities on my own box but here I am :)

3: I'd say the biggest thing is storage for attachments if it's the only thing running on the box. Mine is set to offload all the attachments to a separate storage box, but if the mastodon instance is any indication it could balloon to a pretty large storage amount over time.

4: It's relatively easy and you have all the powers of an admin to shape your experience to be what you want. There's the responsibility to deal with moderation and maintenance, but if you're the only one using it then there's nobody to be upset if it goes down for a bit here and there.

[–] [email protected] 9 points 2 years ago

It should federate automatically as long as you have it enabled. You won't see anything in all until at least one person on your instance subscribes to communities.

I used this script: https://github.com/ubergeek77/Lemmy-Easy-Deploy

I have mine running on a $6 vps from vultr, it doesn't really need much power if you're not hosting a lot of users and communities.

[–] [email protected] 4 points 2 years ago* (last edited 2 years ago) (1 children)
  1. Yes.
  2. Yes.
  3. You can do it quite cheaply. It is feasible to run on a ~$5/mo VPS (Vultr, Linode, DigitalOcean, Scaleway, etc) if you are willing to suffer potential downtime if things go wrong on that one machine. Eventually you might run out of image storage, but that can offloaded to any object storage provider such as those offered by the cloud hosts I listed or ones run by e.g. AWS (S3), Wasabi, Cloudflare (R2), etc.
  4. If you know nothing about servers, linux, docker, postgres, reverse proxies, netwroking, http, etc. then it may not be worth it to you. I like the idea of having complete control over what servers I federate with. I like the idea of having a built-in archive of everything I read and write on Lemmy. Running an instance is of minimal cost to me because I already run software (including postgres, the database Lemmy uses as well as my own email server) for myself so it is low impact to add just one more service. Ultimately there are so many variables that you have to decide it for yourself.

If you want some general advice on how to set things up or certain things you need to make sure are done right so your instance works feel free to reach out. If you want to check out a smaller instance (I am the only regular user, but have a few friends that use my instance from time to time) feel free to sign up for mine to see what it might be like.

[–] [email protected] 2 points 2 years ago (1 children)

You can launch a free 4 core VPS in the Oracle cloud with 24GB of memory

[–] [email protected] 3 points 2 years ago

I mean, lots of providers have free trials (including some of the ones I mentioned), that 4Cx24G instance will cost like $100/mo (which is pretty competitive TBF) and you get a $300 credit for signing up... Oracle's actual free tier is 2 VMs with 1/8Cx1GB each (which is pretty neat).

Also, I would just never consider Oracle for cloud hosting or anything else, because fuck Oracle. They're worse than IBM. Larry Ellison is a lawnmower.

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

I found the ansible playbook route described at join-lemmy.org to be very easy to install on a VPS. The benefit of a VPS is much simpler setup than running a home server, networking-wise. Plus it’s special purpose, so no need to worry about interfering with other things as you would on a multi purpose server.

I use mine as basically a personal blog that I have a bit more control over. I’ve subscribed to just a few communities on other instances to keep resource use modest.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)
  • There is option in the admin panel with whom to federate and whom to block.
  • Yes, just like I do now.
  • Depends on the size, it can very well run on 1CPU 1Mem
  • Single instance of the above size does not go over 5$, so for me it's worth.
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)
  1. You can subscribe to any community or add the instance to the Allowed Instances
  2. Yes you can search the communities through your search e.g. [email protected] an subscribe to it
  3. My Instance is running on Hetzner I am using the CX21 (2 Cores, 4GB RAM, 40GB Disk Space) and its running really good (Its just me on this instance for now)
  4. definitely yes 😁