New Training: Develop AWS Lambda Functions with Containers
In this 6-video skill, CBT Nuggets trainer Trevor Sullivan explores how to build custom Lambda functions with containers. Watch this new AWS training.
Learn AWS with one of these courses:
AWS Cloud Automation
This training includes:
48 minutes of training
You’ll learn these topics in this skill:
Introduction to AWS Lambda Containers with Python
Setting Up AWS Lambda Container Development Tools
Create Sample Application and Push to Amazon ECR
Create AWS IAM Role for Lambda Function and Deploy
Use the AWS CLI to Create Lambda Function from Container
Deploy New Version of Python Container to AWS Lambda
Preliminary Information For Creating Containers For Lambda
Cloud developers and engineers can make their own containers for use with AWS Lambda. Before using your own container with Lambda, there are a few things you need to know.
Containers can be created with tools like the Docker CLI. After a container is created, it can then be uploaded to the Amazon Elastic Container Registry. That container will need to be uploaded to the same account for Elastic Container Registry that will be using it with Lambda.
To assist with creating containers, AWS offers a set of open-source base container images. These base images include the runtime interface client for working with Lambda. If you choose to create your own container image without using these base images, remember to add that runtime interface client to your container build process.
Both Docker image manifest V2 and Open Container Initiative V1 and up can be used with Lambda. Lambda supports containers up to 10GB in size.