Configuring an AWS Lambda Target on an Application Load Balancer

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Creating an AWS Lambda Function
lock
Configuring an AWS Lambda Target on an Application Load Balancer

Ready for the real environment experience?

DifficultyIntermediate
Time Limit1h
Students28
Ratings
5/5
starstarstarstarstar

Description

Application Load Balancers support content-based routing and are capable of distributing traffic across multiple targets and multiple Availability Zones. One type of target that is capable of serving HTTP requests to an application load balancer is an AWS Lambda function. This allows you to build out your serverless applications using AWS Lambda, then configure an application load balancer to provide the HTTP frontend to serve your client requests.

In this lab, you will create an AWS Lambda function that will be used to retrieve an HTML file from an Amazon S3 bucket. You will also configure the necessary listener rule and target group to allow an application load balancer to invoke your function.

Learning Objectives

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

  • Create an AWS Lambda function
  • Create an Application Load Balancer listener rule
  • Create an Application Load Balancer target group

Intended Audience

  • Candidates for the AWS Certified Solutions Architect - Associate exam
  • Cloud Architects
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Elastic Load Balancing (ELB)
  • AWS Lambda

If you need a refresher, refer to the following labs:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content.