Aws Lambda - Using java11 and node.js together

Viewed 51

I have an AWS java 11 lambda that uses node.js as well - meaning a java application that needs to run something on node.js as well. Is there a way to deploy a lambda with 2 runtimes (java11 and node.jsX)?

I know I can add a layer to the lambda with the relevant node.js binaries and use it, but it's not ideal.

Any ideas are welcome.

1 Answers

I don't think the Lambda layer approach would be very easy to work with. I would use one of the Lambda base container images and then add any additional binaries you require.

Related