Gcp cloud architect

Design GCP architectures for startups and enterprises.

How to use it

Claude Code
  1. Run the line below. It pulls the whole folder into ~/.claude/skills/gcp-cloud-architect, including the files SKILL.md points to.
  2. Describe your job in plain words. Claude Code follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit alirezarezvani/claude-skills/engineering-team/skills/gcp-cloud-architect#main ~/.claude/skills/gcp-cloud-architect

For one project only, change the path to .claude/skills/gcp-cloud-architect. This skill also uses requirements.json, current_setup.json, deployment_manager.py, cloudbuild.yaml, architecture_designer.py, design.json — copying SKILL.md alone won't be enough. See the folder on GitHub.

Claude (web or desktop app)
  1. On this page open ⋯ → Download .md.
  2. Save it as SKILL.md in a folder, zip the folder, then Customize → Skills → + → Create skill → Upload a skill.
  3. Pick the file and Save. Claude shows the name and description and runs a security scan.
  4. Check the skill is switched on.
  5. Start a new chat and describe your job in plain words. The AI follows the skill from there.
ChatGPT or another app
  1. ChatGPT: make a Project and paste it into Instructions.
  2. Neither? Paste it at the top of a new chat — it works for that chat.
Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Source of Gcp cloud architect

Show the full text445 lines
namedescription
gcp-cloud-architectDesign GCP architectures for startups and enterprises. Use when asked to design Google Cloud infrastructure, deploy to GKE or Cloud Run, configure BigQuery pipelines, optimize GCP costs, or migrate to GCP. Covers Cloud Run, GKE, Cloud Functions, Cloud SQL, BigQuery, and cost optimization.

GCP Cloud Architect

Design scalable, cost-effective Google Cloud architectures for startups and enterprises with infrastructure-as-code templates.


Workflow

Step 1: Gather Requirements

Collect application specifications:

- Application type (web app, mobile backend, data pipeline, SaaS)
- Expected users and requests per second
- Budget constraints (monthly spend limit)
- Team size and GCP experience level
- Compliance requirements (GDPR, HIPAA, SOC 2)
- Availability requirements (SLA, RPO/RTO)
Step 2: Design Architecture

Run the architecture designer to get pattern recommendations:

python scripts/architecture_designer.py --input requirements.json

Example output:

{
  "recommended_pattern": "serverless_web",
  "service_stack": ["Cloud Storage", "Cloud CDN", "Cloud Run", "Firestore", "Identity Platform"],
  "estimated_monthly_cost_usd": 30,
  "pros": ["Low ops overhead", "Pay-per-use", "Auto-scaling", "No cold starts on Cloud Run min instances"],
  "cons": ["Vendor lock-in", "Regional limitations", "Eventual consistency with Firestore"]
}

Select from recommended patterns:

  • Serverless Web: Cloud Storage + Cloud CDN + Cloud Run + Firestore
  • Microservices on GKE: GKE Autopilot + Cloud SQL + Memorystore + Cloud Pub/Sub
  • Serverless Data Pipeline: Pub/Sub + Dataflow + BigQuery + Looker
  • ML Platform: Vertex AI + Cloud Storage + BigQuery + Cloud Functions

See references/architecture_patterns.md for detailed pattern specifications.

Validation checkpoint: Confirm the recommended pattern matches the team's operational maturity and compliance requirements before proceeding to Step 3.

Step 3: Estimate Cost

Analyze estimated costs and optimization opportunities:

python scripts/cost_optimizer.py --resources current_setup.json --monthly-spend 2000

Example output:

{
  "current_monthly_usd": 2000,
  "recommendations": [
    { "action": "Right-size Cloud SQL db-custom-4-16384 to db-custom-2-8192", "savings_usd": 380, "priority": "high" },
    { "action": "Purchase 1-yr committed use discount for GKE nodes", "savings_usd": 290, "priority": "high" },
    { "action": "Move Cloud Storage objects >90 days to Nearline", "savings_usd": 75, "priority": "medium" }
  ],
  "total_potential_savings_usd": 745
}

Output includes:

  • Monthly cost breakdown by service
  • Right-sizing recommendations
  • Committed use discount opportunities
  • Sustained use discount analysis
  • Potential monthly savings

Use the GCP Pricing Calculator for detailed estimates.

