In this lab, you’ll deploy a sample application to AWS Lambda using a container image. You’ll use AWS Cloud9 as your cloud-based integrated development environment (IDE) to create the sample application, test it locally, and upload the container image to Amazon Elastic Container Registry (Amazon ECR). Finally, you’ll deploy it to AWS Lambda using the AWS Serverless Application Model (SAM).
Level
Intermediate
Duration
2 Hours 0 MinutesCourse Objectives
In this course, you will learn how to:
- Create and test a Lambda function locally in your Cloud9 development environment using the Lambda Runtime Interface Emulator
Upload your Lambda container image to the Amazon Elastic Container Registry (Amazon ECR)
Modify and re-upload the container used in your Lambda function
Invoke your Lambda function via an Amazon API Gateway endpoint
Intended Audience
This course is intended for:
- Architects
- System Operators
Prerequisites
We recommend that attendees of this course have the following prerequisites:
- Familiar with basic navigation of the AWS Management Console
Comfortable editing scripts using a text editor.
Course Outline
Task 1: Creating and Locally Testing your Function
Task 2: Deploying and Testing Your App
Task 3: Modifying Your App