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.
Add Configuration — follow the steps in Add Backend Configuration and Add Frontend Configuration.
Edit Configuration — follow the steps in Edit Backend Configuration and Edit Frontend Configuration.
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.
Name
Enter a backend name using only A-Z, a-z, and the underscore character (_).
Load Balancer Method
There are three available methods: Roundrobin, Least Connection, and Source.
Mode
There are two available modes:
HTTP
TCP
If you select HTTP in the Mode field, the following fields will appear:
Advanced Check
If you choose HTTP in the Mode field, select httpchk.
Http Check Method
There are two available options:
GET — requests data from the server.
POST — sends data to create a new resource.
Http Check URI
Use this field to check whether the server is active. In this example, enter /_health.php.
If you choose TCP in the Mode field, the following field will appear.
Advanced Check
There are two available options:
SSL Hello Check — checks whether an SSL connection to the backend server can be established.
TCP Check — checks the availability or health of the TCP connection.
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.
Servers - Server Name
Select a VM instance deployed in the VPC connected to Deka SLB.
Servers - Server Port
Enter the port used by the server.
Servers - Max Connection
Set the maximum number of connections accepted by the server.
Servers - Weight
Set the traffic weight assigned to the server.
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.
Name
Enter a frontend configuration name using only A-Z, a-z, and the underscore character (_).
Default Backend
Select the backend that was created earlier.
If you want to add another backend configuration, click Add Backend.
Backend Name
The backend configuration name.
ACL Name
Defines a rule that controls access or behavior for specific traffic.
Criteria
Determines whether a request should be directed to a specific backend. There are three available options:
req.hdr(Host) — checks the value of the Host header in the HTTP request.
path_beg — checks whether the request URL path starts with a specific value.
path_end — checks whether the request URL path ends with a specific value.
Value
This value depends on the selected criteria.
req.hdr(Host) — for example,
www.example.compath_beg — for a path starting with
/, for example/example.phppath_end — for a path ending with a file extension, for example
.php
Condition
There are two available options:
Equal — checks whether the value matches the ACL value.
Not Equal — checks whether the value does not match the ACL value.
Action
Use the Delete button to remove an added backend configuration.
After selecting the backend configuration, complete the remaining fields.
Bind Address
There are two available options:
Internet
Internal
Mode
There are three available options:
HTTPS
HTTP
TCP
If you choose HTTPS in the Mode field, the following fields will appear:
Bind Port
By default, this field uses port 443.
Certificate File
Upload your certificate file. If you use Deka SSL in Cloudeka Portal Services, you can download the file from the SSL menu in the manage section.
Key File
Upload your key file. If you use Deka SSL in Cloudeka Portal Services, you can download the file from the SSL menu in the manage section.
If you select HTTP or TCP in the Mode field, the following field will appear.
Bind Port
This field depends on the selected protocol:
If HTTP is selected, the field is automatically set to port 80.
If TCP is selected, specify the port to use.
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!
Last updated