Step 4: Generate IaC

Create infrastructure-as-code for the selected pattern:

python scripts/deployment_manager.py --app-name my-app --pattern serverless_web --region us-central1

Example Terraform HCL output (Cloud Run + Firestore):

terraform {
  required_providers {
    google = {
      source  = "hashicorp/google"
      version = "~> 5.0"
    }
  }
}

provider "google" {
  project = var.project_id
  region  = var.region
}

variable "project_id" {
  description = "GCP project ID"
  type        = string
}

variable "region" {
  description = "GCP region"
  type        = string
  default     = "us-central1"
}

resource "google_cloud_run_v2_service" "api" {
  name     = "${var.environment}-${var.app_name}-api"
  location = var.region

  template {
    containers {
      image = "gcr.io/${var.project_id}/${var.app_name}:latest"
      resources {
        limits = {
          cpu    = "1000m"
          memory = "512Mi"
        }
      }
      env {
        name  = "FIRESTORE_PROJECT"
        value = var.project_id
      }
    }
    scaling {
      min_instance_count = 0
      max_instance_count = 10
    }
  }
}

resource "google_firestore_database" "default" {
  project     = var.project_id
  name        = "(default)"
  location_id = var.region
  type        = "FIRESTORE_NATIVE"
}

Example gcloud CLI deployment:

# Deploy Cloud Run service
gcloud run deploy my-app-api \
  --image gcr.io/$PROJECT_ID/my-app:latest \
  --region us-central1 \
  --platform managed \
  --allow-unauthenticated \
  --memory 512Mi \
  --cpu 1 \
  --min-instances 0 \
  --max-instances 10

# Create Firestore database
gcloud firestore databases create --location=us-central1

Full templates including Cloud CDN, Identity Platform, IAM, and Cloud Monitoring are generated by deployment_manager.py and also available in references/architecture_patterns.md.

Step 5: Configure CI/CD

Set up automated deployment with Cloud Build or GitHub Actions:

# cloudbuild.yaml
steps:
  - name: 'gcr.io/cloud-builders/docker'
    args: ['build', '-t', 'gcr.io/$PROJECT_ID/my-app:$COMMIT_SHA', '.']

  - name: 'gcr.io/cloud-builders/docker'
    args: ['push', 'gcr.io/$PROJECT_ID/my-app:$COMMIT_SHA']

  - name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
    entrypoint: gcloud
    args:
      - 'run'
      - 'deploy'
      - 'my-app-api'
      - '--image=gcr.io/$PROJECT_ID/my-app:$COMMIT_SHA'
      - '--region=us-central1'
      - '--platform=managed'

images:
  - 'gcr.io/$PROJECT_ID/my-app:$COMMIT_SHA'
# Connect repo and create trigger
gcloud builds triggers create github \
  --repo-name=my-app \
  --repo-owner=my-org \
  --branch-pattern="^main$" \
  --build-config=cloudbuild.yaml
Step 6: Security Review

Verify security configuration:

# Review IAM bindings
gcloud projects get-iam-policy $PROJECT_ID --format=json

# Check service account permissions
gcloud iam service-accounts list --project=$PROJECT_ID

# Verify VPC Service Controls (if applicable)
gcloud access-context-manager perimeters list --policy=$POLICY_ID

Security checklist:

  • IAM roles follow least privilege (prefer predefined roles over basic roles)
  • Service accounts use Workload Identity for GKE
  • VPC Service Controls configured for sensitive APIs
  • Cloud KMS encryption keys for customer-managed encryption
  • Cloud Audit Logs enabled for all admin activity
  • Organization policies restrict public access
  • Secret Manager used for all credentials

If deployment fails:

  1. Check the failure reason:
    gcloud run services describe my-app-api --region us-central1
    gcloud logging read "resource.type=cloud_run_revision" --limit=20
    
  2. Review Cloud Logging for application errors.
  3. Fix the configuration or container image.
  4. Redeploy:
    gcloud run deploy my-app-api --image gcr.io/$PROJECT_ID/my-app:latest --region us-central1
    

Common failure causes:

  • IAM permission errors -- verify service account roles and --allow-unauthenticated flag
  • Quota exceeded -- request quota increase via IAM & Admin > Quotas
  • Container startup failure -- check container logs and health check configuration
  • Region not enabled -- enable the required APIs with gcloud services enable

