hands-on labConfiguring AWS Lambda Layers
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab steps
Logging In to the Amazon Web Services Console
Creating a Python Lambda Layer
Configuring an AWS Lambda Function Layer using AWS SAM
Lab 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


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:

Environment before
environment before preview
Environment after
environment after preview
About the author
Jun Fritz
Cloud Labs Developer
Learning Paths

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics