hands-on lab

Creating a RESTful API Using Amazon API Gateway

Difficulty: Beginner
Duration: Up to 1 hour and 15 minutes
Students: 430
Rating: 4.7/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

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

Prerequisites

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

  • Experience with REST APIs

Updates

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

Environment before

Environment after

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