> For the complete documentation index, see [llms.txt](https://docs.cloud.olakrutrim.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloud.olakrutrim.com/basics/core-infrastructure/networking/load-balancers/create-target-group.md).

# Create Target Group

1. Go to the **“Networking > Load Balancing > Target Groups”** tab.
2. Click **“Create Target Group.”**
3. Fill in:
   * **Target Group Name** (required)
   * **VPC** (required)
4. Configure **Health Checks** to ensure only healthy targets receive traffic:
   * **Health Check Name**
   * **Health Check Protocol** (HTTP, TCP)
   * **Health Check Path** *(for HTTP) -* this is the endpoint the load balancer periodically calls to check if your backend is healthy.
   * **Health Check Interval** (time between checks)
   * **Timeout** (max wait time for a response)
   * **Max Retries** (number of failed checks before marking unhealthy)
5. Under **Select Targets**, choose one or more active VMs to add to the target group.
   * Only healthy and active VMs can be added.
   * The target group must contain at least 1 VM, in order to be attached to a load balancer.
   * Enter the Port Number for target traffic.
6. Click **“Create Target Group.”**

{% hint style="danger" %}
Make sure the port is open in your target’s **security group**, otherwise health checks and traffic routing may fail.
{% endhint %}

### Edit Target Group

You can edit the following characteristics of a target group:

* Health Check Name, Path, Interval, Timeout, Max Retries
* Targets comprising the target group
* Port Number for the target group

{% hint style="info" %}
You cannot modify the Target Group Name, VPC or the Health Check Protocol after deployment.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.cloud.olakrutrim.com/basics/core-infrastructure/networking/load-balancers/create-target-group.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.
