DEV Community

Cover image for Learning AWS day by Day - Day 58 - Amazon API Gateway
Saloni Singh
Saloni Singh

Posted on

Learning AWS day by Day - Day 58 - Amazon API Gateway

Exploring AWS !!

Day 58

Amazon API Gateway

For creating, publishing, maintaining, monitoring, and securing REST, HTTP, and WebSocket APIs at any scale. APIs can also be created by the developers.
API Gateway can create RESTful APIs that are HTTP based, stateless client server communication and implement standard methods like PUT, GET, POST, PATCH and DELETE
API Gateway can create WebSocket APIs that enables client server communication in two ways, or you can say a duplex communication, and route incoming messages based on the web content.
We can also use AWS services as one of the integration methods as per our use case.

Architecture:
APIs that are build in API Gateway provide an integrated and consistent developer experience for building serverless applications. Handles all the tasks involving thousands of concurrent APIs. These tasks include authorization, task management and access control, monitoring, and API version management.
API Gateway acts as a front-door for applications in case to access data, business logic, or functionality from backend services, like EC2 running, or any application running on lambda, or real time applications.

Image description

Features:
Supports HTTP, REST and WebSocket APIs.
CloudTrail logging and monitoring of APIs.
Canary release deployments for rolling out changes.
Authentication mechanisms like IAM, Lambda Authorizer, Cognito.
Use of CloudFormation templates to enable API creation.
Supports custom domain names.

You can access API Gateway through console, SDK, V1 & V2 API references, CLI and PowerShell.

API Gateway as well is considered to be serverless along with lambda.

Top comments (0)