Fork me on GitHub
#aws-lambda
<
2023-04-27
>
pesterhazy13:04:09

What's the easiest way to run a lambda in clj/cljs/bb in 2023? Any go-to templates?

pesterhazy16:04:04

On docker I think

valtteri05:04:36

Nbb on node runtime is the easiest imo

๐Ÿ‘ 2
valtteri05:04:08

Hereโ€™s a minimal template using serverless framework https://github.com/vharmain/nbb-serverless-example

valtteri05:04:45

Check out holy-lambda for bb/clj

๐Ÿ‘ 2
grav07:05:06

Full disclosure - I made it, it runs with Lumo and an outdated cljs-self hosted version, and it's pretty darn slow

grav07:05:38

Wrt the other runtimes - are there any pre-deployed runtimes layers available? Couldn't find anything in the docs.

jmglov04:05:59

The problem with a pre-deployed runtime is that you have to open up your runtime to the world, which sounds scary to at least me (and perhaps others).

jmglov04:05:48

Big +1 for holy-lambda if you need CLJ. I'm of course partial to Blambda for bb. ๐Ÿ˜‰