How to Run a Python Docker Image on AWS Lambda

preview_player
Показать описание
Learn how to run a Python Docker image on AWS Lambda using Lambda container images.

Using Docker containers for your Python app on AWS Lambda means you can create a special environment for your app with its own tools and settings, making sure it works everywhere, and also making it easy to include all the things (libraries and packages)your app needs to run correctly.

🔗 Links

📚 Chapters
00:00 Why run Docker on AWS Lambda?
01:04 Create CDK Project
01:45 Create a Python handler app
04:07 Create Dockerfile for Lambda
06:23 Test the Docker image locally
07:11 Create AWS Docker Lambda with CDK
09:44 Deploying to AWS
11:59 Wrapping up

#pixegami #aws
Рекомендации по теме
Комментарии
Автор

You are brilliant!! Following your steps, I deployed several Python apps to AWS Lambda. Your instructions were clear, code was perfect (worked fine without any changes) and explanations were precise. Very rare in free YouTube tutorials. Thank you.

sweetymjct
Автор

Dude, I cannot tell you how AMAZING you are and how AMAZING this video is. I could literally hug you through the screen. Thank you so much for your video man. It was a PERFECT explanation.

tangled
Автор

How do you even know what we want? Short simple to the point explanation. Thank you so much. Please keep creating such amazing videos!

visheshmp
Автор

Perfect! This video is brilliant, If anyone need to Run a Python Docker Image on AWS Lambda. Check this, You will definitely able to solve your issue

champikadilshan
Автор

Fantastic video. It covered so much (CDK, Docker, Lambda) in just 13 minutes. And it actually all works really easily. My first interaction with lambda was a few years ago and decided I would never, ever touch it. But after this video, with CDK and the other progress since then, I am reconsidering moving my workflows over to lambda instead of FastAPI. Pretty much all because of watching this video.

eb
Автор

Thank you for putting so much effort into this video, the quality is just magnificent. Your channel is super underrated, I hope you get the recognition that you deserve soon.

alphasauroxviix
Автор

Straight to the point and thorough, very nice job. Super helpful, thank you!

taylormonacelli
Автор

Thank you for sharing this! It saves me a lot of time trying to create a bunch of layers to execute some heavy deps functions on AWS Lambda 🤯🙏

igortrindade-dev
Автор

I'm very thankful for this video. I really struggle with GUI tools like websites. This command line interface solution really helped me to ship and urgent work I was struggling to configure on aws web interface. Thank you for your work.

JosephNOMO-mn
Автор

Thanks. It could be more helpful if you walk through the permission setting in IAM, as I end up spending an hour configuring that during bootstrapping as a newbie.

terryyyzhang
Автор

This is perfect! Great work, thanks!!!

beratgenc
Автор

New skill added to my resume, thank you so much :D

frkael
Автор

omg exactly what i needed thanks so much!!

Acumen
Автор

This is was so helpful! Thank you so much!

therydn
Автор

Thank you so much for the video. Very clear.
I have 1 question - the path you're using for all this, is it on your local machine? or is it via aws cli on the aws box, given the <ap-southeast-2>?

kchang
Автор

What if we want to use env variables? Where would we place them and how can we retrieve them in the py file?

immanuelpeter
Автор

I absolutely needed this bro. Thank you so much. +1 follow

CloudScience-zl
Автор

Thanks a lot ! Nice tutorial.
Do you plan to make a video tutorial for a larger project, such as building a full-stack website or something similar ?

davidcasanova
Автор

Fantastic video! However, how do we handle logic that takes more than 3 seconds to execute, considering Discord messages have a 3-second limit?

volodymyrtruba
Автор

Great explanation. What are ways you can pass parameters to the container?

prajganesh