Introduction to AWS Lambda
1285 students completed the lab in ~30m
Total available time: 45m
600+ students rated this lab!
Start using event driven programming thanks to AWS Lambda
AWS Lambda is a compute service that runs your code in response to events and automatically manages the compute resources for you, making it easy to build applications that respond quickly to new information. Lambda opens up all kinds of new possibilities, and can lower your costs at the same time. When running a job processing server in EC2, you are charged for compute time as long as your instance is still running. Contrast that with Lambda where you are only charged while actually processing a job. This makes Lambda a great fit for spiky or infrequent workloads because it scales automatically and minimizes costs during slow periods. The event-based model Lambda provides makes it perfect for providing a backend for mobile clients, other smart devices, or adding no-stress asynchronous processing to an existing application.
In this introductory lab you'll learn how to use AWS Lambda to easily run code to react to events. Events can come from DynamoDB changes, SNS messages, S3 objects, or Kinesis streams. Lambda was recently released from Developer Preview and has already found use in mobile apps, Internet of Things backends, and big data systems.
You'll build and learn following these steps:
Log In to the Amazon Web Service Console
Your first step to start the laboratory experience
Welcome to AWS Lambda
What is AWS Lambda? Why should you use it?
Create a new Lambda function
Create a Lambda function in the AWS Console.
IoT Lambda function example
Understand the Lambda function behaviour and test it.
Cleanup the Lambda Function
Delete the Lambda Function from the Console.