Hands-On AWS Lambda
☁️

Hands-On AWS Lambda

★ Premium · 📖 71 lessons

Build, deploy, and run serverless Python functions on AWS Lambda through real hands-on labs. Starting from your first handler, you'll work with the event and context objects, IAM execution roles, environment variables and secrets, dependencies and layers, S3 and SQS triggers, API Gateway, DynamoDB, error handling with dead-letter queues, logging and testing, and versioned deployments with CloudFormation, all with the AWS CLI in a ready-to-use emulated AWS environment.

📚 Get Access by Buying the Book
Every copy includes a free access code for this course.
Buy on Amazon →
← Back to Courses

Course Content

71 lessons
Module 1: Introduction to Serverless and AWS Lambda 5 items
1.1
What Serverless Really Means
Video
1.2
How AWS Lambda Works
Video
1.3
Setting Up Your Lambda Lab Environment
Video
1.4
Exploring Your Lambda Lab Environment
Lab
1.5
Introduction to Serverless and AWS Lambda Quiz
Quiz
Module 2: Your First Lambda Function 6 items
2.1
Writing a Minimal Python Handler
Video
2.2
Packaging and Creating a Function
Video
2.3
Invoking and Updating a Function
Video
2.4
Deploying Your First Python Function
Lab
2.5
Updating and Re-Invoking a Function
Lab
2.6
Your First Lambda Function Quiz
Quiz
Module 3: The Event and Context Objects 6 items
3.1
Understanding the Event Object
Video
3.2
Understanding the Context Object
Video
3.3
Structuring Handler Code
Video
3.4
Reading and Validating Event Data
Lab
3.5
Inspecting the Context Object
Lab
3.6
The Event and Context Objects Quiz
Quiz
Module 4: Permissions and Execution Roles 6 items
4.1
IAM Basics for Lambda
Video
4.2
Writing Custom Policies
Video
4.3
Granting Other Services Access to Your Function
Video
4.4
Creating an Execution Role from Scratch
Lab
4.5
Granting a Service Permission to Invoke a Function
Lab
4.6
Permissions and Execution Roles Quiz
Quiz
Module 5: Configuring Functions 6 items
5.1
Environment Variables
Video
5.2
Memory, Timeout, and Performance
Video
5.3
Secrets and Parameters
Video
5.4
Configuring a Function with Environment Variables
Lab
5.5
Reading a Secret from Secrets Manager
Lab
5.6
Configuring Functions Quiz
Quiz
Module 6: Packaging Dependencies and Layers 6 items
6.1
Adding Third-Party Packages
Video
6.2
Lambda Layers
Video
6.3
Sharing Code Across Functions
Video
6.4
Deploying a Function with Dependencies
Lab
6.5
Building and Using a Lambda Layer
Lab
6.6
Packaging Dependencies and Layers Quiz
Quiz
Module 7: Invocation Models and Event Sources 6 items
7.1
Synchronous and Asynchronous Invocation
Video
7.2
Triggering Lambda from Amazon S3
Video
7.3
Processing Messages from Amazon SQS
Video
7.4
Invoking a Function Synchronously and Asynchronously
Lab
7.5
Processing Messages from an SQS Queue
Lab
7.6
Invocation Models and Event Sources Quiz
Quiz
Module 8: Building APIs with API Gateway and Lambda 6 items
8.1
API Gateway Fundamentals
Video
8.2
Writing API Handlers in Python
Video
8.3
Deploying and Testing an API
Video
8.4
Writing a Proxy-Integration Handler
Lab
8.5
Exposing a Function Through API Gateway
Lab
8.6
Building APIs with API Gateway and Lambda Quiz
Quiz
Module 9: Building a Serverless Backend with DynamoDB 6 items
9.1
DynamoDB Essentials for Lambda Developers
Video
9.2
Reading and Writing Data with boto3
Video
9.3
Designing a Simple CRUD API
Video
9.4
Writing to DynamoDB from a Function
Lab
9.5
Building a CRUD Function
Lab
9.6
Building a Serverless Backend with DynamoDB Quiz
Quiz
Module 10: Error Handling and Resilience 6 items
10.1
How Lambda Handles Errors
Video
10.2
Capturing Failed Events
Video
10.3
Defensive Python in Lambda
Video
10.4
Observing Errors and Retries
Lab
10.5
Sending Failed Events to a Dead-Letter Queue
Lab
10.6
Error Handling and Resilience Quiz
Quiz
Module 11: Logging, Monitoring, and Testing 6 items
11.1
Logging with CloudWatch Logs
Video
11.2
Monitoring with CloudWatch Metrics
Video
11.3
Testing Lambda Functions Locally
Video
11.4
Structured Logging with CloudWatch Logs
Lab
11.5
Unit Testing a Handler with pytest
Lab
11.6
Logging, Monitoring, and Testing Quiz
Quiz
Module 12: Deployment, Versions, and Best Practices 6 items
12.1
Versions and Aliases
Video
12.2
Deploying Lambda as Infrastructure as Code
Video
12.3
Lambda Best Practices and Next Steps
Video
12.4
Publishing Versions and Managing Aliases
Lab
12.5
Deploying a Function with CloudFormation
Lab
12.6
Deployment, Versions, and Best Practices Quiz
Quiz