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

Selfhosted

573 readers
1 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.

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 19 comments
sorted by: hot top controversial new old
[–] ppp@lemmy.one 13 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).

They deleted mine after 4 days.

Never again.

[–] saint@group.lt 7 points 1 year ago (2 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 2 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 2 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.world 3 points 1 year ago

Let’s hope this helps.

[–] Midas@toast.ooo 2 points 1 year ago (1 children)

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

Oh seriously? That kinda stopped me from hosting my own. Got a link?

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

Ah I thought you might be referring to someone building their own image based on the Lemmy repos, because those give me exec errors when I start them on my OCI

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

i used to compile then using Dockerfile in https://github.com/LemmyNet/lemmy/blob/main/docker/Dockerfile - probably you can use those commands on nixOS as well.

[–] scrchngwsl@feddit.uk 3 points 1 year ago* (last edited 1 year ago) (1 children)

In my experience the Oracle Always Free ARM A1 instances are really good. There's nothing I've really struggled to run on it personally, but I've never opened anything up to the public.

However, as @ppp@lemmy.one said, Oracle tend to remove your instance without warning. You can mitigate this by "upgrading" to a paid account and adding your credit card info. As long as you stay within the free limits you'll never be charged - but of course it is a risk! And they might still pull the rug anyway...

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

I should upgrade my account then. My bank allows me to generate internet credit cards with a money limit, which I can just set to 0 B)

[–] oranki@sopuli.xyz 2 points 1 year ago (1 children)

They'll make an initial reservation of around $100 on the card, so don't set the limit to 0 right away.

The $100 is never charged, of course but you need the balance.

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

damn, I don’t even have $100 right now lol

[–] Gauntlet1525@abstract-scones.crabdance.com 3 points 1 year ago (1 children)

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

[–] neoney@lemmy.world 4 points 1 year ago

Ahh, the Oracle firewall, always annoys me for some reason...

[–] Midas@toast.ooo 2 points 1 year ago (1 children)

Did anyone actually manage to run the Docker images on the Ampere instance? I get an exec error.

You need to make sure you are pulling the images for your arch - the default ones are for x86_64. Check the docker hub pages for each, specifically the "Tags" tab.

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