Interested in setting up an instance with a spare laptop
I have a spare laptop running Linux Mint. I would like to try running my own instance and sharing it with a few users to help out and for the experience. Below are the specs. Do you think it will be powerful enough, and if so, how many users would it be able to handle? I could restrict uploading of media if that would make a considerable impact.
I actually have an interest in doing this as well. One concern though. Wouldn't standing up a Lemmy instance on you own network and federating potentially attract unwanted attention to your IP? Would it be better to host on a VPS instead?
What exactly do you mean with "potentially attract unwanted attention to your IP"? Any public IP attracts automated bot probing, regardless of what you host on it... and the rest is pretty much FUD by VPN snake-oil vendors.
You will need to fine-tune the database a bit, but generally speaking this hardware should be sufficient for a medium sized instance < 1000 members or so. What kind of connection do you have? Lemmy itself is not very bandwidth heavy, but image storage and remote access can be somewhat problematic if you have a very slow upload speed.
A good frame of reference would be the VPS that lemmy.world is running on imo. Looks like they upgraded to a 4 core/16gb setup to handle the influx of users, so if your instance is running under 1k users, I believe those specs would be sufficient.
If it starts chugging, I wonder how well it'd work to run the server on the laptop and the DB on a VPS (or vice versa).
Small instances don't seem to require anything major, I'm running mine on a VM with 4c/6gb ram/256gb disk with no issues- it's just a few Docker pods. Just make sure you use a dynamic DNS provider if you're hosting from home, as valid SSL is required to connect to the federation.