More Info:

Ensure Cloud Monitoring monitors database up check.

Risk Level

Medium

Address

Operational Maturity, Performance Efficiency

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration of not monitoring the database up check in GCP using GCP console, follow the below steps:

  1. Login to your GCP console.
  2. Navigate to the Monitoring page by clicking on the hamburger menu on the top left corner of the console and selecting “Monitoring” under the “Operations” section.
  3. Click on the “Uptime Checks” tab on the left-hand side of the Monitoring page.
  4. Click on the “Create Uptime Check” button on the top right corner of the Uptime Checks page.
  5. In the “Create Uptime Check” page, fill in the required details such as the name of the check, the resource type, and the resource name.
  6. In the “Check Type” section, select the “TCP” option.
  7. In the “TCP” section, enter the IP address of your database instance and the port number on which the database is running.
  8. In the “Advanced Settings” section, you can configure additional settings such as the check frequency, the notification settings, and the authentication settings.
  9. Once you have configured all the required settings, click on the “Create” button to create the uptime check.

With these steps, you have successfully remediated the misconfiguration of not monitoring the database up check in GCP using GCP console. Now you will receive notifications whenever your database is down, and you can take necessary actions to bring it back up.

Additional Reading: