Cloud Endpoints: The Review
Brief about Cloud Endpoints
| Cloud Endpoint |
Cloud Endpoints is a tool that assists you in developing, deploying, securing, and monitoring APIs on Google Cloud Platform. Endpoints is an API management solution that consists of services, run-times, and tools. Endpoints manage, monitor, and authenticate users.
Endpoints can be used with either the distributed Extensible Service Proxy (ESP) or the Extensible Service Proxy V2 (ESPv2). Each proxy gives assistance to the platforms listed below:
- App Engine flexible (ESP only)
- Google Kubernetes Engine (ESP or ESPv2)
- Compute Engine (ESP or ESPv2)
- Kubernetes (ESP or ESPv2)
- App Engine standard (ESPv2 only)
- Cloud Functions (ESPv2 only)
- Cloud Run (ESPv2 only)
- Cloud Run for Anthos (ESPv2 only
Feature of Cloud Endpoints:
- User Authentication
- API keys
- Automated Deployment
- Easy Integration
- Logging and Monitoring
- Lightning Fast
Endpoints Architecture:
| Cloud Endpoints Architecture |
Endpoint Components:
1. ESP:
The Endpoints Service Provider (ESP) is an NGINX-based proxy that runs in front of the backend and injects Endpoints features such as authentication, monitoring, and logging. ESP obtains a service configuration from Service Management and applies it to incoming requests to validate them.
ESP is intended for use in a containerized environment to validate JWTs and Google ID tokens. To remain lightweight and extremely performant, it leverages a variety of strategies such as substantial caching and asynchronous calls.
The following platforms are equipped with ESP support:
- App Engine flexible environment
- Compute Engine
- Google Kubernetes Engine
- Kubernetes
2. ESPv2:
ESPv2 is a high-performance, scalable proxy built on Envoy that sits in front of an OpenAPI or gRPC API backend. Endpoints on ESPv2 support the OpenAPI Specification version 2 and the gRPC requirements.
ESPv2 interacts with Google Service Infrastructure to allow API administration capabilities such as authentication, telemetry reports, metrics, and security at scale.
Support for ESPv2 is available for the following platforms:
- App Engine Standard environment
- Cloud Functions
- Cloud Run
- Cloud Run for Anthos
- Compute Engine
- Google Kubernetes Engine
- Kubernetes
The OpenAPI specification can be used to describe the surface and behaviour of our API in a text file called the Endpoints configuration. We use the Cloud SDK to deliver the Endpoints configuration to Service Management, which configures the API management rules. Other configuration-related actions, such as sharing your API with other developers, enabling or disabling the API in multiple projects, and generating API keys, take place here as well.
4. The Cloud SDK:
The Cloud SDK includes the gcloud command-line tool, which may be used to call various Google Cloud services. To deploy our Endpoints configuration to Service Management, we utilize the gcloud command-line tool.
5. Google Cloud Console:
Cloud Console is Google Cloud's graphical user interface. Endpoints use the Cloud Console to expose monitoring and logging data sent by ESP or ESPv2 and recorded by Service Control, as well as to share APIs with other developers and generate API keys for them to contact the API.
Comments
Post a Comment