> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/deka-slb/configuration-deka-slb.md).

# Configuration Deka SLB

After creating Deka SLB, continue by adding the backend and frontend configurations. On the **Load Balancer** page, click **Configuration**.

The **Load Balancer Configuration** page appears with three tabs.

The available tabs are **General**, **Backend**, and **Frontend**. This section explains the available configuration actions.

1. **Add Configuration** — follow the steps in **Add Backend Configuration** and **Add Frontend Configuration**.
2. **Edit Configuration** — follow the steps in **Edit Backend Configuration** and **Edit Frontend Configuration**.
3. **Delete Configuration** — follow the steps in **Delete Configuration Backend/Frontend**.

### **Add Backend Configuration**

Follow these steps to add a backend configuration in Deka SLB on the Cloudeka portal service:

* Open the **Configuration Load Balancer** page, click the **Backend** tab, then click **Create Backend**.
* On the **Create Backend** page, fill in the available form.

<table><thead><tr><th width="242">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>Enter a backend name using only A-Z, a-z, and the underscore character (<code>_</code>).</td></tr><tr><td><strong>Load Balancer Method</strong></td><td>There are three available methods: <strong>Roundrobin</strong>, <strong>Least Connection</strong>, and <strong>Source</strong>.</td></tr><tr><td><strong>Mode</strong></td><td><p>There are two available modes:</p><ol><li>HTTP</li><li>TCP</li></ol></td></tr></tbody></table>

If you select **HTTP** in the **Mode** field, the following fields will appear:

<table><thead><tr><th width="209">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Advanced Check</strong></td><td>If you choose HTTP in the <strong>Mode</strong> field, select <strong>httpchk</strong>.</td></tr><tr><td><strong>Http Check Method</strong></td><td><p>There are two available options:</p><ol><li><strong>GET</strong> — requests data from the server.</li><li><strong>POST</strong> — sends data to create a new resource.</li></ol></td></tr><tr><td><strong>Http Check URI</strong></td><td>Use this field to check whether the server is active. In this example, enter <code>/_health.php</code>.</td></tr></tbody></table>

If you choose **TCP** in the **Mode** field, the following field will appear.

<table><thead><tr><th width="231">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Advanced Check</strong></td><td><p>There are two available options:</p><ol><li><strong>SSL Hello Check</strong> — checks whether an SSL connection to the backend server can be established.</li><li><strong>TCP Check</strong> — checks the availability or health of the TCP connection.</li></ol></td></tr></tbody></table>

After selecting the protocol, go to the **Server** section. You can add more than one server if the backend uses multiple VMs or instances. This allows the load balancer to distribute traffic based on the selected algorithm and health check settings.

<table><thead><tr><th width="245">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Servers - Server Name</strong></td><td>VM instances that have been deployed to the VPC connected to Deka SLB.</td></tr><tr><td><strong>Servers - Server Port</strong></td><td>The port that the server will use.</td></tr><tr><td><strong>Servers - Max Connection</strong></td><td>The maximum number of connections accepted by the server.</td></tr><tr><td><strong>Servers - Weight</strong></td><td>The load that will be received by the server.</td></tr></tbody></table>

* After filling out all the forms on the Create Backend page, click the Create Backend button.
* A notification will appear: **Backend Configuration has successfully created!**

### **Add Frontend Configuration**

After the backend is configured, continue with the frontend configuration by following these steps:

* On the **Configuration Load Balancer** page, click the **Frontend** tab, then click **Create Frontend**.
* On the **Create Frontend** page, fill in the available form.

<table><thead><tr><th width="183">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>The name of the frontend configuration, and the allowed characters for frontend naming are only A-Z, a-z, and "_" underscore.</td></tr><tr><td><strong>Default Backend</strong></td><td>Select the previously created backend.</td></tr></tbody></table>

<table><thead><tr><th width="183">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>Enter a frontend configuration name using only A-Z, a-z, and the underscore character (<code>_</code>).</td></tr><tr><td><strong>Default Backend</strong></td><td>Select the backend that was created earlier.</td></tr></tbody></table>

If you want to add another backend configuration, click **Add Backend**.

<table><thead><tr><th width="197">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Backend Name</strong></td><td>The backend configuration name.</td></tr><tr><td><strong>ACL Name</strong></td><td>Defines a rule that controls access or behavior for specific traffic.</td></tr><tr><td><strong>Criteria</strong></td><td><p>Determines whether a request should be directed to a specific backend. There are three available options:</p><ol><li><strong>req.hdr(Host)</strong> — checks the value of the <strong>Host</strong> header in the HTTP request.</li><li><strong>path_beg</strong> — checks whether the request URL path starts with a specific value.</li><li><strong>path_end</strong> — checks whether the request URL path ends with a specific value.</li></ol></td></tr><tr><td><strong>Value</strong></td><td><p>This value depends on the selected criteria.</p><ol><li><strong>req.hdr(Host)</strong> — for example, <code>www.example.com</code></li><li><strong>path_beg</strong> — for a path starting with <code>/</code>, for example <code>/example.php</code></li><li><strong>path_end</strong> — for a path ending with a file extension, for example <code>.php</code></li></ol></td></tr><tr><td><strong>Condition</strong></td><td><p>There are two available options:</p><ol><li><strong>Equal</strong> — checks whether the value matches the ACL value.</li><li><strong>Not Equal</strong> — checks whether the value does not match the ACL value.</li></ol></td></tr><tr><td><strong>Action</strong></td><td>Use the <strong>Delete</strong> button to remove an added backend configuration.</td></tr></tbody></table>

After selecting the backend configuration, complete the remaining fields.

<table><thead><tr><th width="147">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bind Address</strong></td><td><p>There are two available options:</p><ol><li>Internet</li><li>Internal</li></ol></td></tr><tr><td><strong>Mode</strong></td><td><p>There are three available options:</p><ol><li>HTTPS</li><li>HTTP</li><li>TCP</li></ol></td></tr></tbody></table>

If you choose **HTTPS** in the **Mode** field, the following fields will appear:

<table><thead><tr><th width="167">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bind Port</strong></td><td>By default, it uses port 443.</td></tr><tr><td><strong>Certificate File</strong></td><td>You can upload the certificate file you possess. If you are usign the Cloudeka Portal Service, namely Deka SSL, you can download the file in the SSL menu under the Manage Module.</td></tr><tr><td><strong>Key File</strong></td><td>You can upload the key file you possess. If you are using the Cloudeka Portal Service, namely Deka SSL, you can download the file in the SSL menu under the Manage Module.</td></tr></tbody></table>

If you select **HTTP** or **TCP** in the **Mode** field, the following field will appear.

<table><thead><tr><th width="149">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bind Port</strong></td><td><p>Adjusting to the protocol used:</p><ol><li>If the <strong>HTTP</strong> Protocol is selected, it will be automatically filled with <strong>port 80</strong>.</li><li>If the <strong>TCP</strong> Protocol is selected, <strong>specify the port to be used</strong>.</li></ol></td></tr></tbody></table>

* After filling out all fields on the **Create Frontend** page, click **Create Frontend**.
* If the frontend is created successfully, a notification will appear: **Frontend Configuration has successfully created!**

### **Edit Backend Configuration**

You can modify an existing backend configuration by following these steps:

* On the **Backend** tab of the **Configuration Load Balancer** page, select the backend configuration you want to update, then click **Edit**.
* On the **Edit Backend** page, you can update the **Load Balance Method**, **Advanced Check**, **Http Check Method**, **Http Check URI**, and add servers by clicking **Add Servers**. Then click **Update Backend**.
* A notification will appear: **Backend Configuration has successfully updated!**

### **Edit Frontend Configuration**

Follow these steps to modify an existing frontend configuration:

* On the **Configuration Load Balancer** page, click the **Frontend** tab. Select the frontend configuration you want to update, then click **Edit**.
* On the **Edit Frontend** page, you can update the **Default Backend**, **Additional Backend**, **Bind Address**, and **Bind Port**. If you want to add another backend, click **Add Backend**. Then click **Update Frontend**.
* A notification will appear: **Frontend Configuration has successfully updated!**

### **Delete Configuration Backend/Frontend**

To delete backend and frontend configurations in Deka SLB, delete the frontend configuration first, then delete the backend configuration. On the **Configuration Load Balancer** page, open the **Frontend** tab, then click **Delete**.

The **Delete Frontend** window appears. Enter the frontend configuration name, then click **Confirm** to continue.

Wait until the process is complete and the notification **Frontend configuration has been successfully deleted!** appears.

After the frontend configuration is deleted, continue by deleting the backend configuration. If the frontend configuration has not been deleted yet, a notification will appear: **Please detach default backend from frontend configuration!** On the **Backend** tab, click **Delete**.

The **Delete Backend** window appears. Enter the backend configuration name, then click **Confirm** to continue.

Wait until the process is complete, and a notification will appear: **Backend configuration has been successfully deleted!**


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.cloudeka.ai/deka-slb/configuration-deka-slb.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
