Introduction to AWS Lambda


1988 students completed the lab in ~27m

Total available time: 45m

1020 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 will 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.


Do you have questions about this Lab? Contact our cloud experts by sending an email to

Follow these steps to learn by building helpful cloud resources

Logging in to the Amazon Web Services Console

Your first step to start the Lab 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.

Clean up the Lambda Function

Delete the Lambda Function from the Console.