Can I rent an 8 core 16gb vps and then put friendica, mbin, mastodon, and lemmy on it? Can I somehow use the same site to login to all of them or would it be like m.site, l.site, etc.

I use a hypervisor? enhance.com rnow to control my wordpress sites, can I still monitor/backup the servers with enhance while manually setting up fediverse instances? I could setup roles like nginx, mariadb, through it and when I do that it lets me easily setup, backup, and migrate websites to different servers I lose this functionality if I dont set up those roles through the panel. So I was wondering if I can set up those roles and then just setup the websites manually through ssh following the guides. Do they all use nginx other than friendica?

Interested in friendica, mbin, lemmy, mastodon, and peertube (going to rent another server and more storage eventually if I do that

  • Justin@lemmy.jlh.name
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    8 days ago

    I would recommend installing k3s and cnpg on the VPS. These will make it easier to run the various containers and databases you will need to run lemmy, etc. This is the standard way that big companies run servers in 2025, and it’s 100% portable to any server/hosting company just through copying and pasting the yaml files (like docker compose).

    https://docs.k3s.io/quick-start

    https://cloudnative-pg.io/documentation/1.25/quickstart/

    Make sure you save backups of your VPS, and use object storage to backup your databases.

    I have example kubernetes configuration for lemmy on my Git. It doesn’t use any volumes/local-storage, all user data is saved into either the database or object storage, to make it cheap and easy to backup.

    I’m a professional DevOps engineer, so I work with hosting every day. Let me know if you have any questions or want advice.

  • mesamune@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    8 days ago

    I have a similar setup with around 5 federated services (Lemmy/bookwyrm/mastodon(GoToSocial)/pixelfed/Peertube/etc… and it works well. The slowest component is the internet connection by far. Yunohost makes it easy but a couple of the more niche services are on docker. All self hosted on an old PC and a pi.

    Just a note, these are all less than 5 users and my setup is not designed for anything more than the family. Also of all the services, Mastodon base install was by far the most resource intensive of all of them. It’s definitely made for more than 100+ users and quite quickly used up all my hard drive. Their caching system needs some work if I’m honest. After self hosting for about half a year, I went with GoToSocial, which saved me 100s of gigabytes. It’s no faster or slower but the same clients work with it. It’s basically designed for less than 10 users which is nice. No issues after about a year.

  • krnl386@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 days ago

    Not to sound dismissive, but this post is such a perfectly phrased AI prompt. 😂

    • 3dmvr@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 days ago

      I prob got used to talking to it, have to reword what I say 50 times for it to work

  • MangoPenguin@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 days ago

    I’d say the easiest is installing them using Docker, with a reverse proxy in front. That way you’re not mixing multiple services into the same database and stuff like that.

    • 3dmvr@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      8 days ago

      Answer the question, if you can downvote you can move your fingers a few more times and say why