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

Publicado em: 13 Maio 2024
no 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


Nesta página do site você pode assistir ao vídeo on-line Create Lambda Layers | Easily Add Python Dependencies to Lambda with AWS Layers duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Tech with Hitch 13 Maio 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 23,086 vezes e gostou 343 espectadores. Boa visualização!