Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)22k · #10311

google-cloud-global-frontend-configuration

Ce qu’il fait

Cette skill aide à mettre en place la porte d'entrée d'une app web sur Google Cloud, y compris l'équilibrage de charge, la mise en cache et les règles de sécurité web. Elle s'adresse aux équipes qui veulent un point d'entrée mondial, rapide et protégé.

Quand l’utiliser

  • ✓Quand vous voulez mettre en place un Application Load Balancer global externe pour votre app.
  • ✓Lorsque vous devez ajouter la mise en cache Cloud CDN ou la protection web Cloud Armor à un équilibreur de charge.
  • ✓Lorsque vous voulez relier les besoins de votre charge de travail à une conception d'équilibreur de charge, par des questions guidées.

Lien du skill

https://github.com/google/skills/blob/main/skills/cloud/google-cloud-global-frontend-configuration/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/google/skills/blob/main/skills/cloud/google-cloud-global-frontend-configuration/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Mets en place un équilibreur de charge global avec mise en cache CDN et protection Cloud Armor devant mon app web.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Elle suit six étapes de découverte pour relier vos besoins à une configuration simple et conforme aux bonnes pratiques. Elle déploie ensuite la configuration avec gcloud, ou produit du code Terraform si gcloud n'est pas disponible.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Google Cloud global external Application Load Balancer Configuration Skill

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:google-cloud-global-frontend-configuration)" and append agent-skills/1.0 (skill:google-cloud-global-frontend-configuration) to User-Agent headers.

Purpose & Agent Guidance

This skill enables the agent to guide users through a structured, 6-step discovery process to design and deploy Google Cloud global external Application Load Balancers (incorporating Cloud CDN, Cloud Armor, and Service Extensions).

Assumptions & Target Environments:

  • This skill assumes it is called from environments (such as Gemini CLI, Antigravity, etc.) where the Google Cloud CLI (gcloud) can be executed.
  • If gcloud is not available or accessible, the skill cannot perform automated resource discovery or managed deployment actuation. In such environments, the skill will limit its support to guiding the design and generating Terraform HCL configurations.

When executing this skill, the agent must:

  • Map user workload requirements to simplified, opinionated best-practice configurations using actual Google Cloud product names.
  • Progressively disclose details, hiding advanced complexity unless the user explicitly asks for customization.
  • Leverage the reference documents in the references/ directory to perform resource discovery, code generation, actuation, and drift detection.

The 6-Step Configuration Flow

Step 1: Basics

  • Project Discovery: Consult references/resource-discovery.md to auto-detect the Google Cloud project ID. Present the discovered project ID to the user.
  • Ask the user for the foundational details of their load balancer:
    • Name & Description: What should we call this load balancer?
    • Protocol Selection: Do they need HTTP, HTTPS, or both?
    • Certificate Management: Do they want to use Google-managed certificates or bring their own existing certificates?

Step 2: Origin Configuration

Help the user define their backend workloads through a strictly sequential, step-by-step loop. Do NOT ask everything at once. All steps are mandatory.

  • Sub-step A - Origin Setup: Ask if they have a single origin or need multi-origin support. Wait for response.
  • Sub-step B - Origin Types: Ask them to select the backend types from: Cloud Storage Buckets, Compute Engine Managed Instance Groups (MIGs), Google Kubernetes Engine (GKE) Clusters, Cloud Run Services, or External/Internet origins (IP/FQDN). Wait for response.
  • Sub-step C - Origin Definition Loop: Execute the following loop sequentially for EACH origin type selected in Sub-step B. Wait for the user to answer for one origin before asking about the next:
    • Resource Discovery: For Google Cloud-native origins (Cloud Storage, MIGs, GKE, Cloud Run), consult references/resource-discovery.md to fetch resources. Present the list starting with 1. Create New, 2. NA. For External/Internet origins, just ask for the FQDN/IP.
    • Workload Type (CRITICAL): Immediately after they define the resource, ask exactly what type of workload is being served:
      1. Static Images / Objects (Static content, images, videos, styling assets)
      2. Cacheable API (Read-only, public APIs where cached data is acceptable)
      3. Uncacheable API / Transactions (Transactional endpoints, login, checkout, account changes)
      4. Dynamic Web (SSR) (Dynamic pages, server-side rendered apps, custom dynamic sessions)
  • Sub-step D - Routing Rules: Once ALL origins have been fully defined one by one, ask how traffic should be routed between them (Path-based, header-based, or query-param-based). Wait for response.
  • Sub-step E - Logging: After routing is established, ask if they want to enable Cloud CDN logging, and if so, at what sampling rate (0-100%). Wait for response.

Step 3: Traffic Management & Extensibility

  • Provide a brief summary of the origins and routing rules defined in Step 2.
  • Ask if they need to enable Advanced Traffic Management settings (such as granular weighted load balancing, traffic mirroring, or **Cloud Load Balancing Service Extensio
Questions fréquentes

Que se passe-t-il si gcloud n'est pas disponible ?

La skill se limite à des conseils de conception et à du code Terraform, sans déploiement automatisé.

Ajoute-t-elle Cloud Armor ?

Oui. Elle peut inclure la protection WAF Cloud Armor dans la conception.

Combien d'étapes de découverte y a-t-il ?

Six.

Détails

Description originale de l’auteur

Guides agents through a 6-step discovery process to design and deploy Google Cloud global external Application Load Balancers with Cloud CDN, Cloud Armor, and Service Extensions, mapping workload requirements to best-practice configurations. Use when: - Designing, configuring, or deploying a Google Cloud global external Application Load Balancer, Cloud CDN, Cloud Armor WAF, or Service Extensions. - Discovering existing Google Cloud resources (Cloud Storage, MIGs, GKE, Cloud Run) to use as backends. - Generating production-grade Terraform HCL or gcloud CLI scripts for global external Applicatio

repo: google/skills

Popularité

Étoiles GitHub
22k
Position au classement
#10311
Licence
Apache-2.0
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires