API Gateway
The API Gateway service, as its name suggests, is a service geared toward creating and managing APIs' endpoints. From an architecture standpoint, the service can be seen a little bit like a load balancer such as the ALB or ELB that we saw earlier in the chapter. The ALB gives us the ability to do path-based routing and, for example, send all calls where the path starts with /api/ to the API service hosted on a specific Auto Scaling group. In the case of the API gateway service, the configuration goes one step further and, in addition to defining the path, we can also define a method (GET, POST, PUT, OPTIONS) and the integration type that can be almost anything (any AWS managed service, HTTP forwarding, or a static answer). This ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access