Gloo routes can be used to call functions and remote procedures that live on your services, as well as those provided by serverless runtimes such as AWS Lambda and Azure Functions.
The following guides demonstrate configuring Gloo to invoke OpenAPI endpoints and AWS Lambda functions.
- AWS Lambda Routing
- REST Endpoint Routing
- Exposing gRPC micro-services via REST API
AWS Upstream configuration guide.
Create function routes to REST API endpoints discovered from a Swagger (OpenAPI) specification.
Motivation A growing trend is to use gRPC internally as the communication protocol between micro-services. This has quite a few advantages. Some of those are: Client and server stubs are auto generated Efficient binary protocol (Google’s protobufs) Cross-language support as client and server libraries are available in many languages HTTP based which plays well with existing firewalls and load balancers Well supported with tooling around observability While gRPC works great for internal micro-services, it may be desirable to have the internet facing API be a JSON\REST style API.