We have open-sourced a set of software packages, Runtime Interface Clients (RIC), that implement the Lambda Runtime API, allowing you to seamlessly extend your preferred base images to be Lambda compatible. The Lambda Runtime Interface Client is a lightweight interface that allows your runtime to receive requests from and send requests to the Lambda service. The Lambda Ruby Runtime Interface Client is vended through rubygems. You can include this package in your preferred base image to make that base image Lambda compatible. The Ruby Runtime Interface Client package currently supports Ruby versions 2.5.x up to and including 2.7.x. To make it easy to locally test Lambda functions packaged as container images we open-sourced a lightweight web-server, Lambda Runtime Interface Emulator (RIE), which allows your function packaged as a container image to accept HTTP requests.
Features
- Create a Docker Image for Lambda with the Runtime Interface Client
- The supported Linux OS distributions are Amazon Linux 2, Alpine, CentOS, Debian, Ubuntu
- To make it easy to locally test Lambda functions packaged as container images we open-sourced a lightweight web-server, Lambda Runtime Interface Emulator (RIE), which allows your function packaged as a container image to accept HTTP requests
- Run your Lambda image function using the docker run command
- This project is licensed under the Apache-2.0 License
- Recommended way is to set the Docker Hub credentials in CodeBuild job by retrieving them from AWS Secrets Manager