How GraalVM works on AWS Lambda

Lambda with a Managed Java Runtime

For example the managed Java runtimes (Java 8, Java 8 Corretto and Java 11) you supply your code as a .zip or a .jar. AWS provisions a FireCracker MicroVM, downloads your code to it, starts the JVM and loads your code. On your behalf an AWS managed implementation of the Runtime API is asking Lambda for the next event to process.

demo

Using GraalVM with a Provided Runtime

When using a GraalVM native image you no longer want or need the managed Java runtimes. Instead you want the ability to directly decision what is executed. This functionality is enabled by the provided

demo