本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)22k · #10311

google-cloud-global-frontend-configuration

できること

このスキルは、Google Cloud 上の Web アプリの入口を構築する手助けをします。負荷分散、キャッシュ、Web セキュリティのルールを含みます。速く、保護された、世界中から使える入口を求めるチーム向けです。

使う場面

  • ✓Google Cloud のアプリに、グローバル外部 Application Load Balancer を設定したいとき。
  • ✓ロードバランサーに Cloud CDN のキャッシュや Cloud Armor による Web 保護を追加したいとき。
  • ✓いくつかの質問に答えながら、ワークロードの要件をロードバランサーの設計に対応させたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/google/skills/blob/main/skills/cloud/google-cloud-global-frontend-configuration/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Web アプリの前に、CDN キャッシュと Cloud Armor による保護を備えたグローバルロードバランサーを設定してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

6 つの検討ステップで、必要事項をベストプラクティスに沿ったシンプルな構成に対応させます。その後、gcloud で展開するか、gcloud が使えない場合は Terraform コードを作成します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
よくある質問

gcloud が使えない場合はどうなりますか?

このスキルは設計の案内と Terraform コードの作成に限られ、自動展開は行いません。

Cloud Armor は追加されますか?

はい。設計に Cloud Armor の WAF 保護を含めることができます。

検討ステップは何段階ありますか?

6 段階です。

詳細

作者による元の説明

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

人気

GitHubのスター
22k
ランキング
#10311
ライセンス
Apache-2.0
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル