This lab demonstrates how to use AWS Lambda as the compute environment to create a grid image and store it in an S3 bucket. Then view the image using an S3 pre-signed URL.
Level
Intermediate
Duration
1 hour 0 minutes
Course objectives
By the end of this lab, you will be able to do the following:
   •   Create a deployment package, including the application code and Python package requirements.
   •   Run an AWS CLI command to create a Lambda function.
   •   Run an AWS CLI command to invoke a Lambda function with an event.
   •   Inspect Amazon CloudWatch Logs after invoking a Lambda function.
Intended Audience
This course is intended for:
   •   Developers
Prerequisites
To successfully complete this lab:
   •   You should be familiar with basic navigation of the AWS Management Console.
   •   You should be comfortable editing and running scripts by using an AWS Cloud9 code editor and terminal.
   •   You should have a basic understanding of and familiarity with AWS Lambda.
Course outline
   •   Task 1: Create and run a Lambda function
   •   Task 2: Create the Lambda function
   •   Task 3: Review the logs in CloudWatch Logs after invoking the Lambda function