Tools

architecture_designer.py

Recommends GCP services based on workload requirements.

python scripts/architecture_designer.py --input requirements.json --output design.json

Input: JSON with app type, scale, budget, compliance needs Output: Recommended pattern, service stack, cost estimate, pros/cons

cost_optimizer.py

Analyzes GCP resources for cost savings.

python scripts/cost_optimizer.py --resources inventory.json --monthly-spend 5000

Output: Recommendations for:

  • Idle resource removal
  • Machine type right-sizing
  • Committed use discounts
  • Storage class transitions
  • Network egress optimization
deployment_manager.py

Generates gcloud CLI deployment scripts and Terraform configurations.

python scripts/deployment_manager.py --app-name my-app --pattern serverless_web --region us-central1

Output: Production-ready deployment scripts with:

  • Cloud Run or GKE deployment
  • Firestore or Cloud SQL setup
  • Identity Platform configuration
  • IAM roles with least privilege
  • Cloud Monitoring and Logging

Quick Start

Web App on Cloud Run (< $100/month)
Ask: "Design a serverless web backend for a mobile app with 1000 users"

Result:
- Cloud Run for API (auto-scaling, no cold start with min instances)
- Firestore for data (pay-per-operation)
- Identity Platform for authentication
- Cloud Storage + Cloud CDN for static assets
- Estimated: $15-40/month
Microservices on GKE ($500-2000/month)
Ask: "Design a scalable architecture for a SaaS platform with 50k users"

Result:
- GKE Autopilot for containerized workloads
- Cloud SQL (PostgreSQL) with read replicas
- Memorystore (Redis) for session caching
- Cloud CDN for global delivery
- Cloud Build for CI/CD
- Multi-zone deployment
Serverless Data Pipeline
Ask: "Design a real-time analytics pipeline for event data"

Result:
- Pub/Sub for event ingestion
- Dataflow (Apache Beam) for stream processing
- BigQuery for analytics and warehousing
- Looker for dashboards
- Cloud Functions for lightweight transforms
ML Platform
Ask: "Design a machine learning platform for model training and serving"

Result:
- Vertex AI for training and prediction
- Cloud Storage for datasets and model artifacts
- BigQuery for feature store
- Cloud Functions for preprocessing triggers
- Cloud Monitoring for model drift detection

Input Requirements

Provide these details for architecture design:

Requirement Description Example
Application type What you're building SaaS platform, mobile backend
Expected scale Users, requests/sec 10k users, 100 RPS
Budget Monthly GCP limit $500/month max
Team context Size, GCP experience 3 devs, intermediate
Compliance Regulatory needs HIPAA, GDPR, SOC 2
Availability Uptime requirements 99.9% SLA, 1hr RPO

JSON Format:

{
  "application_type": "saas_platform",
  "expected_users": 10000,
  "requests_per_second": 100,
  "budget_monthly_usd": 500,
  "team_size": 3,
  "gcp_experience": "intermediate",
  "compliance": ["SOC2"],
  "availability_sla": "99.9%"
}

Output Formats

Architecture Design
  • Pattern recommendation with rationale
  • Service stack diagram (ASCII)
  • Monthly cost estimate and trade-offs
IaC Templates
  • Terraform HCL: Production-ready Google provider configs
  • gcloud CLI: Scripted deployment commands
  • Cloud Build YAML: CI/CD pipeline definitions
Cost Analysis
  • Current spend breakdown with optimization recommendations
  • Priority action list (high/medium/low) and implementation checklist

Anti-Patterns

Anti-Pattern Why It Fails Better Approach
Using default VPC for production No isolation, shared firewall rules Create custom VPC with private subnets
Over-provisioning GKE node pools Wasted cost on idle capacity Use GKE Autopilot or cluster autoscaler
Storing secrets in environment variables Visible in Cloud Console, logs Use Secret Manager with Workload Identity
Ignoring sustained use discounts Missing 20-30% automatic savings Right-size VMs for consistent baseline usage
Single-region deployment for SaaS One region outage = full downtime Multi-region with Cloud Load Balancing
BigQuery on-demand for heavy workloads Unpredictable costs at scale Use BigQuery slots (flat-rate) for consistent workloads
Running Cloud Functions for long tasks 9-minute timeout, cold starts Use Cloud Run for tasks > 60 seconds

