This tutorial could not be loaded.
Loading tutorial...
Interactive tutorial
Build, deploy, and test a small Python function in your own AWS account. Learn how Lambda receives events, how execution permissions work, and how to inspect logs and troubleshoot common mistakes. Finish by verifying your function with a new input and removing the tutorial resources. AWS usage may incur charges.
Step 1 of 8
3 min
Understand What Lambda Runs
Trace a greeting event through a Lambda invocation and distinguish its returned result from its log.
Step 2 of 8
4 min
Prepare a Safe AWS Workspace
Confirm an approved account, Region, permission path, and cost expectations before creating resources.
Step 3 of 8
5 min
Create the Function
Create the function in your approved AWS Region, select basic logging permissions, and verify its essential settings.
Step 4 of 8
6 min
Write and Deploy the Greeting Handler
Write, configure, and deploy a Python handler that returns a personalized greeting.
Step 5 of 8
5 min
Test Two Valid Events
Predict two JSON responses, run private console tests, and compare the returned payloads with your predictions.
Step 6 of 8
4 min
Find the Invocation Logs
Find your function's CloudWatch logs and connect application and platform records to a recent invocation.
Step 7 of 8
5 min
Diagnose and Fix a Simple Failure
Diagnose an invalid event, confirm a repair, and choose evidence-based checks for common Lambda mistakes.
Step 8 of 8
6 min
Verify Your Function and Clean Up
Verify a fresh greeting, connect the result to its log and permissions, and clean up tutorial resources safely.
Video Courses
recommended
recommended
recommended
recommended
Ideal for beginners
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks