Hands-On LabIntermediate

Create and Deploy a REST API with Amazon API Gateway

Build a REST API using API Gateway with Lambda proxy integration, configure CORS, deploy to a stage, and test endpoints with curl.

60 minEstimated time
4Guided steps
AutoVerification
IsolatedSandbox
Create and Deploy a REST API with Amazon API Gateway

Lab overview

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. REST APIs in API Gateway offer full API management features, including API keys, throttling, and usage plans.

In this lab, you will build a REST API from scratch using Amazon API Gateway with AWS Lambda proxy integration. You will create API resources and methods, enable Cross-Origin Resource Sharing (CORS) to support browser-based clients, deploy the API to a stage, and test your endpoints using curl from the command line.

By the end of this lab, you will understand the end-to-end workflow of creating and deploying a REST API with API Gateway, including how resources map to URL paths, how methods define allowed HTTP operations, and how stages enable versioned deployments.

Objectives

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

  • Create a REST API in Amazon API Gateway with resources and methods
  • Configure Lambda proxy integration to connect API methods to a backend function
  • Enable CORS on API Gateway resources to allow cross-origin requests
  • Deploy an API to a stage and test endpoints using curl

Who is this lab for?

This lab is designed for:

  • Cloud engineers learning to build serverless APIs on AWS
  • Solutions architects preparing for the AWS SAA-C03 certification
  • Developers who want hands-on experience with API Gateway REST APIs

Verified against your live environment

An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed — not multiple choice, real-world proficiency.

[CHECK] validation_activelive
Inspecting deployed resources...
Verifying configuration state...
✓ Step requirements satisfied

More labs like this

Related reading

PremiumIncluded in Premium
Duration
60 min
Steps
4

Environment

Live Cloud EnvironmentBrowser Code IDE

Every lab includes

  • Real environment, pre-credentialed
  • Automated checks on every step
  • Isolated sandbox, auto cleanup
  • AI-recommended next steps

Lab curriculum

  1. 01

    Signing into AWS Console

  2. 02

    Create REST API with Resources and Lambda Integration

    1 automated check

  3. 03

    Enable CORS on API Gateway Resources

    1 automated check

  4. 04

    Deploy API to Stage and Test with curl

    1 automated check

Not the lab you were looking for?

Browse 150+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.

Explore the catalog