AWS Lambda functions require deployment packages to deploy your code. The most common way to create a deployment package is to use a ZIP file, but developers can also use container images to deploy their Lambda functions.
AWS provides base images for Lambda functions that you can use to create your container images. In this lab, you will learn how to create a container image for an AWS Lambda function and deploy it to AWS Lambda. You will also learn how to update the Lambda function with a new container image.
Learning objectives
Upon completion of this beginner-level lab, you will be able to:
- Build and publish a container image to Amazon Elastic Container Registry (ECR)
- Deploy an AWS Lambda function using a container image
Intended audience
- Cloud Architects
- Software Engineers
Prerequisites
Familiarity with the following will be beneficial but is not required:
- Docker
- AWS Lambda
- Amazon Elastic Container Registry (ECR)
The following content can be used to fulfill the prerequisites:
Environment before
Environment after
Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications.
Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content.