Curious to know of this would cause federation issues or anything. The instances would be using different domain names but on the same VPS

haui
link
fedilink
English
228M

Matrix, Lemmy, Mastodon, all on the same machine, divided by subdomains. Works flawlessly as far as I can tell.

@loki@lemmy.ml
link
fedilink
English
18M

I hope you don’t mind some questions.

  • what are the specs of the machine?
  • average number of users?
  • which one do you think is most resource intensive
  • which one is time consuming to maintain/upgrade?

I am curious about selfhosting an instance for a community but am afraid federation will consume too much time/resource/money for a side project.

haui
link
fedilink
English
48M

No, I dont. The machine is wayyyy overspecced for these services, 6 cores, 16 GB of ram. What isnt overspecced is is the drive, 100 GB of nvme are fast but not enough for all my projects. I have taken a lot of measures to confine the services but mastodon is pretty much the worst offender afaik. Lemmy is the most intensive ram and cpu hog it has strong spikes every hour. You dont need six cores, two would most likely suffice. I think its a ryzen 5600 but not sure atm.

Average users are one each. A couple of friends have accounts but they dont usually use them. Federations is no big issue, single user instances could definitely be done from home, large instances should def be faster than my upload at least. Moving later is a pain so I‘d plan accordingly.

Maintenance is very hard if you do it manually, which I dont. Automate backups off site so a hack cant get the backups. Dockerize to hell and back, have fail2ban. Updates will break sometimes so make yourself familiar with docker and linux if you arent, otherwise you’re screwed as are your users. I‘d probably start with a solo server, then invite friends (beta testers) and then open to the public. You will also be defederated if you just open up to the public. Legal issues notwithstanding.

I hope this makes sense. Feel free to ask follow up question.

Create a post

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!

  • 1 user online
  • 127 users / day
  • 422 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog