Skip to main content
This runbook covers four cost anomaly scenarios: unexpected runtime spikes, budget exhaustion, runaway retries, and high-cost sessions. Use the Cloud Billing budget alerts as the primary entry point.

1. Detecting Cost Anomalies

Budget alert channels

Manual cost review


2. Unexpected Runtime Spikes

Symptoms: GPU accelerator-seconds billed in a given hour is significantly higher than baseline; Cloud Monitoring shows vertex_ai/custom_jobs/running_jobs elevated.

Investigate

Correlate with job submissions

Contain

If you identify an unexpected surge of long-running jobs:

3. Budget Exhaustion

Symptoms: The gpu-budget-exceeded alert fires; GCP Budget enforcer may start restricting project spend; new Vertex AI jobs may be rejected.
GCP Budget alerts are informational by default and do not automatically stop resource usage. You must manually take containment steps.

Immediate containment

  1. Pause job intake:
  2. Cancel all non-critical running jobs (coordinate with Product):
  3. Notify Finance and Engineering with current spend, forecast, and containment actions taken.

Request emergency budget increase

  1. Log into the GCP Console → Billing → Budgets & Alerts.
  2. Select the impulse-gpu-runtime budget.
  3. Click Edit and increase the budget amount.
  4. Notify the Finance team of the temporary increase and the expected overage.

Resume job intake

Once Finance approves the temporary budget increase:

4. Runaway Retries

Symptoms: A single job_id or small set of jobs appears repeatedly in Vertex AI job history; DLQ message count grows; billing for the same logical job is abnormally high.

Identify runaway jobs

Block a specific job from further retries

Verify retry circuit-breaker configuration

The scheduler enforces a maximum of 5 total attempts per job_id. Verify this setting:
If max_retries is set higher than 5 or is missing, update the ConfigMap and restart the scheduler:

5. High-Cost Sessions

Symptoms: A small number of user sessions account for a disproportionate share of GPU spend; per-session cost exceeds configured caps.

Identify high-cost sessions

Terminate and cap a high-cost session

Long-term prevention


Post-Incident Checklist

  • Root cause of cost anomaly identified and documented
  • Cost impact quantified and reported to Finance
  • Runaway jobs cancelled and retry loops blocked
  • Budget restored to normal limits (or increase formally approved)
  • Preventive controls (caps, alerts, circuit-breakers) reviewed and updated
  • Incident postmortem scheduled within 48 hours for spend anomalies > $500