Skip Navigation

Self hosting a Lemmy instance for just myself?

Heya, I'm trying out Lemmy and kinda like the idea of hosting a Lemmy instance just for me.

I was wondering:

  • What are the hardware/bandwidth requirements for a single user instance?
  • I know different instances can black list each other, but can they whitelist each other too? I don't want to be automatically unable to see interact with certain instances.
  • Has anyone else done this and have thoughts to share?
  • What about doing the same for Mastodon?
26 comments
  • In case of Lemmy I used Lemmy-Easy-Deploy script. To host I used Oracle Cloud always free tier. Its risky because I've heard people say that since its free they can just pull the plug at any time, so you might consider to upgrade it to paid account, I heard its cheap. About requirements I have no idea. Im running my on a VM instance with Ubuntu minimal 22.04 aarch64. I pushed it to the maximum allowed for free account: 4 ARM cpu with 24Gb of Ram. I dont know anything about hosting mastodon.

    • Just make sure you keep regular backups of your data so you can spin it up somewhere else.

      Also, people can crap all over Oracle (rightfully so), but I highly doubt they would kill the free tier one day w/o any warning at all.

    • Lemmy-Easy-Deploy is awesome, and yes, Oracle will burn you eventually, and you won't be able to access your instance to run one of the migrate scripts to move elsewhere. Everything will be permanently gone.

      Check out Hetzner instead. They have reasonable prices and DCs in both the EU and the US. They also just started offering ARM servers as well.

  • I'm doing both on the cheapest VPS on Hetzner, but needed to add more hard drive space, especially mastodon needs a lot.

    • I haven't run up my own Threadiverse server yet, but I self-host my own one-person Mastodon, also on Hetzner. Yes, it will eat up a lot of disk space, so if you're trying to keep costs down you need to send all the media to S3-compatible storage. I use Backblaze B2 which costs me something like $2/month for 200GB of Mastodon media.

      I would assume Lemmy or Kbin would also be greedy for asset storage, as they'll pull in media (images and videos) for any community you follow. So again pushing that all off to a low-cost storage system such as S3 makes a lot of sense.

      • Not quite, most of the media is not pulled in from other servers but just linked to the original one from the browser, there are some circumstances where the media is copied but much less than mastodon.

  • I took the easy way out for Mastodon with a managed host because I wanted to open it up to toher folks. But I did self host it for a bit and it was fine. Pleroma was a bit more to my liking, but Mastodon won out.

    A couple of weeks ago, I did set up my Lemmy instance on a single core, 1GB RAM, 10GB HDD VPS. I'm not subscribed to a ton of communities and haven't bothered with the different seeding scripts. So far so good though! I'm really happy with it.

26 comments