I want to host my own lemmy instance sometime in the future. I haven’t self hosted anything yet. How easy is it?

Are you familiar with a linux terminal? Than it is quite easy if you follownthe install instructions.

@pineapple@sopuli.xyz
creator
link
13M

Not really familiar with the terminal but Thanks😁.

@punctual
banned
link
43M

Its quite straightforward. First you need a VPS which is like $10 a month, configure an ssh key on there so you can actually get into the server genreating an ssh key using ssh-keygen on linux, then you need to register a domain name from somewhere like godaddy, then create a dns record A to point towards the ip of your VPS server. Then you follow the guidance on the lemmy documentation to configure lemmy on your VPS. https://join-lemmy.org/docs/en/administration/install_ansible.html

Its as simple and as difficult as that. Althought the hard part that all lemmy instances are having is getting users to join their instance. Lemmy is really small right now but its hoped that we can continue to promote it, by donating to the devleopers, advertising in on sites like Reddit, hacker news, your personal blogs etc. But you should promote the site https://join-lemmy.org/ not a single instance like lemmy.ml

Hope this helped.

Tmpod
link
2
edit-2
3M

A $10 VPS is overkill unless you have a lot of users really. A $5 one (1vCPU and 1GB of RAM) should be enough for quite a bit of users. In my case, I use Vultr, I think they are really great, but there are other hosts out there like DO and whatnot that have similar prices.

Regarding the domain, I’ve heard bad things about godaddy. I’ve been using PorkBun lately and it has been great; support is fast and helpful (had some troubles with payment and they solved it quickly). Again, it isn’t too important, since you can transfer domains to other registrars.

Everything else is on point 👌
I believe there’s also a Yunohost thingy for lemmy1, which would make it a 1-click process, essentially. However, that comes with some overhead, dunno how much.

@pineapple@sopuli.xyz
creator
link
12M

How many users will a 5 dollar per month vps be able to support? Is a CDN necessary?

Tmpod
link
12M

Not at all. I run lemmy.pt on a $5 Vultr VPS alongside some other small things. The VPS has been sitting at roughly 350/400MiB of RAM, and essentially never above 5% in the CPU. Lemmy uses less than 30MiB, PostgreSQL about 60/70 and pict-rs roughly 60.
The instance is small, but I don’t believe it will go beyond the system’s resources until it’s actually rather big, at which point it is likely I will have some financial support (many members have already expressed their availability to help out), so upgrading to a $10 plan shouldn’t be hard.

@ptman
link
13M

If you’re ok with using Oracle, you can get quite a bit of computing resources for free: https://gitlab.com/ptman/matrix-docs/-/tree/master/free-matrix-server#get-a-free-server

@pineapple@sopuli.xyz
creator
link
12M

This seems cool. How many users will this be able to support? Maybe I can host a small pleroma instance here instead of lemmy?

@pineapple@sopuli.xyz
creator
link
13M

Thank you. This is helpful.

If the server gets under powered, can I later upgrade to a more powerful server config?

@downdaemon
link
13M

most cloud services make that pretty easy or automatic, but be aware a sudden influx of users can cause unexpected expenses

@juh
link
13M

You forgot to mention that you need a docker environment with ansible installed.

@SrEstegosaurio
link
23M

I do not exactly know how difficult will be it. But I hope not much. I’m going to research a bit and comment if I find, idk, a yunohost app or smth

riccardo
link
2
edit-2
3M

The yunohost app exists in the official list, but it’s labeled as broken and the docs link return a 404 :(

Tmpod
link
13M

https://github.com/YunoHost-Apps/lemmy_ynh

This was sent in Lemmy’s Instance Admin room on Matrix. Dunno if that’s what you’re looking for.

@ksynwa
link
1
edit-2
3M

It depends on how much experience you have with the Linux command line, managing a Linux server, and things like docker/ansible.

@pineapple@sopuli.xyz
creator
link
13M

I don’t have much experience with the command line.

A loosely moderated place to ask open ended questions

If your post is

  1. Open ended
  2. Not offensive
  3. Not regarding lemmy support (c/lemmy_support)
  4. not ad nauseam inducing (please make sure its a question that would be new to most members)

it’s welcome here!

  • 0 users online
  • 21 users / day
  • 75 users / week
  • 154 users / month
  • 529 users / 6 months
  • 2.13K subscribers
  • 673 Posts
  • 8.64K Comments
  • Modlog