Source: https://atomic-works-test.docs-staging.pageloop.ai/monitors/cloud-and-infrastructure-monitoring/gcp/readme

# README

# GCP Infrastructure Monitors

The **GCP Infrastructure Monitors** section helps you monitor critical metrics and configurations across your GCP workloads to ensure high availability, system integrity, and compliance with regulatory standards.

Sprinto integrates with **Google Cloud Monitoring (Stackdriver)** to automatically detect key infrastructure metrics and misconfigurations. This allows your team to receive alerts and resolve issues before they escalate into compliance failures.

---

#### What does Sprinto monitor?

ServiceMonitored Metric / CheckCloud SQLCPU utilisation, memory usage, available storage, public access configurationCompute EngineCPU utilisation, protection from direct internet trafficFirestoreRead and write frequency monitoring

---

#### Monitors and How to Resolve Them

**1. Monitor GCP Cloud SQL CPU and Memory Usage**

- Go to **GCP Console > Monitoring > Metrics Explorer**
- Select resource type: `Cloud SQL Database`
- Choose metrics:
  - `database/cpu/utilization`
  - `database/memory/utilization`
- Set alerting policies based on thresholds
- Upload metric graphs and alert rules as evidence

**2. Monitor Freeable Storage on Cloud SQL**

- Same steps as above
- Metric: `database/disk/bytes_used`
- Compare against provisioned size
- Add storage or set up alerts as needed

**3. Protect Cloud SQL from Direct Internet Access**

- Navigate to **Cloud SQL > Connections**
- Disable “Public IP”
- Ensure Private IP is used via VPC
- Upload screenshot of updated configuration

**4. Monitor GCP Compute Instance CPU Utilisation**

- Go to **Monitoring > Metrics Explorer**
- Select resource type: `gce_instance`
- Metric: `compute.googleapis.com/instance/cpu/utilization`
- Upload metric screenshot and alert configuration

**5. Protect Compute Instances from Public Access**

- Open **VPC Network > Firewall Rules**
- Identify any rules that allow `0.0.0.0/0` for SSH (port 22) or RDP (port 3389)
- Restrict access to approved IPs
- Upload updated rule configuration

**6. Monitor Firestore Read Frequency**

- Go to **Monitoring > Metrics Explorer**
- Resource: `cloud_firestore_database`
- Metric: `document/read_count`
- Set thresholds based on expected usage pattern
- Upload charts as evidence

**7. Monitor Firestore Write Frequency**

- Same as above
- Metric: `document/write_count`

---

#### Accepted Evidence

TypeDescriptionMetric ScreenshotGraph showing monitored value over time (e.g. CPU, memory, read/write)Alert Policy ConfigJSON or screenshot showing alert thresholds and triggersFirewall / Network ScreenshotProof of no public access configuration

---

#### Compliance Mapping

Control CategoryFrameworks SupportedInfrastructure MonitoringISO 27001 A.12.4.1, SOC 2 CC7.2Network SecurityISO 27001 A.13.1.1, SOC 2 CC6.6Availability ManagementHIPAA §164.308(a)(7), PCI DSS 11.5
