Checks whether backend servers are configured for each Server Load Balancer (SLB) instance and whether the weight of each backend server is not set to 0. If so, the evaluation result is Compliant.

Scenarios

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.

When you apply this rule, you can change the risk level based on your business requirements.

Compliance evaluation logic

  • If backend servers are configured for each SLB instance and the weight of each backend server is not set to 0, the evaluation result is Compliant.
  • If backend servers are configured for an SLB instance but the weight of each backend server is set to 0, the evaluation result is Incompliant. For more information about how to remediate an incompliant configuration, see Incompliance remediation.

Rule details

Item Description
Rule name slb-backendserver-weight-check
Rule identifier slb-backendserver-weight-check
Tag SLB and LoadBalancer
Automatic remediation Not supported
Trigger type Periodic execution
Evaluation frequency Interval of 24 hours
Supported resource type SLB
Input parameter None.

Incompliance remediation

Change the weight of a backend server for an SLB instance. For more information, see Add an ECS instance to the default server group.