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

Pubblicato il: 13 maggio 2024
sul canale di: 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


In questa pagina del sito puoi guardare il video online Create Lambda Layers | Easily Add Python Dependencies to Lambda with AWS Layers della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Tech with Hitch 13 maggio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 23,086 volte e gli è piaciuto 343 spettatori. Buona visione!