GCP with AI
Operate and secure Google Cloud with AI — IAM, VPC and firewall rules, GKE, Cloud Run, Cloud Functions, Terraform, and billing and cost optimization.
Prompts
- Intermediate
GCP Billing & Cost Optimization Review Prompt
Find real GCP savings — committed-use discounts, rightsizing, idle resources, and billing anomalies — by reasoning from billing export and Recommender data instead of cargo-culting reservations.
- Claude
- ChatGPT
- Cursor
Open prompt - Intermediate
GCP Cloud Logging & Monitoring MQL Query Builder Prompt
Turn a vague 'find me the errors' or 'alert when latency spikes' request into precise Log Explorer queries and Monitoring MQL/PromQL that return exactly the signal you need.
- Claude
- ChatGPT
- Cursor
Open prompt - Intermediate
Cloud Run & Cloud Functions Cold-Start & Failure Debug Prompt
Debug Cloud Run / Cloud Functions cold starts, container startup failures, timeouts, and 5xx errors using revision config, concurrency, and logs — not blind redeploys.
- Claude
- ChatGPT
- Cursor
Open prompt - Advanced
Cloud SQL Performance & Connection Tuning Prompt
Diagnose Cloud SQL slowness and connection exhaustion — slow queries, max_connections limits, connector vs proxy choices, and flag tuning — using Insights and metrics, not blind instance upsizing.
- Claude
- ChatGPT
- Cursor
Open prompt - Intermediate
Cloud Storage Bucket Security & Lifecycle Review Prompt
Audit a Cloud Storage bucket for public exposure, IAM/ACL sprawl, and missing lifecycle/retention rules — closing security gaps while cutting storage cost with the right class transitions.
- Claude
- ChatGPT
- Cursor
Open prompt - Advanced
GKE Troubleshooting: Workload Identity & Networking Prompt
Diagnose GKE failures — pods that can't reach GCP APIs, Workload Identity token errors, Autopilot scheduling rejections, and networking that breaks between nodes and the control plane.
- Claude
- ChatGPT
- Cursor
Open prompt - Advanced
GCP IAM Least-Privilege Binding Review Prompt
Audit IAM bindings across a project or folder to strip over-broad primitive roles, scope service accounts, and add IAM Conditions — without breaking the workloads that actually need access.
- Claude
- ChatGPT
- Cursor
Open prompt - Advanced
GCP Org Policy & Security Command Center Triage Prompt
Triage Security Command Center findings and design Organization Policy constraints that prevent the misconfiguration class — turning a wall of findings into a prioritized, preventive fix plan.
- Claude
- ChatGPT
- Cursor
Open prompt - Intermediate
GCP VPC Firewall & Routing Connectivity Debug Prompt
Trace why one GCP resource can't reach another by walking firewall rules, routes, and priorities in order — instead of opening 0.0.0.0/0 in frustration.
- Claude
- ChatGPT
- Cursor
Open prompt
Guides
- · 10 min read
Debugging Cloud Run and Cloud Functions With AI
Serverless on GCP fails in ways logs barely explain: cold starts, container contract violations, IAM denials. Here's how I use AI to decode Cloud Run and Cloud Functions failures.
Read guide - · 10 min read
Debugging VPC Firewall and Routing on GCP With AI
When traffic vanishes inside a GCP VPC, the cause is buried in firewall priorities, route tables, and implied rules. Here's how I use AI to decode the path packets actually take.
Read guide - · 11 min read
GCP Cost Optimization With AI: CUDs and Rightsizing
GCP bills are a haystack of SKUs, idle resources, and missed commitments. Here's how I use AI to read billing exports, find waste, and decide between CUDs and rightsizing.
Read guide - · 11 min read
Least-Privilege GCP IAM With AI: Roles, Conditions, and Service Accounts
GCP IAM is a sprawl of predefined roles and primitive grants that nobody fully reads. Here's how I use AI to draft tight custom roles, IAM conditions, and service accounts.
Read guide - · 11 min read
Org Policy and Security Command Center Triage With AI
Security Command Center floods you with findings and Org Policy is a maze of constraints. Here's how I use AI to triage SCC findings and write GCP organization policies that hold.
Read guide - · 10 min read
Securing Cloud Storage Buckets With AI: Access, Encryption, and Audits
A misconfigured Cloud Storage bucket is the classic cloud breach. Here's how I use AI to audit GCS IAM, enforce uniform access, and lock down public exposure on GCP.
Read guide - · 11 min read
Troubleshooting GKE With AI: Workload Identity and Networking
GKE failures hide across Kubernetes, GCP IAM, and VPC layers at once. Here's how I use AI to untangle Workload Identity errors and pod networking on Google Kubernetes Engine.
Read guide - · 11 min read
Tuning Cloud SQL With AI: Slow Queries, Flags, and Connections
Cloud SQL hides its tuning levers behind flags, insights dashboards, and connection limits. Here's how I use AI to read query insights and tune Postgres and MySQL on GCP.
Read guide - · 10 min read
Writing Cloud Monitoring MQL and Log Explorer Queries With AI
MQL and the Log Explorer query language are powerful and genuinely hard to write from memory. Here's how I use AI to draft GCP monitoring and logging queries that actually run.
Read guide