Google cloud global frontend configuration

From google/skills · View interactive version

Google cloud global frontend configuration is an AI agent skill from the GitHub repository google/skills. 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

How to use this skill

Skill file

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:

When executing this skill, the agent must:

The 6-Step Configuration Flow

Step 1: Basics

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.

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)

Step 3: Traffic Management & Extensibility

Step 4: Caching (Cloud CDN)

Propose a "Recommended Configuration" based entirely on the Workload Type from Step 2. Do not list the advanced settings (TTL, Cache Keys, Compression) unless they reject the recommendation and want to customize.

Strings); Cloud Storage backend buckets omit Protocol and Host (Object

Path + Cloud Storage query parameters only)

Step 5: Security (Cloud Armor)

Propose a "Recommended Configuration" based entirely on the Workload Type from Step 2. Keep advanced protection (Bot Management, Threat Intel, Geo-blocking) hidden unless requested.

Step 6: Review & Deploy

| Component | Parameter / Setting | Value & Justification |

| :--- | :--- | :--- |

| Load Balancer | Name & Protocol | <Name> (HTTP/HTTPS) |

| Origins | Backends & Workloads | <Backend 1> (<Workload Type>), <Backend 2>... |

| Traffic Management | Routing Rules | <Path / Header rules or Default> |

| Cloud CDN | Cache Mode & TTLs | <Cache Mode>, Default TTL: <TTL> |

| Cloud Armor | Rate Limiting & OWASP | <RPM Limit>, OWASP Rules: <Enabled/Disabled> |

| Service Extensions| WASM / Callouts | <Enabled/Disabled or N/A> |

1. Show Code / Script (Display the HCL code or gcloud bash script. Once displayed, offer options to Download or Deploy/Execute)

2. Download files (Save main.tf or deploy.sh to the local workspace)

3. Deploy Configuration: Initiate the deployment via Infrastructure Manager or execute the gcloud script. This should be done using the deployment instructions in references/managed-deployment.md.


Relevant Documentation & Supportive Links

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.