Posts

Showing posts from December, 2020

Cloud Endpoint Framework

Image
  Introduction Endpoint in a cloud network is defined as management system of the API’s that we use but the catch here is in form of a distributed fashion overall. All the necessary function which in general provide and manage the aspects of API s are simultaneously managed by endpoints in a go. These functions include creation, maintenance, sharing and the security of the API’s to themselves. For such endpoints to work out in collaboration with the API’s are been supported by web frameworks with the API running engines as Python 2.7 and Java 8 Runtime environment in the present. In a similar fashion to that of any framework’s endpoints perform the following functions as; a)       Routing the Request’s URL to the function or method in the code b)      Converting the Return value to JSON and responding in accordance to it. c)       It terminates the use of third-party web servers in accordance with your ...

Cloud endpoints security and deployment

Image
CLOUD ENDPOINT SECURITY      One of the major features of cloud endpoints is API request authentication. Authentication is required for API requests because the IP addresses of applications running of App Engine or App Engine Environments are visible on the internet. Service to service authentication is also a pressing issue as microservices architecture is getting popular and users run their services in different ways like on-premise, google cloud app engines, k8s, etc. Some backend API services are supposed to be called only by certain services this issue can be solved by using Auth tokens. But these tokens should not be the tokens used on frontend API's as hackers can get access to the backend API's using the token generated at the frontend.           The Extensible Service Proxy (ESP) which acts like a shield for our backend API is configured using the openAPI specification of our API. This specification tells the ESP how to act wit...

Endpoints Architecture

Image
  Endpoints Architecture Endpoints is a distributed API management system comprising services, runtimes, and tools. Endpoints provides management, monitoring, and authentication. The components that make up Endpoints are: ·           Extensible Service Proxy (ESP) -   ESP is a NGINX-based proxy that runs in front of the backend and injects Endpoints functionality such as authentication, monitoring, and logging. ESP retrieves a service configuration from Service Management and uses it to validate incoming requests. ESP is designed for you to deploy it in a containerized environment and validate JWTs and Google ID tokens. It employs a variety of techniques, such as heavy caching and asynchronous calls to remain lightweight and highly performant. ·           Service Control  – Service Control applies API management rules at runtime, such as key authentication, monitoring, and logging. S...

API Gateway vs Cloud Endpoints

Image
Google Cloud Endpoints Cloud Endpoints is an API management system that helps you secure, monitor, analyze, and set quotas on your APIs using the same infrastructure Google uses for its own APIs. Endpoints works with the Extensible Service Proxy (ESP) and the Extensible Service Proxy V2 (ESPv2) to provide API management. Endpoints supports version 2 of the OpenAPI Specification (formerly known as the Swagger spec)—the industry standard for defining REST APIs. Google Cloud Endpoints  is detailed as " Develop, deploy and manage APIs on any Google Cloud backend ". An NGINX-based proxy and distributed architecture give unparalleled performance and scalability. Using an Open API Specification or one of our API frameworks, Cloud Endpoints gives you the tools you need for every phase of API development and provides insight with Google Cloud Monitoring, Cloud Trace, Google Cloud Logging and Cloud Trace. Google Endpoints Architecture AWS API Gateway Amazon AWS...