Skip to main content
Version: Cloud

AWS Lambda Integration


The AWS Lambda Extension is designed to forward logs from your AWS Lambda functions to SnappyFlow without requiring an external transport such as CloudWatch Logs.

This lightweight extension runs alongside your AWS Lambda functions. Submitting Lambda logs with the extension is supported in all Lambda runtimes.


Enable Lambda extension in your function

  • As Lambda Layer

    • Add the Lambda Layer for the SnappyFlow extension to your AWS Lambda function with the following ARN:


      Replace <AWS_REGION> with the same AWS region as your Lambda Function, for example, us-west-2

  • As Container Image

    • Add the SnappyFlow Lambda extension to your container image by adding the following to your Dockerfile:

      COPY --from=snappyflowml/sf-lambda-extension:latest /opt/extensions/ /opt/extensions 
    • Add the environment variable SF_PROFILE_KEY and set the value to your profile key copied from SnappyFlow

    • Add environment variables APP_NAME and PROJECT_NAME with appropriate values