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

Publicado el: 13 mayo 2024
en el canal de: 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


En esta página del sitio puede ver el video en línea Create Lambda Layers | Easily Add Python Dependencies to Lambda with AWS Layers de Duración hora minuto segunda en buena calidad , que subió el usuario Tech with Hitch 13 mayo 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 23,086 veces y le gustó 343 a los espectadores. Disfruta viendo!