this post was submitted on 25 Aug 2022
40 points (91.7% liked)

Asklemmy

44883 readers
1783 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

I will rent a v-server today with those specs: 2 CPU cores, 4GB RAM, 80GB disk space

I think it's enough to run normal websites and even a game server, but I have no experience with the Fediverse.

Is this enough to run a few fediverse instances, like Lemmy and Mastodon or even others?

How much resources does Lemmy need in particular?

Thank you for your help.

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 2 years ago* (last edited 2 years ago) (1 children)

Lemmy doesn't really need much resources. Sopuli is running on a Hetzner VPS with similar specs and it's all fine. I remember someone even running an instance on a ROCK64! Can't really say anything about running multiple Fediverse services on the same VPS though.

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

ok, if it runs on a rock, it might run on an average vserver. Thanks :)

[–] [email protected] 6 points 2 years ago* (last edited 2 years ago)

That's more than enough for when you're just starting an instance. I'd even knock that down to 1 core 1 GB RAM, which is like $5 a month on a host like Linode or DigitalOcean. The reason Lemmy.ml is experiencing trouble is that it's one of the largest instances, we didn't have problems until recently. The great thing about a VPS is that you can upgrade whenever you want, so I'd recommend saving some money by getting the cheapest one until your instance starts getting a lot of users. Every VPS host I know of shows you the resource usage history, so you can monitor it once in a while and upgrade when one of the stats is getting close to 100%.

[–] [email protected] 5 points 2 years ago* (last edited 2 years ago) (1 children)

I think that should work fine, never seen Lemmy on a dedicated server go above 2GB RAM use, but mileage may vary I guess.

On the other hand, I know Lemmy can run on a raspberry pi.

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

I have to say that the Raspi4 is a very powerful machine and I might use it soon as my desktop. Because it can do everything, what you need, but use a fraction of the energy than other machines.

I try it out! :)

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

I have an instance running on a 1GB RAM server.

It's just for feature development, but it runs smoothly.

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

Clearly more than whatever lemmy.ml is running

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

Not sure how relevant will this be to your question but the admin of the instance I'm on is quite transparent with the server performance etc. and perhaps it'll provide some insight. Also quite interesting was the fact that storage itself is cheap but the bandwidth fees are not (from the comments).

I still haven't figured out how to correctly link to posts on other instances so I'm pasting a direct link hoping a friendly bot finds it and updates it: https://lemmy.zip/post/509553

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

Thanks a lot for sharing. It really contains valuable information.

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

I'm running 1 vCPU, 2GB of RAM and 25GB of disk at the moment for my tiny instance (we have like 5 users?). I started with 1GB of RAM but it quickly started swapping on disk and causing performance issues. I should probably bring it up to 4GB but it's not necessary yet so I'm delaying.

Something I'd like to implement is object storage for pictures (via AWS S3 bucket) as detailed here: https://lemmy.eus/comment/164368

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

I think it isn't really sustainable to use one of the biggest energy wasters (like Amazon or Google), if the goal is to provide a green website, but that's nothing I've mentioned in the first post, sorry...

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

Hi there! I pretty much have the same question. Probably also a question for the selfhosted sub if it already arrived here.

Iβ€˜m thinking of hosting a lemmy instance, peertube and a minecraft server, the latter of which are very resource intensive and Iβ€˜m told I should look for β€ždedicatedβ€œ vcpus. Which drives the cost up considerably.

Looking at hetzner rn but 3 vpus (1 for minecraft, 1 for peertube, 1 for everything else) is quite steep imo.

Are you considering the dedicated part yet?

Good luck :)