Tag api-gateway

Cognito Under the Hood

Have you ever implemented a user database and authentication layer yourself? There are many things to get right: Hashing and salting passwords, multi-factor authentication, brute force attacks, and many more. That’s why I recommend using a production-re...

Read more

Serverless Hybrid Cloud: Accessing an API Gateway via VPN or Direct Connect

Recently, I’ve been coaching a team building a Serverless application. The extraordinary thing about it? We had to create a solution fitting into the hybrid cloud approach of the organization. An essential requirement was that the Serverless application...

Read more

Comparing API Gateways on AWS

Of the different API gateways offered by AWS, which option fits your needs? An API Gateway is “a server that acts as an API front-end, receives API requests, enforces throttling and security policies, passes requests to the back-end service, and then pa...

Read more

How to enable CORS on API Gateway with Lambda proxy integration?

When building single-page applications (SPA), you will sooner or later stumble upon Cross-Origin Resource Sharing (CORS). In short, a browser does only allow requests to the same same origin (domain, protocol and port), that was used for the initial req...

Read more

Review: API Gateway HTTP APIs - Cheaper and Faster REST APIs?

An API gateway acts as an API front-end that receives API requests from clients and forwards them to back-end services. Typically, an API gateway offers the following features: Throttling Billing Authentication and authorization Request validation Requ...

Read more

Serverless WebSocket API: API Gateway, Kinesis, Lambda

Nowadays, it is a common approach to use a RESTful API following the synchronous request/response model. But what about asynchronous communication? Or communication that is synchronous but could be modeled asynchronous as well? A WebSocket API based on ...

Read more

Customized rate limiting for API Gateway by path parameter, query parameter, and more

API Gateway provides a feature to limit the number of requests a client can make per second (rate) and per day/week/month (quota). Rate limiting is very useful to protect your system from resource starvation caused by a client flooding your system with ...

Read more

AWS Velocity Series: Serverless app

The API Gateway provides an HTTPS endpoint that invokes a Lambda function when a request arrives. The diagram was created with Cloudcraft - Visualize your cloud architecture like a pro. As you can see, there is not much infrastructure to set up. To mak...

Read more

Reference API Gateway Models in CloudFormation

API Gateway Models are defined using JSON Schema. You can reference a Model inside another Model using the $ref field. If you are familiar with the OpenAPI Specification fka Swagger, you may have seen something like this: { "$ref": "#/definitions/...

Read more

Create a serverless RESTful API with the Serverless Framework powered by API Gateway, Lambda, and DynamoDB

This article teaches you how to create a Serverless RESTful API on AWS with the Serverless Framework. DynamoDB is used to store the data. The example’s source code is available on GitHub and can be used to speed up your project. If you are interested i...

Read more