Serverless APIs

There are several reasons for using an API Gateway, and the first is to abstract the implementation of your application or service away from the client. This is to allow you to have greater flexibility in how the business logic and processing are built, and so that the client doesn't have to understand the underlying data structures or storage layer.

In Chapter 1, The Evolution of Compute, we covered the basics of a microservice, and an API gateway is an integral part of enabling microservices to function. This is because an API layer serves as a common, structured, and predictable way of communicating with a service. The API specification or interface can be published so other microservices and consumers know how to request ...

Get Learn AWS Serverless Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.