Cross-References

Skill Relationship
engineering-team/aws-solution-architect AWS equivalent — same 6-step workflow, different services
engineering-team/azure-cloud-architect Azure equivalent — completes the cloud trifecta
engineering-team/senior-devops Broader DevOps scope — pipelines, monitoring, containerization
engineering/terraform-patterns IaC implementation — use for Terraform modules targeting GCP
engineering/ci-cd-pipeline-builder Pipeline construction — automates Cloud Build and deployment

Reference Documentation

Document Contents
references/architecture_patterns.md 6 patterns: serverless, GKE microservices, three-tier, data pipeline, ML platform, multi-region
references/service_selection.md Decision matrices for compute, database, storage, messaging
references/best_practices.md Naming, labels, IAM, networking, monitoring, disaster recovery
1---
2name: "gcp-cloud-architect"
3description: "Design GCP architectures for startups and enterprises. Use when asked to design Google Cloud infrastructure, deploy to GKE or Cloud Run, configure BigQuery pipelines, optimize GCP costs, or migrate to GCP. Covers Cloud Run, GKE, Cloud Functions, Cloud SQL, BigQuery, and cost optimization."
4---
5 
6# GCP Cloud Architect
7 
8Design scalable, cost-effective Google Cloud architectures for startups and enterprises with infrastructure-as-code templates.
9 
10---
11 
12## Workflow
13 
14### Step 1: Gather Requirements
15 
16Collect application specifications:
17 
18```
19- Application type (web app, mobile backend, data pipeline, SaaS)
20- Expected users and requests per second
21- Budget constraints (monthly spend limit)
22- Team size and GCP experience level
23- Compliance requirements (GDPR, HIPAA, SOC 2)
24- Availability requirements (SLA, RPO/RTO)
25```
26 
27### Step 2: Design Architecture
28 
29Run the architecture designer to get pattern recommendations:
30 
31```bash
32python scripts/architecture_designer.py --input requirements.json
33```
34 
35**Example output:**
36 
37```json
38{
39 "recommended_pattern": "serverless_web",
40 "service_stack": ["Cloud Storage", "Cloud CDN", "Cloud Run", "Firestore", "Identity Platform"],
41 "estimated_monthly_cost_usd": 30,
42 "pros": ["Low ops overhead", "Pay-per-use", "Auto-scaling", "No cold starts on Cloud Run min instances"],
43 "cons": ["Vendor lock-in", "Regional limitations", "Eventual consistency with Firestore"]
44}
45```
46 
47Select from recommended patterns:
48- **Serverless Web**: Cloud Storage + Cloud CDN + Cloud Run + Firestore
49- **Microservices on GKE**: GKE Autopilot + Cloud SQL + Memorystore + Cloud Pub/Sub
50- **Serverless Data Pipeline**: Pub/Sub + Dataflow + BigQuery + Looker
51- **ML Platform**: Vertex AI + Cloud Storage + BigQuery + Cloud Functions
52 
53See `references/architecture_patterns.md` for detailed pattern specifications.
54 
55**Validation checkpoint:** Confirm the recommended pattern matches the team's operational maturity and compliance requirements before proceeding to Step 3.
56 
57### Step 3: Estimate Cost
58 
59Analyze estimated costs and optimization opportunities:
60 
61```bash
62python scripts/cost_optimizer.py --resources current_setup.json --monthly-spend 2000
63```
64 
65**Example output:**
66 
67```json
68{
69 "current_monthly_usd": 2000,
70 "recommendations": [
71 { "action": "Right-size Cloud SQL db-custom-4-16384 to db-custom-2-8192", "savings_usd": 380, "priority": "high" },
72 { "action": "Purchase 1-yr committed use discount for GKE nodes", "savings_usd": 290, "priority": "high" },
73 { "action": "Move Cloud Storage objects >90 days to Nearline", "savings_usd": 75, "priority": "medium" }
74 ],
75 "total_potential_savings_usd": 745
76}
77```
78 
79Output includes:
80- Monthly cost breakdown by service
81- Right-sizing recommendations
82- Committed use discount opportunities
83- Sustained use discount analysis
84- Potential monthly savings
85 
86Use the [GCP Pricing Calculator](https://cloud.google.com/products/calculator) for detailed estimates.
87 
88### Step 4: Generate IaC
89 
90Create infrastructure-as-code for the selected pattern:
91 
92```bash
93python scripts/deployment_manager.py --app-name my-app --pattern serverless_web --region us-central1
94```
95 
96**Example Terraform HCL output (Cloud Run + Firestore):**
97 
98```hcl
99terraform {
100 required_providers {
101 google = {
102 source = "hashicorp/google"
103 version = "~> 5.0"
104 }
105 }
106}
107 
108provider "google" {
109 project = var.project_id
110 region = var.region
111}
112 
113variable "project_id" {
114 description = "GCP project ID"
115 type = string
116}
117 
118variable "region" {
119 description = "GCP region"
120 type = string
121 default = "us-central1"
122}
123 
124resource "google_cloud_run_v2_service" "api" {
125 name = "${var.environment}-${var.app_name}-api"
126 location = var.region
127 
128 template {
129 containers {
130 image = "gcr.io/${var.project_id}/${var.app_name}:latest"
131 resources {
132 limits = {
133 cpu = "1000m"
134 memory = "512Mi"
135 }
136 }
137 env {
138 name = "FIRESTORE_PROJECT"
139 value = var.project_id
140 }
141 }
142 scaling {
143 min_instance_count = 0
144 max_instance_count = 10
145 }
146 }
147}
148 
149resource "google_firestore_database" "default" {
150 project = var.project_id
151 name = "(default)"
152 location_id = var.region
153 type = "FIRESTORE_NATIVE"
154}
155```
156 
157**Example gcloud CLI deployment:**
158 
159```bash
160# Deploy Cloud Run service
161gcloud run deploy my-app-api \
162 --image gcr.io/$PROJECT_ID/my-app:latest \
163 --region us-central1 \
164 --platform managed \
165 --allow-unauthenticated \
166 --memory 512Mi \
167 --cpu 1 \
168 --min-instances 0 \
169 --max-instances 10
170 
171# Create Firestore database
172gcloud firestore databases create --location=us-central1
173```
174 
175> Full templates including Cloud CDN, Identity Platform, IAM, and Cloud Monitoring are generated by `deployment_manager.py` and also available in `references/architecture_patterns.md`.
176 
177### Step 5: Configure CI/CD
178 
179Set up automated deployment with Cloud Build or GitHub Actions:
180 
181```yaml
182# cloudbuild.yaml
183steps:
184 - name: 'gcr.io/cloud-builders/docker'
185 args: ['build', '-t', 'gcr.io/$PROJECT_ID/my-app:$COMMIT_SHA', '.']
186 
187 - name: 'gcr.io/cloud-builders/docker'
188 args: ['push', 'gcr.io/$PROJECT_ID/my-app:$COMMIT_SHA']
189 
190 - name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
191 entrypoint: gcloud
192 args:
193 - 'run'
194 - 'deploy'
195 - 'my-app-api'
196 - '--image=gcr.io/$PROJECT_ID/my-app:$COMMIT_SHA'
197 - '--region=us-central1'
198 - '--platform=managed'
199 
200images:
201 - 'gcr.io/$PROJECT_ID/my-app:$COMMIT_SHA'
202```
203 
204```bash
205# Connect repo and create trigger
206gcloud builds triggers create github \
207 --repo-name=my-app \
208 --repo-owner=my-org \
209 --branch-pattern="^main$" \
210 --build-config=cloudbuild.yaml
211```
212 
213### Step 6: Security Review
214 
215Verify security configuration:
216 
217```bash
218# Review IAM bindings
219gcloud projects get-iam-policy $PROJECT_ID --format=json
220 
221# Check service account permissions
222gcloud iam service-accounts list --project=$PROJECT_ID
223 
224# Verify VPC Service Controls (if applicable)
225gcloud access-context-manager perimeters list --policy=$POLICY_ID
226```
227 
228**Security checklist:**
229- IAM roles follow least privilege (prefer predefined roles over basic roles)
230- Service accounts use Workload Identity for GKE
231- VPC Service Controls configured for sensitive APIs
232- Cloud KMS encryption keys for customer-managed encryption
233- Cloud Audit Logs enabled for all admin activity
234- Organization policies restrict public access
235- Secret Manager used for all credentials
236 
237**If deployment fails:**
238 
2391. Check the failure reason:
240 ```bash
241 gcloud run services describe my-app-api --region us-central1
242 gcloud logging read "resource.type=cloud_run_revision" --limit=20
243 ```
2442. Review Cloud Logging for application errors.
2453. Fix the configuration or container image.
2464. Redeploy:
247 ```bash
248 gcloud run deploy my-app-api --image gcr.io/$PROJECT_ID/my-app:latest --region us-central1
249 ```
250 
251**Common failure causes:**
252- IAM permission errors -- verify service account roles and `--allow-unauthenticated` flag
253- Quota exceeded -- request quota increase via IAM & Admin > Quotas
254- Container startup failure -- check container logs and health check configuration
255- Region not enabled -- enable the required APIs with `gcloud services enable`
256 
257---
258 
259## Tools
260 
261### architecture_designer.py
262 
263Recommends GCP services based on workload requirements.
264 
265```bash
266python scripts/architecture_designer.py --input requirements.json --output design.json
267```
268 
269**Input:** JSON with app type, scale, budget, compliance needs
270**Output:** Recommended pattern, service stack, cost estimate, pros/cons
271 
272### cost_optimizer.py
273 
274Analyzes GCP resources for cost savings.
275 
276```bash
277python scripts/cost_optimizer.py --resources inventory.json --monthly-spend 5000
278```
279 
280**Output:** Recommendations for:
281- Idle resource removal
282- Machine type right-sizing
283- Committed use discounts
284- Storage class transitions
285- Network egress optimization
286 
287### deployment_manager.py
288 
289Generates gcloud CLI deployment scripts and Terraform configurations.
290 
291```bash
292python scripts/deployment_manager.py --app-name my-app --pattern serverless_web --region us-central1
293```
294 
295**Output:** Production-ready deployment scripts with:
296- Cloud Run or GKE deployment
297- Firestore or Cloud SQL setup
298- Identity Platform configuration
299- IAM roles with least privilege
300- Cloud Monitoring and Logging
301 
302---
303 
304## Quick Start
305 
306### Web App on Cloud Run (< $100/month)
307 
308```
309Ask: "Design a serverless web backend for a mobile app with 1000 users"
310 
311Result:
312- Cloud Run for API (auto-scaling, no cold start with min instances)
313- Firestore for data (pay-per-operation)
314- Identity Platform for authentication
315- Cloud Storage + Cloud CDN for static assets
316- Estimated: $15-40/month
317```
318 
319### Microservices on GKE ($500-2000/month)
320 
321```
322Ask: "Design a scalable architecture for a SaaS platform with 50k users"
323 
324Result:
325- GKE Autopilot for containerized workloads
326- Cloud SQL (PostgreSQL) with read replicas
327- Memorystore (Redis) for session caching
328- Cloud CDN for global delivery
329- Cloud Build for CI/CD
330- Multi-zone deployment
331```
332 
333### Serverless Data Pipeline
334 
335```
336Ask: "Design a real-time analytics pipeline for event data"
337 
338Result:
339- Pub/Sub for event ingestion
340- Dataflow (Apache Beam) for stream processing
341- BigQuery for analytics and warehousing
342- Looker for dashboards
343- Cloud Functions for lightweight transforms
344```
345 
346### ML Platform
347 
348```
349Ask: "Design a machine learning platform for model training and serving"
350 
351Result:
352- Vertex AI for training and prediction
353- Cloud Storage for datasets and model artifacts
354- BigQuery for feature store
355- Cloud Functions for preprocessing triggers
356- Cloud Monitoring for model drift detection
357```
358 
359---
360 
361## Input Requirements
362 
363Provide these details for architecture design:
364 
365| Requirement | Description | Example |
366|-------------|-------------|---------|
367| Application type | What you're building | SaaS platform, mobile backend |
368| Expected scale | Users, requests/sec | 10k users, 100 RPS |
369| Budget | Monthly GCP limit | $500/month max |
370| Team context | Size, GCP experience | 3 devs, intermediate |
371| Compliance | Regulatory needs | HIPAA, GDPR, SOC 2 |
372| Availability | Uptime requirements | 99.9% SLA, 1hr RPO |
373 
374**JSON Format:**
375 
376```json
377{
378 "application_type": "saas_platform",
379 "expected_users": 10000,
380 "requests_per_second": 100,
381 "budget_monthly_usd": 500,
382 "team_size": 3,
383 "gcp_experience": "intermediate",
384 "compliance": ["SOC2"],
385 "availability_sla": "99.9%"
386}
387```
388 
389---
390 
391## Output Formats
392 
393### Architecture Design
394 
395- Pattern recommendation with rationale
396- Service stack diagram (ASCII)
397- Monthly cost estimate and trade-offs
398 
399### IaC Templates
400 
401- **Terraform HCL**: Production-ready Google provider configs
402- **gcloud CLI**: Scripted deployment commands
403- **Cloud Build YAML**: CI/CD pipeline definitions
404 
405### Cost Analysis
406 
407- Current spend breakdown with optimization recommendations
408- Priority action list (high/medium/low) and implementation checklist
409 
410---
411 
412## Anti-Patterns
413 
414| Anti-Pattern | Why It Fails | Better Approach |
415|---|---|---|
416| Using default VPC for production | No isolation, shared firewall rules | Create custom VPC with private subnets |
417| Over-provisioning GKE node pools | Wasted cost on idle capacity | Use GKE Autopilot or cluster autoscaler |
418| Storing secrets in environment variables | Visible in Cloud Console, logs | Use Secret Manager with Workload Identity |
419| Ignoring sustained use discounts | Missing 20-30% automatic savings | Right-size VMs for consistent baseline usage |
420| Single-region deployment for SaaS | One region outage = full downtime | Multi-region with Cloud Load Balancing |
421| BigQuery on-demand for heavy workloads | Unpredictable costs at scale | Use BigQuery slots (flat-rate) for consistent workloads |
422| Running Cloud Functions for long tasks | 9-minute timeout, cold starts | Use Cloud Run for tasks > 60 seconds |
423 
424---
425 
426## Cross-References
427 
428| Skill | Relationship |
429|-------|-------------|
430| `engineering-team/aws-solution-architect` | AWS equivalent — same 6-step workflow, different services |
431| `engineering-team/azure-cloud-architect` | Azure equivalent — completes the cloud trifecta |
432| `engineering-team/senior-devops` | Broader DevOps scope — pipelines, monitoring, containerization |
433| `engineering/terraform-patterns` | IaC implementation — use for Terraform modules targeting GCP |
434| `engineering/ci-cd-pipeline-builder` | Pipeline construction — automates Cloud Build and deployment |
435 
436---
437 
438## Reference Documentation
439 
440| Document | Contents |
441|----------|----------|
442| `references/architecture_patterns.md` | 6 patterns: serverless, GKE microservices, three-tier, data pipeline, ML platform, multi-region |
443| `references/service_selection.md` | Decision matrices for compute, database, storage, messaging |
444| `references/best_practices.md` | Naming, labels, IAM, networking, monitoring, disaster recovery |
445 

Discussion

Alternatives

Also in Cloud & infraSee all 533 in Development →
Docker MCP gatewayDocker's own CLI plugin: run any server from the Docker MCP Catalog in its own container, behind one connection, with secrets kept out of env vars.Coding · MITTechnical Codebase Discovery & Onboarding PromptA prompt designed to guide a deep technical analysis of a code repository to accelerate developer onboarding. It instructs an AI to analyze the entire codebase and generate a structured Markdown document covering architecture, technology stack, key components, execution and data flows, integrations, testing, security, and build/deployment, serving as a technical reference guide.Coding · CC0-1.0NextflowBuild, run, and debug Nextflow data pipelines and nf-core workflows end to end. Use whenever the user mentions Nextflow, nf-core, .nf files, nextflow.config, DSL2, processes/channels/operators, samplesheets, or wants to run a community pipeline (e.g. nf-core/rnaseq, nf-core/sarek), write or test a module/subworkflow with nf-test, configure executors/containers (Docker, Singularity/Apptainer, Conda, Wave), scale a workflow to HPC/SLURM or cloud (AWS Batch, Google Batch, Azure, Kubernetes), or debug a failed/-resume run. Make sure to use this skill for any reproducible scientific/bioinformatics workflow work even if the user does not say the word "Nextflow", and for authoring nf-core-compliant pipelines, modules, configs, and linting.Science · MITCloud Cost OptimizationOptimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.Infrastructure & ops · MIT