Skip to content

uscheller/aws-lambda-runtime-pypy

Repository files navigation

aws-lambda-runtime-pypy

Custom Runtime for AWS Lambda using the Pypy interpreter. This was inspired by the AWS Tutorial for creating a Custom Runtime

This runtime is experimental and a Proof of Concept.

Details

  • Uses a plain Pypy distribution downloaded from https://pypy.org/download.html
  • Deployed package is below 20 MB in size (manually removed unnecessary Python libraries)
  • Long running tasks benefit from using Pypy on Lambda
  • Short running, not CPU limited tasks are better off using the default Python runtime

Usage

You should have your AWS tools and credentials set up and the Serverless Framework installed.

Run

sls deploy

for deploying this example Lambda based on a Pypy runtime to AWS.

Credits

Created by Ulrich Scheller

More details can be found in this blog post

About

Custom Runtime for AWS Lambda using the Pypy interpreter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published