Lambda Runtime
Last updated
Last updated
Lambda Runtime provides the facility to add/create docker runtime images. These runtimes then can be used as runtime for Lambda Functions. User can create as many docker images according to different use cases for different languages and different dependency versions.
Let us create a docker runtime image for pymongo with Python3.
To create a Lambda Runtime, go to Code > Lambda Runtime and click on Add New button. Enter the basic details - Name, Tag Name, Description, Select Interpreter (Python 3 in our case) and add the pymongo dependency in Dependencies tagged input field.
Finally, click on create button & save the details and wait for a few seconds for the image to be created.
You can use this docker image in Lambda as a runtime environment. Please refer to the Lambda section for its usage.