ancoleman/ai-design-components/deploying-on-gcp
Claude Code and agent skill by ancoleman/ai-design-components
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Implement applications using Google Cloud Platform (GCP) services. Use when building on GCP infrastructure, selecting compute/storage/database services, designing data analytics pipelines, implementing ML workflows, or architecting cloud-native applications with BigQuery, Cloud Run, GKE, Vertex AI, and other GCP services.
Install
npx vskill@latest install ancoleman/ai-design-components/deploying-on-gcpSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
GCP Patterns
Build applications and infrastructure using Google Cloud Platform services with appropriate service selection, architecture patterns, and best practices.
Purpose
This skill provides decision frameworks and implementation patterns for Google Cloud Platform (GCP) services across compute, storage, databases, data analytics, machine learning, networking, and security. It guides service selection based on workload requirements and demonstrates production-ready patterns using Terraform, Python SDKs, and gcloud CLI.
When to Use
Use this skill when:
- Selecting GCP compute services (Cloud Run, GKE, Cloud Functions, Compute Engine, App Engine)
- Choosing storage or database services (Cloud Storage, Cloud SQL, Spanner, Firestore, Bigtable, BigQuery)
- Designing data analytics pipelines (BigQuery, Pub/Sub, Dataflow, Dataproc, Composer)
- Implementing ML workflows (Vertex AI, AutoML, pre-trained APIs)
- Architecting network infrastructure (VPC, Load Balancing, CDN, Cloud Armor)
- Setting up IAM, security, and cost optimization
- Migrating from AWS or Azure to GCP
- Building multi-cloud or GCP-first architectures
Core Concepts
GCP Service Categories
Compute Options:
- Cloud Run: Serverless containers for stateless HTTP services (auto-scale to zero)
- GKE (Google Kubernetes Engine): Managed Kubernetes for complex orchestration
- Cloud Functions: Event-driven functions for simple processing
- Compute Engine: Virtual machines for full OS control
- App Engine: Platform-as-a-Service for web applications
Storage & Databases:
- Cloud Storage: Object storage with Standard/Nearline/Coldline/Archive tiers
- Cloud SQL: Managed PostgreSQL/MySQL/SQL Server (up to 96TB)
- Cloud Spanner: Global distributed SQL with 99.999% SLA
- Firestore: NoSQL document database with real-time sync
- Bigtable: Wide-column NoSQL for time-series and IoT (petabyte scale)
- AlloyDB: PostgreSQL-compatible with 4x performance improvement
Data & Analytics:
- BigQuery: Serverless data warehouse (petabyte-scale SQL analytics)
- Pub/Sub: Global messaging and event streaming
- Dataflow: Apache Beam for stream and batch processing
- Dataproc: Managed Spark and Hadoop clusters
- Cloud Composer: Managed Apache Airflow for workflows
AI/ML Services:
- Vertex AI: Unified ML platform (training, deployment, monitoring)
- AutoML: No-code ML for standard tasks
- Pre-trained APIs: Vision, Natural Language, Speech, Translation
- TPUs: Tensor Processing Units for large model training
Decision Framework: Compute Service Selection
Selection Guide:
- First choice: Cloud Run (unless state or Kubernetes required)
- Need Kubernetes: GKE Autopilot (managed) or Standard (full control)
- Simple events: Cloud Functions (60-min max execution)
- Full control: Compute Engine (VMs with custom configuration)
Decision Framework: Database Selection
Decision Framework: Storage Selection
GCP vs AWS vs Azure Service Mapping
| Category | GCP | AWS | Azure | |
|---|---|---|---|---|
| Serverless Containers | Cloud Run | Fargate | Container Instances | |
| Kubernetes | GKE | EKS | AKS | |
| Functions | Cloud Functions | Lambda | Functions | |
| VMs | Compute Engine | EC2 | Virtual Machines | |
| Object Storage | Cloud Storage | S3 | Blob Storage | |
| SQL Database | Cloud SQL | RDS | SQL Database | |
| NoSQL Document | Firestore | DynamoDB | Cosmos DB | |
| Data Warehouse | BigQuery | Redshift | Synapse | |
| Messaging | Pub/Sub | SNS/SQS | Service Bus | |
| ML Platform | Vertex AI | SageMaker | Machine Learning |
Architecture Patterns
Pattern 1: Serverless Web Application
Use Case: Stateless HTTP API with database and caching
Architecture:
Key Services:
- Cloud Run for API service (auto-scaling containers)
- Cloud SQL for transactional data
- Memorystore for caching
- Cloud Storage for file uploads
For detailed Terraform configuration, see references/compute-services.md.
Pattern 2: Data Analytics Platform
Use Case: Real-time event processing and analytics
Architecture:
Key Services:
- Pub/Sub for event ingestion (at-least-once delivery)
- Dataflow for stream processing (Apache Beam)
- BigQuery for analytics (partitioned tables, clustering)
- Cloud Storage for staging and backups
For BigQuery optimization patterns, see references/data-analytics.md.
Pattern 3: ML Pipeline
Use Case: End-to-end machine learning workflow
Architecture:
Key Services:
- Vertex AI Workbench for notebook development
- Vertex AI Training for custom models (GPU/TPU support)
- Vertex AI Endpoints for model serving (auto-scaling)
- Vertex AI Pipelines for orchestration (Kubeflow)
For ML implementation examples, see references/ml-ai-services.md.
Pattern 4: GKE Microservices Platform
Use Case: Complex orchestration with multiple services
Architecture:
Key Features:
- GKE Autopilot (fully managed nodes) or Standard (custom configuration)
- Workload Identity for secure GCP service access
- Private cluster with Private Google Access
- Config Connector for managing GCP resources via Kubernetes
For GKE setup and best practices, see references/compute-services.md.
Best Practices
Cost Optimization
Compute:
- Use Committed Use Discounts for predictable workloads (57% off)
- Use Spot VMs for fault-tolerant workloads (60-91% off)
- Cloud Run scales to zero when idle (no charges)
- GKE Autopilot charges only for pod resources, not nodes
Storage:
- Use appropriate Cloud Storage classes (Standard/Nearline/Coldline/Archive)
- Enable Object Lifecycle Management to transition cold data
- Archive backups with Coldline or Archive (99% cheaper than Standard)
Data:
- BigQuery: Use partitioned and clustered tables
- Query only needed columns (avoid
SELECT *) - Use BI Engine for caching (up to 10TB free)
- Consider flat-rate pricing for heavy BigQuery usage
For detailed cost strategies, see references/cost-optimization.md.
Security Fundamentals
IAM Best Practices:
- Follow principle of least privilege
- Use service accounts, not user accounts for applications
- Enable Workload Identity for GKE workloads (no service account keys)
- Use Secret Manager for secrets, not environment variables
Network Security:
- Use Private Google Access (access GCP services without public IPs)
- Enable Cloud NAT for outbound internet from private instances
- Implement VPC Service Controls for data exfiltration protection
- Use Identity-Aware Proxy (IAP) for zero-trust access
Data Security:
- Enable encryption at rest (default) and in transit
- Use Customer-Managed Encryption Keys (CMEK) for sensitive data
- Implement VPC Service Controls perimeter for data protection
- Enable audit logging for all projects
For comprehensive security patterns, see references/security-iam.md.
High Availability
Multi-Region Strategy:
- Cloud Storage: Use multi-region locations (US, EU, ASIA)
- Cloud SQL: Enable Regional HA (automatic failover)
- Cloud Spanner: Use multi-region configurations (99.999% SLA)
- Global Load Balancing: Route traffic to nearest healthy backend
Backup and Disaster Recovery:
- Cloud SQL: Enable automated backups and point-in-time recovery
- Persistent Disk: Schedule snapshot backups
- Cloud Storage: Enable versioning for critical data
- BigQuery: Use table snapshots for time travel
For networking and HA patterns, see references/networking.md.
Quick Reference
Common gcloud Commands
For complete command reference, see examples/gcloud/common-commands.sh.
Python SDK Quick Start
For complete Python examples, see examples/python/.
Terraform Quick Start
For complete Terraform examples, see examples/terraform/.
Service Selection Cheatsheet
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/deploying-on-gcp/SKILL.md
Popularity
- Repository stars
- 325
- Repository forks
- 50
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 2 Apr 2026, 8 months ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ancoleman/ai-design-components/deploying-on-gcp)