Best Providers for hosting a Lemmy Instance?

3 years ago by CMahaff to c/selfhosted

Over the next week or so I'm sure a lot of people are going to try spinning up Lemmy instances - I've certainly been looking at it.

Does anyone have any recommendations for a VPS provider / resource allocation?

From what I have read, it sounds like you're going to want a host that focuses on storage / bandwidth (at least if you are allowing image upload), but maybe those of you already operating an instance have a different opinion?

ruud 58 points 3 years ago

I run lemmy.world on a VPS at Hetzner. They are cheap and good. Storage: I now (after 11 days) have 2GB of images and 2GB of database.

path: 0 65982, hotness: undefined, score: 58, children: 19
Richard 11 points 3 years ago

I guess for context for anyone reading this, but after this post it looks like Ruud doubled RAM and CPU to 32 and 8 respectively.

https://lemmy.world/post/56228

path: 0 65982 82884, hotness: undefined, score: 11, children: 0
kinther 7 points 3 years ago

Are you planning on pruning the database and images at some point, or is there some way to force external image hosting e.g. imgur.com ? Using 40GB for the o/s and swap, and 100GB for the site, at current levels of usage (not factoring in increased usage if more leave reddit), you're looking at about 275 days before running out of space.

path: 0 65982 69259, hotness: undefined, score: 7, children: 2
ruud 8 points 3 years ago

The 100Gb is on a volume which I can extend to 10TB, and then I can also add more volumes as I use LVM on linux. :-)

path: 0 65982 69259 69451, hotness: undefined, score: 8, children: 1
kinther 8 points 3 years ago

Right, that's what I'm planning to do for a personal instance as well. I'm just curious whether there is any way to prune the database of content older than say, 1 year. We're still early in the game for Lemmy adoption, so if usage picks up there must be some way to address it other than adding more disk space.

path: 0 65982 69259 69451 69891, hotness: undefined, score: 8, children: 0
majorswitcher 6 points 3 years ago

Thanks for mentioning your provider, their prices are a lot cheaper then DO !

path: 0 65982 72284, hotness: undefined, score: 6, children: 1
ruud 2 points 3 years ago

You're welcome!

path: 0 65982 72284 74361, hotness: undefined, score: 2, children: 0
Kris 4 points 3 years ago

Will probably move my instance there. Have it on digital ocean.

path: 0 65982 66322, hotness: undefined, score: 4, children: 3
MadCybertist 2 points 3 years ago
path: 0 65982 66322 68299, hotness: undefined, score: 2, children: 2
Kris 4 points 3 years ago

Nothing against them at all. I'm looking for something cheaper for my usecase. I want to host an instance just for myself and a couple friends.

path: 0 65982 66322 68299 69073, hotness: undefined, score: 4, children: 1
rowen_stipe 3 points 3 years ago
path: 0 65982 66322 68299 69073 69765, hotness: undefined, score: 3, children: 0
Crinkly4516 2 points 3 years ago

Could you give us some insight into how much bandwidth up/down your instance is using? Thanks for posting your server specs. I'm tempted to self host an instance when I finally get a gigabit connection in the next few months.

path: 0 65982 374449, hotness: undefined, score: 2, children: 7
ruud 11 points 3 years ago

Just installed Zabbix agent, so data just coming in. Bandwidth usage for Lemmy.world server

path: 0 65982 374449 376135, hotness: undefined, score: 11, children: 6
chiisana 1 point 3 years ago

There's some talks about out-wards federation issues in which messages on big instances such as lemmy.world aren't federating outwards. Do you mind sharing the CPU and memory data from Zabbix? Also, do you have NTP configured on the server? I've seen a couple people, myself also included, seen "Header is expired" messages in our logs during federation, implying something is backed up or timing is off. I'm curious if the issues are server performance related, or time related, or something else all together.

path: 0 65982 374449 376135 376649, hotness: undefined, score: 1, children: 5
ruud 3 points 3 years ago

Server is performing nicely. NTP (timesyncd) is running. I have no idea how to see federation queues. Please contact me on matrix @ruud:h-y-p-e-r.space if you want to troubleshoot together.

path: 0 65982 374449 376135 376649 377946, hotness: undefined, score: 3, children: 4
ChaosAD 1 point 3 years ago

This is great for reference. How many users you had while on that configs?

path: 0 65982 238551, hotness: undefined, score: 1, children: 0
admin 18 points 3 years ago path: 0 71755, hotness: undefined, score: 18, children: 0
cstine 15 points 3 years ago

One other option is the "Always Free" tier on Oracle Cloud. You get some potato EPYC instances and some Altera ARM ones that are quite nice.

There are people who have issues with their accounts getting banned with no recourse, but I've used OCI free for over a year with no issues (and run a Mastodon instance on some of the ARM stuff), and know a good number of people who have various services running on it with no issue long-term, so YMMV.

The price is right, though, and you should keep current backups regardless.

path: 0 70200, hotness: undefined, score: 15, children: 8
sneakyninjapants 11 points 3 years ago

I had this long post typed out on Jeroba about why I wouldn't recommend it, but maybe I hit the character limit? IDK. Anyway, the point I wanted to get across is that I've been down that road, and up until February it was going ok, but one should absolutely not trust the Oracle free tier for any service that should be reliable long term, they can and will take the VM down and take back that generous free tier allotment, and IIRC sometimes without any notice. In my case it was literally because my VM was under utilized. No option to downscale my instance, just a notification that they're taking my allotment back and deleting the VM a few weeks before it happened.

path: 0 70200 76322, hotness: undefined, score: 11, children: 7
cstine 2 points 3 years ago

Yeah, I should probably have included that I did convert the account to pay-as-you-go from the free-only service to avoid the reclaiming.

I've had zero issues, but I know that is, for sure, not the exclusive experience people have had.

path: 0 70200 76322 76937, hotness: undefined, score: 2, children: 6
sneakyninjapants 2 points 3 years ago

Tried doing this as well (should have mentioned), but I'm broke asf and the $100? authorization charge attempted to overdraw my account and it rejected the charge. So in the end, no recourse for me. IMO it's ok for unimportant things that it was just me using, but if I'm going to take on the responsibility for operating an instance for anyone else (potentially 1000's of users) I just can't trust that Oracle will keep my instance safe in the long term if they decide to change their usage terms in the future.

path: 0 70200 76322 76937 77065, hotness: undefined, score: 2, children: 5
cstine 2 points 3 years ago

Oh for sure; if I really am concerned with hosting something, I pay for a VPS somewhere. OCI is for things that, I'd prefer them to stay up, but if they don't, it's not catastrophically bad.

Oracle's 'too bad so sad' support policy around this is absolute garbage, though.

path: 0 70200 76322 76937 77065 77091, hotness: undefined, score: 2, children: 4
BenDoubleU 9 points 3 years ago

Yea I wouldn’t mind knowing what the average storage size would be. I’m usually a linode user and I saw they were going to bring up adding lemmy to its marketplace.

https://www.linode.com/...

path: 0 65932, hotness: undefined, score: 9, children: 1
Kris 2 points 3 years ago

Thanks for linking this

path: 0 65932 66329, hotness: undefined, score: 2, children: 0
casey 9 points 3 years ago

Proxmox at home xD

path: 0 67447, hotness: undefined, score: 9, children: 8
devrand 13 points 3 years ago

Home servers are the best, but I have very slow upload and there are security risks with this if you don't isolate the server properly.

path: 0 67447 68575, hotness: undefined, score: 13, children: 0
JeremyT 3 points 3 years ago

I feel attacked xD

path: 0 67447 67796, hotness: undefined, score: 3, children: 0
aceospos 2 points 3 years ago

Are you able to host without a domain name? Looking to spin up one to see what the install process feels like before I spin up a production instance

path: 0 67447 68349, hotness: undefined, score: 2, children: 5
devrand 7 points 3 years ago

Well in theory yes but no federation.

path: 0 67447 68349 69026, hotness: undefined, score: 7, children: 1
qaz 1 point 3 years ago

Would you be able to federate using a subdomain?

path: 0 67447 68349 69026 2264488, hotness: undefined, score: 1, children: 0
casey 3 points 3 years ago

I haven’t tried, but I imagine federating will be a hassle without a clear way for the other services to exchange responses.

path: 0 67447 68349 69035, hotness: undefined, score: 3, children: 0
qaz 2 points 3 years ago

You can get a numerical xyz domain for less than a dollar each year.

path: 0 67447 68349 2264493, hotness: undefined, score: 2, children: 0
qaz 1 point 3 years ago
path: 0 67447 68349 2264480, hotness: undefined, score: 1, children: 0
pinkpatrol 9 points 3 years ago

I just set one up via DigitalOcean and it was easy peasy. I'll see how it goes and move it if needed.

path: 0 71925, hotness: undefined, score: 9, children: 0
knova 7 points 3 years ago

I’ve used digital ocean with minimal fuss. I should write a start to finish guide on getting Lemmy going with one of their premade droplets.

path: 0 67181, hotness: undefined, score: 7, children: 4
freejosh 2 points 3 years ago

Yes please! As a frontend dev I'm interested in contributing to the UI or writing my own, but I'm pretty lost when it comes to setting this stuff up to test it all out

path: 0 67181 177480, hotness: undefined, score: 2, children: 1
knova 1 point 3 years ago

This is a very basic first pass, let me know if this is helpful to you, and if not, where you end up getting stuck: https://novakeith.net/...

path: 0 67181 177480 201029, hotness: undefined, score: 1, children: 0
br0da 1 point 3 years ago

If you ever get around to that guide I’d love a link.

path: 0 67181 806560, hotness: undefined, score: 1, children: 1
knova 1 point 3 years ago path: 0 67181 806560 831553, hotness: undefined, score: 1, children: 0
devrand 7 points 3 years ago

If you are a student you can get DigitalOcean free $200 and Azure free $100 through GitHub student dev pack.

path: 0 68557, hotness: undefined, score: 7, children: 1
Brien 7 points 3 years ago

just be careful not to go over on the free credits.

path: 0 68557 71597, hotness: undefined, score: 7, children: 0
Virtim 7 points 3 years ago

I just spun up my own (not even sure if posting here would work), but I'm running it on a relatively basic Linode. We will see how it goes over the next few days, but so far no issues

path: 0 78186, hotness: undefined, score: 7, children: 0
turner 6 points 3 years ago

I have 4-5 nodes for miscellaneous projects hosted on cloudfanatic (previously servercheap). Cheap, good customer service, with servers all over the US. Good uptime. No international servers though.

path: 0 66261, hotness: undefined, score: 6, children: 0
pivotraze 5 points 3 years ago

If you're willing to do the full VPS route like it seems, check out Hetzner. In my experience, it has higher resources at a lower cost than other providers like DO.

path: 0 92872, hotness: undefined, score: 5, children: 0
captainastronaut 4 points 3 years ago path: 0 100098, hotness: undefined, score: 4, children: 0
Wander 2 points 3 years ago

Anything you can scale up and down in resources without having to upgrade hard drive space.

You might want to offload storage to some object storage service.

path: 0 67725, hotness: undefined, score: 2, children: 0
PeterCxy 2 points 3 years ago

Hetzner as always :) Although you probably want to separate out media storage to a standalone S3 provider or even just Hetzner's SMB storage box

path: 0 439324, hotness: undefined, score: 2, children: 0
peepee_longstonking 1 point 3 years ago

If you're looking for a smaller company check out m5hosting.com

path: 0 743444, hotness: undefined, score: 1, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
63081
6830
6313

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