hands-on lab

Configuring HTTPS Endpoints on AWS Lambda Functions with AWS Lambda Function URLs

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 231
Rating: 3.8/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

AWS Lambda Function URLs are dedicated HTTPS endpoints for Lambda functions. With Lambda function URLs, developers do not need to rely on an intermediary service like API Gateway to map Lambda functions to HTTPS calls.

Function URLs allow invoking a Lambda function directly and can be associated with the latest version or a specified alias. Function URLs also allow developers to configure cross-origin resource sharing (CORS) to define how different origins can access and invoke the Lambda function via the URL. Function URL endpoints are globally unique and can be configured in the AWS console along with the AWS CLI or API. 

In this lab, you will create a Lambda function URL for both a new and existing AWS Lambda function using the AWS console. 

Learning Objectives

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

  • Configure a HTTPS endpoint on new and existing Lambda functions with an AWS Lambda Function URL

Intended Audience

  • Cloud Architects
  • Software Engineers

Prerequisites

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

  • AWS Lambda
  • Python

The following lab can be used to fulfill the prerequisite:

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Creating a New AWS Lambda Function and Function URL
Enabling a Function URL on an Existing AWS Lambda Function