https://kotlinlang.org logo
Title
a

andyg

01/07/2022, 8:52 AM
Hi! Do any serverless or function-as-a-service providers currently support JVM 17? As of Jan 2022 AWS Lambda only supports Java 11, same with Azure Functions. Google Cloud Functions (very specific) supports JVM 11.0.6 running on Ubuntu 18.04. Other providers like Netlify, Render.com, Vercel don't support Java at all 😞 Would love to see a service step to 17.
t

todd.ginsberg

01/07/2022, 12:55 PM
I haven’t actually done it, but AWS Lambda supports custom runtimes. https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html
a

andyg

01/07/2022, 1:50 PM
Thanks, yes I've seen that. Another option is Docker of course, since most serverless platforms allow you to run any Docker container. But either of these options add a lot of complexity... I'd rather continue hosting on my own server for now as it has been reliable and I've already built a CI/CD pipeline.
👍🏻 1