Configuring AWS Lambda Layers
Description
AWS Lambda Layers are .zip file archives that can contain additional code or data to be used by your Lambda functions. These file archives can contain libraries, custom runtimes, data, or configuration files that can be used by your Lambda function.
AWS Lambda Layers provide the following benefits:
- Smaller code packages
- Quicker iteration on business logic and code deployments
- Promotes code sharing and reusability
- Separation of main function code and its dependencies
In this lab, you will walk through the process of creating two Lambda layers. The first layer will be a Python layer created using the AWS CLI and the AWS console. The second layer will be a Node.js layer that will be defined and deployed using the AWS Serverless Application Model (SAM) CLI.
Learning Objectives
Upon completion of this intermediate-level lab, you will be able to:
- Configure a Python AWS Lambda Layer in the AWS Console
- Configure a Node.js AWS Lambda Layer using AWS Serverless Application Model (SAM)
Intended Audience
- Candidates for the AWS Certified Developer - Associate Certification
- Cloud Architects
- Software Engineers
- Serverless Developers
Prerequisites
Familiarity with the following will be beneficial but is not required:
- AWS Lambda
- AWS Serverless Application Model
The following content can be used to fulfill the prerequisite: