this post was submitted on 20 Jun 2023
2 points (66.7% liked)

Selfhosted

40382 readers
837 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 2 years ago
MODERATORS
 

Hi—I have some free Azure credits and would like to use them to host a personal Lemmy instance. I know Lemmy is containerised, but is there a preferred choice for hosting in Azure—AKS, Azure Container Apps, Container Instances? Also, any guidance on appropriate PostgreSQL configuration—I know there are some options around that.

Also, can anyone point me at what resource utilisation will look like for a Lemmy instance—I imagine disk space is more of a concern that compute usage.

you are viewing a single comment's thread
view the rest of the comments
[–] whenever8186 2 points 1 year ago

I'm currently trying to get Lemmy working on Azure Container Apps and Azure Postgres Flexible Server. I've got it all deployed, but I'm having some issues with the reverse proxy.

Regarding the 'best' choice - well it depends on what you mean by 'best'. AKS will be the most flexible and ACI will probably be the simplest (if it will even work for Lemmy - I haven't looked at ACI in years). Container Apps will probably be somewhere in the middle. Container Apps is just an abstraction over Kubernetes, so in theory you should get the scalability and flexibility of k8s without the overhead of managing a cluster.

I got Lemmy up and running on my home Rapberry Pi microk8s cluster pretty easily, so it will work fine on AKS for sure.

I'm looking at Container Apps just as a pet project because I've been waiting for a product like this for years. Kubernetes is awesome, but has always been too complicated for the average software developer to use. It needs a layer of abstraction and that's what Container Apps is. So anyways I figured running Lemmy on it would be a good way to test drive it.

As I said though, I've run into some issues and am almost at the point where I was going to ask for help. If anyone's interested, I can post links to my Github repos with my Terraform code and all that.