Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

Java GraalVM native image on serverless custom runtime

Java GraalVM native image on serverless custom runtime

Learn how to use GraalVM native image in Java-based Lambda functions. When you create an executable binary using GraalVM native image, you can use AWS Lambda's custom runtime and execute the native image. Running GraalVM native image shows major performance optimization for Java based Lambda functions. Visit this repository to see the performance benchmarks on running GraalVM native image at scale.
This is a simple serverless application built in Java and uses the GraalVM native-image tool. It consists of an API Gateway endpoint backed by four Lambda functions and a DynamoDB table for storage.

< Back to all repos


GitHub icon Visit the GitHub repo for this sample application.

Clone this repo

git clone https://github.com/aws-samples/serverless-graalvm-demo

  • Language: English
  • Runtime: Java
  • Level: 300
  • Framework: AWS CDK
  • Type: Examples

  • Mark Sailes

    Presented by Mark Sailes

    Mark is a specialist solutions architect focusing on serverless services at AWS. His love of serverless technology came from his time as an AWS customer, where he successfully transformed an in-house sports trading solution to cloud native technology. He holds 8 AWS certifications and is currently chasing the rest.

    Follow on LinkedIn