very very very good tutorial! If all tutorials were made like this our lives would be significantly easier.
@denistsur3060
Жыл бұрын
you are first who explained about Linux/ Mac differences
@onieniola5579
8 ай бұрын
Thanks for the detailed explanation, for window user you might want to change /bin/bash to //bin//bash
@renukasrivastava1167
6 ай бұрын
Great video. Thanks. Somethings were missing but still helped a lot
@harinijaan3779
5 ай бұрын
Thanks for detailed info
@capocianni1043
Жыл бұрын
I had issues like image named aws_lambda_builder_image, you should first build it with "docker build . -t aws_lambda_builder_image" Then in runner_sh, add quotes on $container_name and $docker_image. It should look like "$container_name"
@suryakirankannaa
5 ай бұрын
Thank you for writing this. I was stuck at this step.
@suryakirankannaa
5 ай бұрын
Though the layer didn't work in my Lambda function. I got this error. "Unable to import module 'lambda_function': No module named 'pandas'" I did add both layers in Lambda function. And selected Python 3.8 for Lambda and Layers.
@chanpreetsingh007
Жыл бұрын
build the image first docker build . -t aws_lambda_builder_image
@tylersnard
Жыл бұрын
@Felix you forgot to mention this step
@kesterbelgrove818
2 жыл бұрын
Hi, this did not work for me. It would be good if you would consider those of us who are starting at this point or at least direct us to resources to have all the libraries and dependencies installed and ready for this to work. I am supposing that there are dependencies missing since I am starting at this point. I'm going to look for a video that can give me the full setup and running. Thanks though
@faynercosta7134
Жыл бұрын
I posted the solution on the comments.
@mikecmw8492
Ай бұрын
Too much for a lambda layer. Why would you even use docker?
@suryakirankannaa
5 ай бұрын
Didn't work. I got this error. "Unable to import module 'lambda_function': No module named 'pandas'" I did add both layers in Lambda function. And selected Python 3.8 for Lambda and Layers.
@georgesmith9178
Жыл бұрын
Awesome info, gave you a thumbs-up, of course. Two suggestions: 1. Show a simple diagram that explains install docker, create a container, then a python environment in that container, which then does all the work and spits out the zip file with the library outside the container (a picture is worth a thousand words). 2. Suggest using virtual box with a Linux VM as an alternative - not everyone like containers :)
@khandoor7228
2 жыл бұрын
Great job, great information, very relevant, very important
@FelixYu
2 жыл бұрын
Thanks mate!!
@MMeffert
2 жыл бұрын
Great video! Thank you. Can you supply the code you pasted?
@FelixYu
2 жыл бұрын
Thank you. Let me check if I save it!!
@faynercosta7134
Жыл бұрын
I posted the solution on the comments.
@khandoor7228
Жыл бұрын
Hey Felix quick Question, Why not create 1 layer with all your commonly used packages and reuse it for your different projects instead of a separate layer for individual packages? Can you go either way as your preference?
@FelixYu
Жыл бұрын
We can certainly create a layer with all the commonly used packages (that’s what a lot of ppl do at work actually). One thing to watch out for is..projects evolve over time, we will needa adjust the layers over time when new projects are added and stuff
@faynercosta7134
Жыл бұрын
I posted the solution on the comments.
@bessa0
Жыл бұрын
I've been stuck for ages wondering why my package wasnt working. I was using windows and the Lambda linux xD
@tylersnard
Жыл бұрын
docker: Error response from daemon: pull access denied for aws_lambda_builder_image, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
@chphaniramchowdary6505
Жыл бұрын
I am getting same error, any solution for this?
@indraalapati989
Жыл бұрын
Thank you for explaining the layers concept. How are these layers helpful in production ? Because I don't want to edit the code on console in production and moreover the code is shared in the repo. Can we pass handler to layer along with libs to execute my business logic instead of editing directly on console ?
@georgelza
Жыл бұрын
i'm stuck when trying to import confluent_kafka as a layer, it keeps saying can't find confluent_kafka.cimpl. I've even tried what you showed as 1:09, still same problem (as just a work around). curious, is there a permission that needs to be assigned to a lambda function to get access to a lambda layer ?
@georgelza
Жыл бұрын
maybe ignore me for now. lookalike your video might be covering my problems. are your files you create available by any chance, otherwise we have to retype it allllll
@georgelza
Жыл бұрын
trying to map your instructions onto how to make this work on a M1 based MAC.
@kharalanova
8 ай бұрын
VERY DISAPPOINTING! The solution is half baked, and half explained and half demonstrated. DON'T WASTE YOUR TIME on this video and author. I should have guessed as soon as I saw that there is no repo to copy the scripts from and I had to type them.
@gautamdawar5067
2 жыл бұрын
does not work on windows
@faynercosta7134
Жыл бұрын
I posted the solution on the comments.
@sherrygirgis9540
Жыл бұрын
@@faynercosta7134 where's the solution?
@faynercosta7134
Жыл бұрын
@@sherrygirgis9540 I'm sorry, but the author may have deleted it. If I'm not misstaken, at the end what I did was to set up the packages in a layer via AWS CLI directly and upload to lambda from there.
@StanislavSkibitskyi
8 ай бұрын
this is old
@ManojKumar-zn2gf
11 ай бұрын
Thanks for the video, it was very clear and precise, In the same way, I wanted to use the azure-identity package with my aws lambda function so for that purpose I created a directory and installed the azure-identity package using the pip command then converted it into a zip file and uploaded it to AWS lambda function along with function.py file. When I ran the script I got the import error stating that Error Message: { "errorMessage": "Unable to import module 'lambda_function': cannot import name 'x509' from 'cryptography.hazmat.bindings._rust' (unknown location)", "errorType": "Runtime.ImportModuleError", "requestId": "3e17800f-0330-40f5-af54-69d860fbfdc1", "stackTrace": [] } which is the dependent package for the azure-identity package. I would be grateful if you could please help me on how to fix this issue.
Пікірлер: 40