aws-lambda 2023-04-27

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

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

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

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).

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

On docker I think

Nbb on node runtime is the easiest imo

πŸ‘ 1

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

Check out holy-lambda for bb/clj

πŸ‘ 1