Skip Navigation

Self hosted instances

I am considering creating my own lemmy instance as my current instance (lemmy.world) is often down, and I enjoy this kind of a project. That being said I haven’t been able to find any resources on hw needed for this? If I have a raspberry pi 4b 8g with 128gb is that enough for just me using it? Do I need to pay for a cloud server to host it? How can federation work if I only have <10 users tops? Anything else I might need to know?

26 comments
  • I've had mine up since 6/15 and in total between attachments, DB, and misc other stuff it uses just under 30 GB of space. I've also ran one of the subscriber bots for a couple days so there's who knows how many communities subscribed in total at this point.

    Between the major parts, the DB is about 6GB the rest is attachments and such that could be wiped without any real harm. I'm hoping to see a 'purge data after X days' function at some point, or even better a 'after last interaction' so active posts don't get purged. No use keeping the data from some some simple meme that had 2 comments forever though.

  • Lemmy doesn't require a lot of resources to run smoothly, especially for instances with a low number of users. The only concern may be if you upload a lot of images, they are stored on your drive.

    If you don't want to manage a single user instance you can join someone's instance (like mine, I am the only one in my instance)

  • that should be easily enough. My instance after a month and subbed to 120 communities is using about 1-2gb of disk space. 18.3 did a ton of work in performance.

  • As far as I know, there is no current arm Docker image for your Raspi 4. You could rent a cloud server. E.g. Hetzner. I use the CX21. It runs very efficiently for me.

  • I run my instance on a Quartz 64 with 8GB of RAM and a 128GB SSD. Works just fine.

    On my instance there are two users, one being myself and the other one beein a seeder bot. It automatically pulls top communities and posts from other instances to keep the feed fresh. For this I wrote my own script, if you’d like to have it I can post it here or you can just use an already available project like this: LCS

    Like that my post is always full with enough posts to keep me reading.

26 comments