this post was submitted on 08 Aug 2023
24 points (96.2% liked)

Lemmy

12572 readers
3 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

Hello. I'm considering hosting a 1-person instance for my personal use. I'm trying to run on my own hardware, and I have used *nix for quite a long time and maintaining it wouldn't be much of a problem. However, I'm not quite sure what kind of hardware should I run it on.

How powerful should my hardware be? Say, would it be OK on a old PC with Northwood Celeron and 512mb of ram with 384GB HDD? Or maybe an android phone running postmarketOS (Alpine Linux) with MSM8916 and 2GB of ram with 32GB eMMC?

Also, my ISP does not allow opening common server hosting ports, and I'd also prefer not doing so due to security problems. Which ports do I need opened to operate a lemmy instance for my personal use (i'm only going to be connecting from home)? Can I use CloudFlare's cloudflared/Argo Tunnel to do this? (I do know CloudFlare is not great and has problems but I'm not aware of any other similar service, I'm not really able to pay for external servers but if there's an alternative service I'm open to suggestions)

Thanks for reading the post, and hopefully answering.

you are viewing a single comment's thread
view the rest of the comments
[–] eric5949@lemmy.cloudaf.site 4 points 1 year ago* (last edited 1 year ago) (2 children)

My Lemmy instance is hosted on a 1 core 2gb linode with 50gb of storage so I can't say really exactly what the hardware requirements are but they can't be much if it's been running fine on that for the last month-ish. Previously I had it on a 1 core 1gb over on oracle and it was pretty shitty there ngl so maybe pass on the 512mb machine. I use a cloudflare tunnel for my nextcloud though since T-Mobile uses a cgnat so I can't forward ports anyway and it works pretty well there, there shouldn't be any setup you need to do specifically for Lemmy with that just install the tunnel and connect it.

I am the only user on my instance, besides my admin account and a bot which fetches new communities.

[–] hexagonwin@lemmy.world 2 points 1 year ago (1 children)

So the only ports required to open for proper lemmy operation are HTTP/HTTPS ones (80, 443)? Argo tunnel didn't seem to support a whole lot of protocols (I couldn't find a way to enable telnet for a BBS for instance) and I was wondering if theres additional port needed for ActivityPub.

[–] Fuck_u_spez_@sh.itjust.works 1 points 1 year ago (1 children)

Is that one of Cloudflare's free products?

[–] hexagonwin@lemmy.world 2 points 1 year ago

I'm not sure what parent commenter uses exactly but cloudflared / argo tunnel can be used for free though they don't have some enterprise oriented functions. The daemon running on the server, cloudflared is also open source, available on Gihub.