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.
- 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
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.
Created by Ulrich Scheller
More details can be found in this blog post