Time Estimate: 10 - 15 minutes
What is AWS Lambda?
AWS Lambda lets you run code without provisioning or managing servers. With Lambda, you can run code for virtually any type of application or backend service - all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability.
For more information, see https://aws.amazon.com/lambda/.
What is a Lambda layer?
You can configure your Lambda function to pull in additional code and content in the form of layers. A layer is a ZIP archive that contains libraries, a custom runtime, or other dependencies. Layers let you keep your deployment package small, which makes development easier.
For more information, see https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html.
In this section you will create the Lambda layers. You will then create your Lambda functions and configure them to use those layers.
Make sure you are in N. Virginia region. Look for the Lambda service in the AWS Management console and click on the highlighted result to access the service. Click on Layers and then click Create layer as shown below:
Enter a name for the Layer, upload the
HelperLayer.zip file and choose the Python 3.7 runtime. Then click Create:
Repeat the same process to create another Layer using the
You should now see a similar screen like below in the Lambda Layers screen: