hands-on lab
Deploying AWS Lambda Functions With Container Images
Difficulty: Beginner
Duration: Up to 45 minutes
Students: 47
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Description
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
Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Connecting to the Virtual Machine using EC2 Instance Connect
Building an AWS Lambda Container Image