# Configure gRPC Support

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:

1. Create a Target Group. Follow the steps outlined in the [<mark style="color:blue;">Create Target Group</mark>](/cloud/network-services/application-load-balancer/how-tos/create-target-groups.md) 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.

#### Example target group request for gRPC support

```json
{
  “properties”: {
    “name”: “grpc-target-group”,
    “protocol”: “HTTP”,
    "protocolVersion": "HTTP2",
    “algorithm”: “ROUND_ROBIN”,
    “targets”: [
      {
        “ip”: “10.10.10.10”,
        “port”: 8000,
        “weight”: 1
      }
    ]
  }
}
```

2. Follow [<mark style="color:blue;">Set Up an Application Load Balancer</mark>](/cloud/network-services/application-load-balancer/how-tos/setup-alb.md) guide to complete configuring the load balancer for gRPC traffic.

{% hint style="success" %}
**Result:** ALB will now support gRPC traffic by handling HTTP/2 requests and enabling efficient gRPC communication.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/network-services/application-load-balancer/how-tos/configure-grpc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
