API Gateway REST & HTTP

Learn how to create, manage, and secure REST and HTTP APIs using AWS API Gateway.

api-gateway-config.json
{
"Type": "HTTP",
"Name": "my-api",
"Route": "/users",
"Method": "GET"
}
api-gateway-config.json
1 / 16
🚪

Tutor:API Gateway is a fully managed service that makes it easy to create, publish, maintain, monitor, and secure APIs at any scale. Think of it as a front door for your backend services.


API Gateway Mastery

Unlock nodes by learning new API Gateway concepts.

Concept 1: API Gateway Basics

API Gateway is a fully managed service that makes it easy to create, publish, maintain, monitor, and secure APIs at any scale.

System Check

Which API type is cheaper and simpler?


Community Holo-Net

Showcase Your API Configurations

Built a complex API Gateway setup? Share your AWS API Gateway examples and configurations.

API Gateway REST & HTTP APIs

Author

Pascual Vila

Cloud Instructor.

API Gateway is a fully managed service that makes it easy to create, publish, maintain, monitor, and secure APIs at any scale. Think of it as a front door for your backend services.

REST APIs

REST APIs are the original API Gateway offering. They provide comprehensive features including API keys, request/response transformation using Velocity Template Language (VTL), caching, and throttling.

HTTP APIs

HTTP APIs are a newer, simpler option. They're up to 60% cheaper than REST APIs and offer built-in support for CORS, automatic deployments, and OIDC/OAuth2. HTTP APIs are ideal for serverless workloads.

Integrations

Both REST and HTTP APIs support integration with AWS Lambda, HTTP endpoints, and other AWS services. The integration type determines how API Gateway forwards requests to the backend.

API Gateway Glossary

REST API
The original API Gateway offering with comprehensive features including VTL transformations, API keys, and advanced caching.
HTTP API
A newer, simpler API type that's up to 60% cheaper with built-in CORS support and automatic deployments.
Stage
A named reference to a deployment of your API. Stages allow you to manage different versions (dev, staging, prod).
Route
A combination of an HTTP method and a resource path that maps to an integration backend.
Integration
The backend service that API Gateway connects to. Can be Lambda, HTTP endpoint, or other AWS services.