More Info:

Load Balancer should not send any new requests to the unhealthy instance if an compute instance fails health checks

Risk Level

Medium

Address

Reliability, Security

Compliance Standards

NISTCSF

Triage and Remediation

Remediation

To remediate the misconfiguration of Load Balancers not having connection draining enabled in Global Backend Services in GCP using GCP console, follow the below steps:

  1. Login to the GCP console and navigate to the Load Balancing page.

  2. Select the Load Balancer that needs to be remediated.

  3. Click on the Edit button to edit the Load Balancer configuration.

  4. Scroll down to the Backend section and click on the Edit button next to the Global Backend Service.

  5. In the Global Backend Service configuration, scroll down to the Connection Draining section.

  6. Enable Connection Draining by checking the box next to it.

  7. Set the Drain Timeout to the desired value (in seconds) for the load balancer to wait before terminating connections.

  8. Click on the Save button to save the changes.

  9. Once the changes are saved, verify that the Load Balancer now has Connection Draining enabled for Global Backend Services.

By following these steps, you can remediate the misconfiguration of Load Balancers not having connection draining enabled in Global Backend Services in GCP using GCP console.

Additional Reading: