More Info:

Cloud CDN 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

CBP

Triage and Remediation

Remediation

Sure, here are the step-by-step instructions to remediate the misconfiguration of Cloud CDN Regional Backend Services not having Connection Draining in GCP using the GCP console:

  1. Open the GCP Console and log in to your account.
  2. Navigate to the Cloud CDN page by selecting the “Navigation menu > Network Services > Cloud CDN”.
  3. From the Cloud CDN page, select the name of the CDN that you want to configure the connection draining for.
  4. In the CDN details page, select the “Backend Configuration” tab.
  5. In the Backend Configuration page, select the “Edit” button located at the top of the page.
  6. In the “Edit Backend Configuration” page, scroll down to the “Backend Service” section and select the name of the backend service that you want to configure connection draining for.
  7. In the “Backend Service” page, select the “Edit” button located at the top of the page.
  8. Scroll down to the “Connection Draining” section and select the “Enable” checkbox.
  9. In the “Connection Draining Timeout” field, specify the amount of time (in seconds) that you want to wait for the existing connections to complete before shutting down the backend service. The recommended value is 300 seconds.
  10. Select the “Save” button to save the changes.

After following these steps, the connection draining feature will be enabled for the selected backend service in your GCP Cloud CDN.

Additional Reading: