this post was submitted on 13 Jun 2023
12 points (100.0% liked)

Selfhosted

40132 readers
736 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I have an Oracle Always Free VPS. 4 ARM Ampere A1 vCPUs, 24GB RAM, 200GB storage. Will this be a good fit as a server for a Lemmy instance? Are there any issues with hosting Lemmy on aarch64?

top 11 comments
sorted by: hot top controversial new old
[–] ppp@lemmy.one 6 points 1 year ago (1 children)

Oracle has a tendency to pull the rug and take your VPS away. You can read about it on the forums or on r/oraclecloud. I still have mine but I've heard of so many stories about how Oracle will flat out just terminate your instance without warning.

If you want to push through with it, make sure to do regular backups (as everyone should do).

[–] FederalAlienSmuggler@feddit.de 4 points 1 year ago (1 children)

They deleted mine after 4 days.

Never again.

[–] neoney@lemmy.neoney.dev 1 points 1 year ago

Huh, really?? I must be lucky then, because I just checked, and my server has been running since Mar 11, 2022!!

[–] jerrimu@lemmy.world 5 points 1 year ago

WTF? That's crazy good stats for always free.

[–] xtremeownage@lemmyonline.com 3 points 1 year ago (1 children)

Well, do just note- hosting an instance doesn't directly help offset the load of this one-

I had an extra server laying around, 32 cores, 64 threads, 256G of DDR-4, and figured I would host and instance to help offset some load, and support this movement. And- that is how https://lemmyworld.com/ was born.

HOWEVER, as most of the communities were created on lemmy.world. most of the load will stay on lemmy.world. All of this hardware will only get leveraged if/when somebody decides to create a popular community on here.

So, that being said, you can. But, be aware of how lemmy/mastadon/etc is setup.

[–] neoney@lemmy.neoney.dev 2 points 1 year ago

I'm aware, thanks

Ended up creating an instance just for me, my main reasons were:

  • not scared of instance shutting down and me losing my data - if I do, that's on me
  • can block federation to an entire instance if I really don't like some people
  • cool username
  • I don't really get lag - if other instances are overloaded they work slowly, mine will work fine. Content from the slow ones will be slow, but the homepage will be better
  • I can make myself a community and use it as a blog

I probably forgot about something too...

[–] saint@group.lt 3 points 1 year ago (1 children)

it works fine, depending on popularity of your instance - you might have to add more resources in the future.

as for aarch64 - there are docker images available for lemmy and lemmy-ui

[–] neoney@lemmy.world 0 points 1 year ago (1 children)

Thanks, I’ll hope to not use docker though - planning to run NixOS, which has a module for it.

Just double checked, the nixpkgs for lemmy-ui and lemmy-server have aarch64-linux support B)

[–] saint@group.lt 1 points 1 year ago (1 children)

i have not used NixOS yet, not sure how easy to setup it on Oracle OCI, but i guess you will do fine ;)

[–] neoney@lemmy.neoney.dev 1 points 1 year ago

You were right :) look at my username! Installation was very interesting - using kexec to swap the current loaded kernel to a NixOS live image, and installing it right over the current system surprisingly worked flawlessly. One reboot for an entire install (I might end up writing a post in !NixOS@infosec.pub about it).

Setting up lemmy was a bit more difficult though, as the lemmy module is currently in the middle of a pull request to improve it, so I had to do some hacky trickery.

[–] neoney@mas.to 1 points 1 year ago
load more comments
view more: next ›