Lambda Runtime

Lambda Runtime provides the facility to add/create docker runtime images. These runtimes then can be used as a runtime for Lambda Functions. Users 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 the Dependencies tagged input field.

Code > Lambda Runtime > Add New

Finally, click on create button & save the details and wait for a few seconds for the image to be created.

Code > Lambda Runtime

You can use this docker image in Lambda as a runtime environment. Please refer to the Lambda section for its usage.

Last updated