Skip to main content
Create a task force
Last update:

Create a task force

  1. In control panel go to Cloud platformBalancers.

  2. Open the tab Target groups

  3. Click Create a task force.

  4. Select region and pool where it will be created target group. The balancer and the target must be in the same pool.

  5. Select a load balancer.

  6. Select the traffic destination protocol that the balancer uses to send traffic to the target group. The following combinations of protocols are available for receiving traffic on the balancer and forwarding traffic to the destination group:

    • TCP-TCP is classic L4 balancing;
    • TCP-PROXY — client information is not lost and is transmitted in a separate connection header;
    • UDP-UDP — The UDP protocol is faster than TCP, but less reliable;
    • HTTP-HTTP — L7-balancing;
    • HTTPS-HTTP — L7 balancing with encryption and SSL certificate termination on the balancer.
  7. A default port will be automatically selected for the selected protocol — change it if necessary. The port value will be common to all servers in the group.

  8. Open the tab Servers.

  9. Mark the servers to be added to the target group.

  10. Specify settings for each marked server:

    10.1 Select the IP address.

    10.2 Optional: change the port.

    10.3 Specify the server weight — this is a proportional measure, denotes the share of requests that the server handles. If the weights are the same, the servers serve the same number of requests. If, for example, there is one server in a group with a weight of "2" and two servers with a weight of "1", the first server will receive 50% of all requests and the other two will each receive 25%. The maximum weight value is 256.

    10.4 Optionally: to direct traffic to a server only when other servers in the group are unavailable, check the checkbox Reserve.

  11. Open the tab Algorithm.

  12. Select query distribution algorithm — Round Robin or Least connections.

  13. Optional: to enable the method Sticky Sessions and check the box Sticky sessions.

  14. Open the tab Accessibility checks.

  15. Select type accessibility checks. Once a group is created, the type of check cannot be changed.

  16. If you selected the HTTP validation type, specify the request parameters — method, path, and expected response codes.

  17. Specify the check interval — the interval in seconds at which the balancer sends check requests to servers.

  18. Specify the connection timeout — the time to wait for a response in seconds, must be less than the interval between checks.

  19. Specify the success threshold — the number of successful accesses in a row, after which the server is put into a working state.

  20. Specify the failure threshold — the number of unsuccessful requests in a row, after which the server is suspended.

  21. Optional: change the name of the target group or leave the default name generated.

  22. Optional: enter a comment on the group.

  23. Click Create a task force.