AWS Lambda Deployment Package in Python

preview_player
Показать описание
In this video, you will learn to create deployment packages for AWS Lambda to use python libraries that are not available in the AWS SDK.

The tutorial has been divided into 3 sections.
1) AWS Lambda Configuration - 1:12
2) Building the Deployment Package - 3:29
3) Scheduling jobs with AWS Cloudwatch - 9:43

To check out the basics of AWS Lambda, setting up configuration through IAM console and how to trigger a Lambda function via an S3 event, check out my previous video.

Check out my website -

Join my Facebook group -

Connect with me on Twitter -

Join me on Instagram -
Рекомендации по теме
Комментарии
Автор

Hello everyone!! For more insightful articles on Python and Data Engineering, join Pylenin's official Telegram channel.

PyLenin
Автор

Oh my god, I have been trying to figure out how to do that for 2 days and your video got me my answer in 10 minutes -- pip install x > zip it > upload! THANKS!

joelmora
Автор

Super Step-By-Step AWS Lambda based on python code creation video lesson. 👍
Based on this course I made my first deploy AWS Lambda of Python project for few hours.
Excellent lesson!

vladgursky
Автор

You are SO helpful. Literally one of the most straightforward walk-through's I've had the pleasure to find in my frantic google searches lol. Two thumbs up

jona
Автор

You are a lifesaver! I'm a beginner to lambda and was struggling for so many hours. A few mins from yr video and wola I got the hang of it. Your instructions are very clear and straightforward. Very easy for a beginner to catch up. You have great teaching skills. keep up bro!

ashaindesilva
Автор

What a straight-forward and easily followed video. Thank you

publicshared
Автор

Thank you - this showed me exactly what I'd been searching for.

I encountered an issue with the new UI where they moved things around. The "upload a .zip file" button moved to the actions menu just above the top right corner of the Function Code editor, and I never found the field to define a handler. I ended up naming the file with the handler function `lambda_function.py` and the handler function `lambda_handler` and it found the function.

Thank you again for a great tutorial!

hnsvill
Автор

You rock!! I've been struggling with the request module for 2 days. Read everything there is on StackOverflow and AWS documentation. I don't know how to thank you! Seriously!! You are the best! I'm subscribing!

anowlonedge
Автор

You're the man!! thanks for saving hours and hours of googling.

amssloth
Автор

Excellent tutorial! I have been looking for this all afternoon. At 7:42 mins has the most important step in this entire tutorial: `pip install <pkg> -t .` for local installs.

AtmaBMani
Автор

Excellent tutorial! Straight to the point. Thanks man.

jake
Автор

Do real life projects in your favorite programming languages and earn money. Join the group and choose a project suitable for you to work from home.

PyLenin
Автор

This was amazing! I too have been trying to figure this out for days with no luck. Thank you!

LearningToLiveNow
Автор

Excellent explanation of how to use lambda with python! Thank you!!

daytodatainc
Автор

Great, great video, really helped me out!

One thing I should mention here is to NOT zip the directory itself. If on Linux, perform a "zip -r layer.zip ." from inside the deployment directory. Upload this package. Another thing I should mention is if you see missing *.so errors in Lambda, ensure you've installed all the dependency packages needed on your machine using pip. In my case, I was trying to use "python-ldap", but I installed a dependency called "openldap" using yum instead of pip. As a result, all the *.so files were floating around in /usr/lib64 on Amazon Linux 2. Do a simple "find / -name something.so" and you should be able to locate them.

Copy all the files Lambda is complaining about into your deployment package and zip that baby up. Eventually, you'll run into other errors, but that's life.

namanrawal
Автор

This is an excellent video, covering the necessary info precisely. Amazing work!

rhythmpatel
Автор

u rock bro.. like ur smooth soothing accent and very clear explanation..

darwin
Автор

Fantastic! Got lost on so much old documentation showing boto.vendored library for requests but that is outdated and this video shows exactly what I needed.

Sograpes
Автор

Thanks dear, you made my day by full-filling something that I wanted to do in AWS. All the best

habeebkaradan
Автор

Hello Sir.
I just wanted to thank you for the very very good job here. Your video explains everything very clear. Cherry on top of the ice cream? The trigger. Thanks a lot for the great work. I give a like and definitely subscribe to your channel !!!

omarcruz