For those self-hosting a lemmy instance, what hardware are you using? I am currently using a small Hetzner VPS. It has 2 vCPU, 2GB RAM and 40GB SSD storage. My instance is currently just in testing with me as the only user, but I plan to use it for close friends or family that may want to try this out, but might not want to sign up for a different instance. My CPU and RAM usage is great so far. My only concern is how large the storage will balloon to over time. I’ve been up for ~20 hours and it’s grown to 1.5G total volume since.

  •  Redex   ( @Redex68@lemmy.world ) 
    link
    fedilink
    English
    131 year ago

    From what I’ve heard (take this with a huge grain of salt) is that the posts themselves shouldn’t take up much of your storage. The biggest thing that could take up your storage are images, but they are only stored on the instances where the community in which they were posted in is.

  • It’s definitely overkill, but right now I’m hosting it on my nomad cluster. It only has 4cpu/8gb allocated at the moment but will autoscale (vertically) if needed. I already have a separate postgres cluster used for other things so I’m just borrowing that for now too. I haven’t tried running multiple instances yet but I’ll probably test that out this week to see how/if it works.

  •  jon   ( @jon@lemmy.tf ) 
    link
    fedilink
    English
    81 year ago

    4vcpu (Ryzen), 8GB RAM, 256gb disk (which will be expanded when it gets to like 60% full). Not too worried about storage unless I get a bunch of image-happy users, text all comes in as json and goes straight to Postgres so it’s not a concern.

      •  jon   ( @jon@lemmy.tf ) 
        link
        fedilink
        English
        21 year ago

        Mine is public, yes. Not sure how many active users I have, 28 signups but my sidebar shows 5 monthly active users so far. I imagine this will pick up once people start commenting and posting more.

  • Currently a 1CPU/2GB RAM Linode instance for 26 users. Linode’s pricing gets insane as you scale up though so I will definitely be looking elsewhere if I need to scale much bigger. I think I could get away with 1gb of RAM at half the cost right now, but I’m also hosting a Matrix homeserver on this VPS and Synapse is a hungy boy.

  •  david   ( @david@quo.ink ) 
    link
    fedilink
    English
    71 year ago

    1 vCPU, 1GB Ram, 50GB storage using the smallest x86_64 compute instances on Oracle Cloud. Qualifies for always free which is nice while I’m simply testing out a personal server. It’s working just fine within those constraints. For now, at least.

    Like you, I’m worried about storage. I would like to run it from home, but I live in the woods and my internet isn’t reliable enough.

  • I’m using a Ramnode VPS since I had some unused credit I wanted to use up. 2 vcpu, 1 GB ram, and 35 GB ssd.

    Seems to be working well enough so far, but right now it’s just me. If I open up to more users, I might need to upgrade, but we’ll cross that bridge when we get there.

    Edit: I may have spoke too soon; had to reboot the server due to low memory. Hopefully a swap file will alleviate that a bit, but I might have to upgrade the RAM on this server. We’ll see.

    • I used the ansible method to get running and I am using the default paths. If you are also using the default paths, you can find your data in /srv/lemmy/<domain>/ . This location will hold your configuration files and your volumes directory. The volumes directory holds postgres (the database), pictrs (your image hosting) and lemmy-ui (the web-ui for lemmy). To see how much disk space you are using:

      cd /srv/lemmy/<domain>/

      du -hc --max-depth=1 volumes

      replace <domain> with your domain.

    •  NX2   ( @nx2@feddit.de ) 
      link
      fedilink
      English
      51 year ago

      If you are using docker just look at the volumes of the containers of the server, the UI and the two databases (one for stuff, one for pictures)

    • 1 vCPU 2.9ghz
    • 1 GB DDR4 Memory
    • 25 GB NVMe/SSD Storage

    5~ USD a month. Working great for personal use and I’d imagine a handful of users. Hosted in a data center that is very close to me.

    Also fwiw: 4 days of lemmy. I am subbed to a bunch of stuff. I’ve only uploaded like three pictures to my instance… All that space is thumbnails from other instances.

    692M    ./postgres
    8.0K    ./lemmy-ui
    499M    ./pictrs
    1.2G    .
    1.2G    total
    
  •  Dax87   ( @Dax87@lemmy.zip ) 
    link
    fedilink
    English
    4
    edit-2
    1 year ago

    I have it running on my microk8s single node cluster. It’s a dual xeon (40 cores total) with unfortunately only 64gb ram. The motherboard’s max. I got a das with 72tb storage, currently in btrfs mirrored. Hoping btrfs raid-like configs become more usable in the future. I was using zfs but I always ran into issues.

  • shower thoughts… and still on my first cup of coffee to more just musing than anything …

    if storage is the concern wonder if the lemmy roadmap might one day include an option to use cloud based storage?

    azure storage at .06/gb per month is likely cheaper and more redundant than local storage - even if you factor in calls to the blob which could be lowered via caching.

    cloud storage potentially might one day lead to a option for smaller self hosters to opt into a shared blob instance where the and cost is shared.

    in this scenario security to ensure the cloud blob couldn’t be deleted would need to be thought through (maybe splitting the password among multiple admins with each having one part of the whole?) but might be one way to better encourage more self hosting for them compute side of things.

    •  Sens   ( @Senseibu@feddit.uk ) 
      link
      fedilink
      English
      21 year ago

      If I self hosted my own Lemmy on my home server, just for myself and I posted / uploaded images on it, when another user from another instance views my image, they cache it, would this mean later down the line if I deleted to free up server space, if someone else on that instance was to come across my image after deletion, because it was previously cached, the image would still show?

      Wondering if rolling storage is possible eventually, where an archive of posts older than 2 years is performed and data deleted.