Securing a Serverless Backend with Amazon API Gateway and Lambda

Securing a Serverless Backend with Amazon API Gateway and Lambda
Securing a Serverless Backend with Amazon API Gateway and Lambda

CLOUD LABS



Securing a Serverless Backend with Amazon API Gateway and Lambda

In this lab, you’ll build and secure a REST API using AWS Lambda and API Gateway with API keys. This challenge-based exercise is designed for hands-on practice; step-by-step instructions will not be provided.

1 Task

intermediate

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Technologies
Lambda logoLambda
API Gateway logoAPI Gateway
IAM logoIAM
Cloud Lab Overview

An API Gateway serves as the front door for your application, handling every request and routing it to the appropriate backend service. It provides features like request validation, throttling, authorization, and monitoring, allowing you to centralize security and traffic management for all your APIs without having to build controls into each service, without step-by-step instructions.

In this Challenge Cloud Lab, you’ll create and secure a public REST API in AWS by exposing a serverless backend through Amazon API Gateway. Incoming requests must invoke your Lambda function over a regional endpoint, with robust controls to ensure only authorized clients can access it under defined rate and quota limits.

The following shows the high-level architecture diagram of the infrastructure you’ll create in this challenge:

Overall architecture diagram for building and securing the REST API
Overall architecture diagram for building and securing the REST API

AWS services you’ll be tested on:

  • AWS Lambda

  • Amazon API Gateway

  • AWS Identity and Access Management (IAM)

Cloud Lab Tasks
Configure a Secure API Gateway
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Course

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like