Serverless with Yunohost

Hi,
This might be a wrong question, however:
Can you do serverless alongside/within Yunohost?
My use case: I have a few scheduled jobs that I host in AWS Lambda, which I’d like to move to my server, which is currently managed by Yunohost.
I’m not sure if it’s a good idea to install something directly in the managed Debian; I haven’t found any apps that could do this, either.
Should I just get a second server? Is there a way to have the jobs running on my Yunohost server?

Yes, you can run other things on Yunohost because the base of Yunohost is Debian 12.

For example, I run some other apps with docker. It doesn’t interfere with Yunohost unless you start trying to do things that interfere with DNS (like Pihole, or unbound).

What kinds of jobs are you trying to run? Give us more detail and I’m sure we can give you more details.

1 Like

They’re just small JVM apps that send a few requests on a schedule, currently triggered by AWS EventBridge’s CRON. Ideally I’d love to have an option to have webhooks (like POST https://app.myserver.org/custom-webhook), but at this point they don’t need entry points.

I can potentially rewrite them in a different language if there’s a solution that works nicely with Yunohost.

A self-hosted serverless discussion I was looking through: https://www.reddit.com/r/aws/comments/10sqcnv/is_it_possible_to_selfhost_a_lambda_or_lamdalike/