The hands-on lab is part of these learning paths

Solutions Architect – Professional Certification Preparation for AWS (2019)
course-steps 45 certification 1 lab-steps 18 description 2
SysOps Administrator – Associate Certification Preparation for AWS - 2018
course-steps 33 certification 1 lab-steps 30 description 5
Certified Developer – Associate Certification Preparation for AWS - June 2018
course-steps 26 certification 4 lab-steps 22 description 2
Scenario: Migrating From an End-of-Life Data Center to AWS
course-steps 6 certification 1 lab-steps 8 quiz-steps 2
Serverless Computing on AWS for Developers
course-steps 11 certification 1 lab-steps 8
Getting Started with Serverless Computing on AWS
course-steps 7 certification 1 lab-steps 9
Certified Developer—Associate Certification for AWS
course-steps 14 lab-steps 15 quiz-steps 18
more_horiz See 4 more

Lab Steps

Logging in to the Amazon Web Services Console
Welcome to AWS Lambda
Creating a New Lambda Function
Understanding and Testing the Example IoT Lambda function
Cleaning Up the Lambda Function
Validate AWS Lab

Ready for the real environment experience?



Lab Overview

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, Kinesis streams, or a variety of other sources. Owing to its versatility, Lambda has found use in mobile apps, Internet of Things backends, and big data systems.

Learning Objectives

Upon completion of this Lab, you will be able to:

  • Understand what Lambda functions are and what makes them unique
  • Create Lambda functions using the AWS Console
  • Test Lambda functions
  • Delete Lambda functions


You should be familiar with:

  • Node.js development experience is beneficial, but not required

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:


January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

June 25, 2018 - Complete update (easier to follow instructions, updated screenshots)

Environment before
Environment after

About the Author

Ryan and his faithful business partner Jade build tools for OpenStack and AWS to automate support of high-availability applications. Offline, he can be found buried in human factors books looking for ways to build more resilient systems.

Ryan loves working with large systems, the less predictable the better. Scaling, load balancing, and graceful failure handling are his favorite classes of problems.

His free time quickly fills with personal projects and self directed research on new tools or different areas of software development.