Securing and managing your serverless workloads with the new Cloud API Gateway
API Gateway is a fully self-managed API management service with high performance and scalability from Google Cloud. It does not need any type of additional implementation such as proxies or ESP. API Gateway also provides the easy consumption of services for developers, protection of services, and tools for monitoring, alerts, logging, and tracing.
In this section, we will review in detail how to implement an API management solution made in API Gateway on serverless components.
Deploying a serverless API using Cloud Functions
The first thing we have to do before implementing the API Gateway solution is to have an API to work on. In this case, we will deploy an API in Cloud Functions to demonstrate how to protect a serverless service using API Gateway.
For this particular example, we will deploy a cloud function with a trigger of the HTTP type and a GET
call to which we will return the words Dog...