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?
WTF? That’s crazy good stats for always free.
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).
They deleted mine after 4 days.
Never again.
Huh, really?? I must be lucky then, because I just checked, and my server has been running since Mar 11, 2022!!
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
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)
i have not used NixOS yet, not sure how easy to setup it on Oracle OCI, but i guess you will do fine ;)
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@lemmy.world Hello world.
A lot depends on what you intend for the size of the instance, but I host my private instance on Oracle too with even fewer resources and it’s been smooth sailing thus far.
The only snags I ran into were some network and firewall issues - resolved by adding ingress rules to the VCN’s security list. See step 3 of https://docs.oracle.com/en-us/iaas/developer-tutorials/tutorials/apache-on-ubuntu/01oci-ubuntu-apache-summary.htm
Ahh, the Oracle firewall, always annoys me for some reason…