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
Смотрите видео Create Lambda Layers | Easily Add Python Dependencies to Lambda with AWS Layers онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tech with Hitch 13 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,157 раз и оно понравилось 126 людям.