hands-on lab

Creating a RESTful API Using Amazon API Gateway

1h 15m
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.
Lab description

REST stands for Representational State Transfer, an architectural style that provides standards for communication within a distributed system. An Amazon API Gateway REST API is a collection of resources and methods that are integrated with existing HTTP endpoints or AWS services such as AWS Lambda functions. 

In this lab, you will create a REST API in Amazon API Gateway and configure it to handle requests to return mock data. You will be introduced to API Gateway terminology which will help you build your own distributed systems. 

Learning Objectives

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

  • Create a REST API in Amazon API Gateway
  • Define an Amazon API Gateway model
  • Configure an Amazon API Gateway method
  • Deploy an Amazon API Gateway API

Intended Audience

  • Candidates for the AWS Certified Developer Associate exam
  • Software Engineers


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

  • Experience with REST APIs


October 25th, 2023 - Updated the instructions and screenshots to reflect the latest UI

Environment before
Environment after
About the author
Jun Fritz, opens in a new tab
Cloud Labs Developer
Learning paths

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. 

Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Creating a REST API Using Amazon API Gateway
Working with Amazon API Gateway Data Models
Setting Up Amazon API Gateway Resources and Methods
Testing an Amazon API Gateway REST API
Deploying an Amazon API Gateway REST API