MENU

Fun & Interesting

How to Run a Python Docker Image on AWS Lambda

pixegami 45,778 2 years ago
Video Not Working? Fix It Now

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. 🛠️ Project Code: https://github.com/pixegami/aws-lambda-docker 🔗 Links Lambda Base Images: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#runtimes-images-lp AWS CLI: https://aws.amazon.com/cli/ AWS CDK: https://docs.aws.amazon.com/cdk/v2/guide/home.html Docker: https://www.docker.com/ 📚 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

Comment