Using a Dedicated Load Balancer
If you are using a dedicated load balancer for the first time, you can start from this section.
ELB automatically distributes incoming traffic across multiple backend servers based on the routing policies you configure. It expands the service capabilities of your applications and improves their availability by eliminating single points of failure (SPOFs).
ELB Architecture
Component |
Description |
Reference |
---|---|---|
Load balancer |
Distributes incoming traffic across backend servers in one or more AZs. Before using a load balancer, you need to add at least one listener to it. |
|
Listener |
Works as the minimum service unit. It uses a protocol and port (for example, TCP port 80) you have specified to check requests from clients and route the requests to associated backend servers. Each load balancer must have at least one listener to check and distribute traffic. You can add different types of listeners to distribute traffic using different protocols and ports. Network listeners forward traffic to the default backend server group, while application listeners forward traffic based on the forwarding policies you configure. |
|
Forwarding policy |
Determines how application load balancers distribute traffic across one or more backend server groups. Forwarding policies can be only configured for application listeners. Application load balancers distribute Layer 7 requests more efficiently. They support various protocols and forwarding policies to suit your service needs. |
|
Backend server group |
Contains one or more backend servers to process requests distributed by load balancers. A backend server group can be created independently. A backend server group can be associated with one or more load balancers. |
|
Backend server |
Processes client requests. A backend server can be an ECS, BMS, supplementary network interface, or IP address. If a supplementary network interface or an IP address is added as a backend server, the server with the supplementary network interface attached or using the IP address processes client requests. ELB periodically sends requests to backend servers to check whether they can process requests. This process is called health check. If a backend server is identified as unhealthy, the load balancer will stop routing requests to it. |
Procedure for Using a Dedicated Load Balancer
The following describes how to quickly create and use a dedicated load balancer.
Procedure |
What to Do |
---|---|
Create a dedicated load balancer and be careful with the following configurations:
|
|
Create a backend server group and add backend servers to the group for easier management and scheduling. You can create a backend server group first and select it when creating a dedicated load balancer. Plan the backend protocol appropriately because the backend protocol of each backend server group must match the frontend protocol of the associated listeners. |
|
Add listeners and choose the protocols and ports based on service requirements.
|
|
Add advanced forwarding policies to application listeners to forward traffic to specified backend server groups based on the domain name, path, HTTP request method, HTTP header, query string, and CIDR block. |
Backend Server Group and Listener Protocols
You can associate a backend server group with different listeners or different dedicated load balancers under the same enterprise project.
The backend protocol of each backend server group must match the frontend protocol of the associated listeners as described in Table 2.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot