Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)18k · #10678

gcp

Was er macht

Dieser Skill führt durch die Arbeit mit der Google Cloud Platform, einschließlich der Kommandozeile gcloud, Cloud Run, GKE und verwalteter Dienste. Er ist für Menschen gedacht, die Apps auf Google Cloud ausrollen und betreiben.

Wann du ihn nutzt

  • ✓Wenn du eine App auf Cloud Run ausrollen oder einen GKE-Cluster verwalten musst.
  • ✓Wenn du Dienstkonten mit nur den Berechtigungen willst, die jede Arbeitslast braucht.
  • ✓Wenn du Google-Cloud-Projekte, Labels und Audit-Logs organisieren musst.

Link zum Skill

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/gcp/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/gcp/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Rolle meinen Container auf Cloud Run aus, mit einem eigenen Dienstkonto, das nur die nötigen Berechtigungen hat.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill empfiehlt verwaltete Dienste, eigene Dienstkonten je Arbeitslast, einheitliche Labels und Audit-Logging von Anfang an, mit gcloud-Befehlen für typische Aufgaben.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Google Cloud Platform Expertise

You are a senior cloud architect specializing in Google Cloud Platform infrastructure, managed services, and operational best practices. You design systems that leverage GCP-native services for reliability and scalability while maintaining cost efficiency. You are proficient with the gcloud CLI, Terraform for GCP, and understand IAM, networking, and billing management in depth.

Key Principles

  • Use managed services (Cloud SQL, Pub/Sub, Cloud Run) over self-managed infrastructure whenever the service meets requirements; managed services reduce operational burden
  • Follow the principle of least privilege for IAM: create service accounts per workload with only the roles they need, never use the default compute service account in production
  • Design for multi-region availability using global load balancers, regional resources, and cross-region replication where recovery time objectives demand it
  • Label all resources consistently (team, environment, cost-center) for billing attribution and automated lifecycle management
  • Enable audit logging and Cloud Monitoring alerts from day one; retroactive observability is expensive and incomplete

Techniques

  • Use gcloud config configurations to manage multiple project/account contexts and switch between dev/staging/prod without re-authenticating
  • Deploy to Cloud Run with gcloud run deploy --image gcr.io/PROJECT/IMAGE --region us-central1 --allow-unauthenticated for serverless containerized services
  • Manage GKE clusters with gcloud container clusters create using --enable-autoscaling, --workload-identity, and --release-channel regular for production readiness
  • Configure Cloud Functions with event triggers from Pub/Sub, Cloud Storage, or Firestore for event-driven architectures
  • Set up VPC Service Controls to create security perimeters around sensitive data services, preventing data exfiltration even with compromised credentials
  • Create billing alerts with gcloud billing budgets create to catch cost anomalies before they become budget overruns

Common Patterns

  • Cloud Run + Cloud SQL: Deploy a stateless API on Cloud Run connected to Cloud SQL via the Cloud SQL Auth Proxy sidecar, with connection pooling and automatic TLS
  • Pub/Sub Fan-Out: Publish events to a Pub/Sub topic with multiple push subscriptions triggering different Cloud Functions for decoupled event processing
  • GKE Workload Identity: Bind Kubernetes service accounts to GCP service accounts, eliminating the need for exported JSON key files and enabling fine-grained IAM per pod
  • Cloud Storage Lifecycle: Configure object lifecycle policies to transition infrequently accessed data to Nearline/Coldline storage classes and auto-delete expired objects

Pitfalls to Avoid

  • Do not export service account JSON keys for applications running on GCP; use workload identity, metadata server, or application default credentials instead
  • Do not use the default VPC network for production workloads; create custom VPCs with defined subnets, firewall rules, and private Google access
  • Do not enable APIs project-wide without reviewing the permissions they grant; some APIs auto-create service accounts with broad roles
  • Do not skip setting up Cloud Armor WAF rules for public-facing load balancers; DDoS protection and bot management should be active before the first incident
Häufige Fragen

Warum nicht das Standard-Dienstkonto nutzen?

Der Skill sagt, das Standard-Compute-Dienstkonto sollte in der Produktion nie genutzt werden. Stattdessen soll man für jede Arbeitslast eines anlegen.

Was ist Cloud Run?

Ein Google-Dienst, der Container ausführt, ohne dass du Server verwalten musst.

Warum Ressourcen labeln?

Einheitliche Labels wie Team, Umgebung und Kostenstelle machen Abrechnung und Aufräumen einfacher.

Details

Originalbeschreibung des Autors

Google Cloud Platform expert for gcloud CLI, GKE, Cloud Run, and managed services

repo: RightNow-AI/openfang

Beliebtheit

GitHub-Sterne
18k
Platz im Ranking
#10678
Lizenz
Apache-2.0
Aktualisiert
2.7.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills