Micronaut 2: AWS Lambda Functions 🔗
September 1, 2020
Micronaut 2 brings improvements to the way you write AWS Lambda functions. There are several things to consider (what's is your Lambda trigger, are you able to write a GraalVM Native Image of the function) which define what dependencies do you need, what is your handler, how to mitigate cold startup.
Moreover, I wrote several companion Micronaut Guides:
|Application||Java 11||Deploy a Micronaut application to AWS Lambda Java 11 Runtime JAVA KOTLIN GROOVY|
|Application||GraalVM Native Image Custom Runtime||Deploy a Micronaut application as a GraalVM Native Image to AWS Lambda JAVA KOTLIN|
|Serverless Function||Java 11||Deploy a Serverless Micronaut function to AWS Lambda Java 11 Runtime JAVA KOTLIN GROOVY|
|Serverless Function||GraalVM Native Image Custom Runtime||Deploy a Serverless Micronaut function as a GraalVM Native Image to AWS Lambda JAVA|