Create Lambda Layers | Easily Add Python Dependencies to Lambda with AWS Layers

Published: 13 May 2024
on channel: Tech with Hitch
23,086
343

In this tutorial we cover how to add popular python packages like requests and beautifulsoup4 as dependencies to a Lambda using AWS Lambda layers.

1) We start by packaging are layer into a virtual enviorment
2) We upload the zipped folder to Lambda layers that has all the dependencies following the correct path
3) We then create a Lambda function and pick custom layer connecting the Lambda to out newly created layer.

And that is it! For more info on packaging your layer for runtimes beyond Python I suggest having a look through the following documentation - https://docs.aws.amazon.com/lambda/la...

0:00 What are Lambda Layers?
2:15 Packaging our layer with terminal commands
4:30 Creating the Layer
6:00 Connecting Lambda with our Layer
8:30 Final Demo

#aws #awslambda #awstutorialforbeginners #awstutorials #awstutorial


On this page of the site you can watch the video online Create Lambda Layers | Easily Add Python Dependencies to Lambda with AWS Layers with a duration of hours minute second in good quality, which was uploaded by the user Tech with Hitch 13 May 2024, share the link with friends and acquaintances, this video has already been watched 23,086 times on youtube and it was liked by 343 viewers. Enjoy your viewing!