CLOUD LABS
Using Application Load Balancer with AWS Lambda
In this Cloud Lab, you’ll learn to integrate AWS Lambda with Application Load Balancer (ALB) by configuring listeners, target groups, and role-based access for scalable, serverless microservices.
beginner
Certificate of Completion
Learning Objectives
Modern applications require scalable, serverless architectures to efficiently handle user requests. When integrated with an Application Load Balancer (ALB), AWS Lambda allows dynamic request routing without the need for traditional compute resources. This Cloud Lab focuses on building a serverless learning platform where instructors can upload learning materials for learners. The ALB routes traffic to two Lambda-based microservices, ensuring role-based access control.
In this Cloud Lab, you’ll explore how ALB interacts with Lambda functions and learn to configure listeners and target groups for specific endpoints. You’ll set up a Lambda function for instructors to manage learning materials and another for learners to access available content. The ALB will be configured to route requests based on predefined paths, ensuring proper request distribution. Additionally, you test the system by simulating requests to validate role-based access and security.
By the end of this Cloud Lab, you’ll gain hands-on experience integrating Lambda functions with ALB and designing a structured request-routing mechanism. You’ll understand how ALB enables serverless microservices and how role-based access can be implemented in a scalable learning platform.
The following is the high-level architecture diagram of the final infrastructure that you will build in this Cloud Lab:
Before you start...
Try these optional labs before starting this lab.
Relevant Courses
Use the following content to review prerequisites or explore specific concepts in detail.
Felipe Matheus
Software Engineer
Adina Ong
Senior Engineering Manager
Clifford Fajardo
Senior Software Engineer
Thomas Chang
Software Engineer