Load balancers
A cloud load balancer distributes incoming network traffic between cloud servers in a single pool. The load balancer can be used to improve service availability — it will optimally distribute requests between servers and reduce the load. If one server fails, the load balancer will redirect traffic to another suitable server.
The balancer works at L3-L4 (network load balancer) and L7 (application load balancer) levels. For HTTPS traffic balancing TLS(SSL)-certificates from the secret manager are used, see the TLS(SSL)-certificates of the load balancer instruction for details.
You can work with the load balancer in the control panel, through the OpenStack CLI or Terraform.
If you need the load balancer to work with a Managed Kubernetes cluster, use only kubectl to create and configure the load balancer. See the Configure a load balancer in the Managed Kubernetes section for more information.
To track load balancer metrics you can set up monitoring using Prometheus, learn more about the available metrics and how to set up monitoring in the Cloud Load Balancer Monitoring instructions.You can also collect load balancer logs.
Types of load balancer
If the types don't fit, you can order a custom balancer type — create a ticket.
Load balancer flavor list
The flavors correspond to load balancer types and define the number of vCPUs, RAM, and the number of load balancer instances.
Flavor IDs or names are used to create load balancers through the OpenStack CLI and Terraform. The IDs are different in pools.
For example, ac18763b-1fc5-457d-9fa7-b0d339ffb336
is the ID and AMPH1.ACT_STNDB.4-2048
is the name of the flavor that corresponds to the Advanced type with reservation in the ru-9 pool.
You can view the list of load balancer flavors in all pools in the table or view the list of load balancer flavors in a specific pool through the OpenStack CLI.
List of load balancer flavorings in all pools
- St. Petersburg
- Moscow
- Novosibirsk
- Tashkent
- Almaty
- Nairobi
- ru-3
- ru-1
- ru-9
- ru-2
- ru-7
- ru-8
- uz-1
- uz-2
- kz-1
- ke-1
Here:
ID
— The ID of the load balancer flavor;Name
— The name of the flavor that corresponds to the The type of load balancer:AMPH1.SNGL.2-1024
— type Basic without reservation;AMPH1.ACT_STNDB.2-1024
— type Basic with redundancy;AMPH1.ACT_STNDB.4-2048
— type Advanced with redundancy.
View a list of load balancer flavorings in a specific pool
-
Check out the list of flavors:
openstack loadbalancer flavor list -c id -c name
Example answer for the ru-9 pool:
+--------------------------------------+------------------------+
| id | name |
+--------------------------------------+------------------------+
| 3265f75f-01eb-456d-9088-44b813d29a60 | AMPH1.SNGL.2-1024 |
| d3b8898c-af94-47f8-9996-65b9c6aa95e2 | AMPH1.ACT_STNDB.2-1024 |
| ac18763b-1fc5-457d-9fa7-b0d339ffb336 | AMPH1.ACT_STNDB.4-2048 |
+--------------------------------------+------------------------+Here:
id