Interested in setting up an instance with a spare laptop

3 years ago by BOMBS to c/selfhosted

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.

Dell Inspiron 15-5000 CPU: Intel Core i5-5200U, 2 cores, 4 threads RAM: 8GB Storage: SanDisk SSD Plus 1TB

bitrate 16 points 3 years ago

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?

path: 0 58085, hotness: undefined, score: 16, children: 5
Saik0Shinigami 10 points 3 years ago

You can always do stuff like proxy through cloudflare. My instance is proxied.

path: 0 58085 58301, hotness: undefined, score: 10, children: 1
bitrate 2 points 3 years ago

Interesting, I'll need to look into that.

path: 0 58085 58301 58339, hotness: undefined, score: 2, children: 0
mattchu_c 7 points 3 years ago

You could get a second static IP address from your ISP to keep it isolated from your home network. That may require additional hardware.

So yeah, probably cheaper to use a cloud based solution. Unless you want the experience of setting that stuff up.

path: 0 58085 60378, hotness: undefined, score: 7, children: 0
poVoq 2 points 3 years ago

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.

path: 0 58085 1520820, hotness: undefined, score: 2, children: 0
jjakc 1 point 3 years ago

If you really don't want people to know your home ip, then you can use cloudflare's proxying service for all you internet facing services.

path: 0 58085 1536439, hotness: undefined, score: 1, children: 0
BradleyUffner 16 points 3 years ago

Just keep in mind that if your server dies, or you stop running it for any reason, all the content and user accounts are gone. It doesn't really feel like something that should be taken lightly.

path: 0 75836, hotness: undefined, score: 16, children: 2
balder1991 5 points 3 years ago
path: 0 75836 76899, hotness: undefined, score: 5, children: 0
lynny 1 point 3 years ago

Why can't it just be a vanity instance that you use for yourself and friends, with most of your posting being done on larger instances? There's at least one I've seen like this which seems to be private.

path: 0 75836 112389, hotness: undefined, score: 1, children: 0
jon 14 points 3 years ago

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.

path: 0 53573, hotness: undefined, score: 14, children: 8
bitrate 4 points 3 years ago

Any concerns you that you may attract attention to your network? I'm interested in doing the same thing you are.

path: 0 53573 58132, hotness: undefined, score: 4, children: 7
jon 8 points 3 years ago

I've got all my home services routed through ZeroTier to Nginx Proxy Manager on a cloud VM, so my home IP is pretty well hidden. As long as nobody is uploading illegal content to your instance you should be fine though.

path: 0 53573 58132 58608, hotness: undefined, score: 8, children: 1
bitrate 2 points 3 years ago

Dope, I'll look into that as well. I think im going to start with cloudflare tunnels. I've heard of it, but never used it. I think this may be my first appropriate use case.

path: 0 53573 58132 58608 58727, hotness: undefined, score: 2, children: 0
mattchu_c 3 points 3 years ago

You could also get a second static IP address from your ISP to keep it separate from your home network.

path: 0 53573 58132 60320, hotness: undefined, score: 3, children: 4
foxtrot 3 points 3 years ago

Is it possible to run an instance without a static IP address?

path: 0 53573 58132 60320 62525, hotness: undefined, score: 3, children: 3
unique_hemp 4 points 3 years ago path: 0 53573 58132 60320 62525 66616, hotness: undefined, score: 4, children: 1
mattchu_c 2 points 3 years ago

From a local device in your home, no, not that I know of. It might be possible with some wild proxy and port forward setup, but that's a little above my head tbh.

path: 0 53573 58132 60320 62525 67663, hotness: undefined, score: 2, children: 0
crunchymunchytoast 11 points 3 years ago

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).

path: 0 49490, hotness: undefined, score: 11, children: 2
Katana314 5 points 3 years ago

This probably informs me as to my idea. I had a Raspberry Pi sitting around on a shelf somewhere, and wasn't sure if it could handle an instance for a few basics. Sounds impractical.

path: 0 49490 50199, hotness: undefined, score: 5, children: 1
crunchymunchytoast 7 points 3 years ago

I suppose it depends. An 4/8gb RPi 4 may be able to handle a smalll instance, keeping in mind that a 2 core/4gb VPS has sufficed for most instances until the recent influx. My concern with using one would be primarily with storage capacity and speeds, but iirc, there's a SATA hat you can get to connect drives directly (as opposed to external USB storage).

path: 0 49490 50199 51378, hotness: undefined, score: 7, children: 0
devrand 10 points 3 years ago

Yeah it would work, but home internet bandwidth is the bigger concern here. I don't unfortunately can't estimate a user count.

path: 0 68612, hotness: undefined, score: 10, children: 2
BackOnMyBS 5 points 3 years ago

That's a good point. My entire household, which is just me, average's about 500 Mbps download and 25 MBps upload. Is that pretty low for a server?

path: 0 68612 73695, hotness: undefined, score: 5, children: 1
cichy1173 2 points 3 years ago

Should be fine.

path: 0 68612 73695 99644, hotness: undefined, score: 2, children: 0
someguy 9 points 3 years ago

Should be able to handle a few users OK. You might want a more permanent server to run it on if they want to keep using it long term though.

path: 0 50090, hotness: undefined, score: 9, children: 0
Father_Redbeard 6 points 3 years ago

Probably a dumb question, but how does hosting your own instance work? I'd love to help but do I then need to provide content? Or is it more of an admin type situation?

path: 0 67587, hotness: undefined, score: 6, children: 1
styx 5 points 3 years ago

do I then need to provide content?

No. You manage the server, and manage people registering. If it is enabled, they create communities (I.e. subreddits) and provide content. They can also use other server communities via federation.

path: 0 67587 69962, hotness: undefined, score: 5, children: 0
andobando 5 points 3 years ago

Its all a matter of how much traffic you want to handle. You can certainly start there but its not going to scale if you had a size-able community

path: 0 67848, hotness: undefined, score: 5, children: 0
banana1 2 points 3 years ago

I am not sure how hosting your own instance helps anyone thought. It's fun and it let you own/host your data, but it's not something that help the fediverse unless you have a lot of users which would be too much to the other instances?

path: 0 110647, hotness: undefined, score: 2, children: 0
poVoq 2 points 3 years ago

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.

path: 0 1520751, hotness: undefined, score: 2, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
63050
6824
6218

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...