Configure gRPC Support
Last updated
Was this helpful?
You can configure an ALB to support gRPC, a high-performance RPC framework using HTTP/2 for transport. The gRPC enables users to define service methods and messages in a language-agnostic way, making API creation straightforward across different platforms. Additionally, it supports advanced features such as load balancing, retries, and deadlines.
To configure gRPC follow these steps:
Create a Target Group. Follow the steps outlined in the Create Target Group guide.
Ensure you select HTTP as the protocol and HTTP2 as the protocol version for gRPC support. It is recommended not to set any HTTP health checks for gRPC support.
{
“properties”: {
“name”: “grpc-target-group”,
“protocol”: “HTTP”,
"protocolVersion": "HTTP2",
“algorithm”: “ROUND_ROBIN”,
“targets”: [
{
“ip”: “10.10.10.10”,
“port”: 8000,
“weight”: 1
}
]
}
}Follow Set Up an Application Load Balancer guide to complete configuring the load balancer for gRPC traffic.
Result: ALB will now support gRPC traffic by handling HTTP/2 requests and enabling efficient gRPC communication.
Last updated
Was this helpful?
Was this helpful?