Checks whether each Server Load Balancer (SLB) instance has backend servers and the weight of each backend server is not set to 0.
Scenario
If the weight of a backend server is set to 0, your service may become less responsive or other backend servers may break down due to excessive load.
Risk level
Default risk level: low.
You can change the risk level as required when you apply this rule.
Compliance evaluation logic
- If each SLB instance has backend servers and the weight of each backend server is not set to 0, the evaluation result is compliant.
- If an SLB instance has backend servers but the weight of a backend server is set to 0, the evaluation result is non-compliant. For more information about how to correct the non-compliant configuration, see Non-compliance remediation.
Rule details
| Item | Description |
| Rule name | slb-backendserver-weight-check |
| Rule ID | slb-backendserver-weight-check |
| Tag | SLB and LoadBalancer |
| Automatic remediation | Not supported |
| Trigger type | Periodic execution |
| Time interval | 24 hours |
| Supported resource type | SLB instance |
| Input parameter | None |
Non-compliance remediation
Modify the weight of the backend server of the SLB instance. For more information, see Default server group.