Installation

Install as Agent Plugin Recommended
copilot plugin marketplace add samueltauil/skills-hub
copilot plugin install google-cloud-solution-agentic-analytics-spark-knowledge-catalog@skills-hub

Works with GitHub Copilot CLI and VS Code (enable chat.plugins.enabled). Plugin google-cloud-solution-agentic-analytics-spark-knowledge-catalog v1.0.0 follows the Agent Plugins spec.

Install with the gh extension
gh skills-hub install google-cloud-solution-agentic-analytics-spark-knowledge-catalog

Don't have the extension? Run gh extension install samueltauil/skills-hub first.

Download and extract to your repository:

.github/skills/google-cloud-solution-agentic-analytics-spark-knowledge-catalog/

Extract the ZIP to .github/skills/ in your repo. The folder name must match google-cloud-solution-agentic-analytics-spark-knowledge-catalog for Copilot to auto-discover it.

Skill Files (6)

SKILL.md 17.3 KB
---
name: google-cloud-solution-agentic-analytics-spark-knowledge-catalog
metadata:
  version: "1.0.2"
  category: MultiProductSolutions
description: >-
  Discovers requirements and designs an end-to-end governed agentic analytics
  solution using Knowledge Catalog and Managed Service for Apache Spark
  (Lightning Engine). Use when designing data science and analytics workflows
  across structured and unstructured distributed data (including in S3, Azure
  Blob, AlloyDB, and Iceberg), establishing metadata governance with Knowledge
  Catalog aspect types, or grounding agentic IDEs (VS Code, Antigravity) by
  using the Google Cloud Data Agent Kit. Don't use for provisioning borderless
  data lakehouse infrastructure (use
  google-cloud-solution-agentic-ai-borderless-data-lakehouse instead).
---

# Agentic analytics across cloud providers and data types

This skill provides a workflow to design and implement a governed, secure
pipeline for agentic analytics solution across structured and unstructured data
that's distributed across Google Cloud, on-premises systems, and other cloud
providers.

## Attribution

**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
MUST read and follow the instructions in
[Usage Attribution](references/attribution.md).

## Overview of the workflow

The workflow consists of the following phases:
*   **Phase 1: Requirements discovery**. Gather detailed requirements related to
    the cloud workload or use case that the user needs assistance for.
*   **Phase 2: Solution architecture**. Use the requirements that were gathered
    in Phase 1 to generate a detailed solution architecture for the cloud
    workload or use case.
*   **Phase 3: Solution validation**. Create a plan to validate the generated
    solution, generate validation instructions and scripts, and run the
    validation.
*   **Phase 4: Solution packing and presentation**. Consolidate the generated
    content and present the solution.

**Important notes about the workflow**:
*   **Strict phase separation**: During Phase 1 (Requirements discovery), when
    you ask the user clarifying questions, DON'T recommend, propose, or outline
    any architectural designs, technical decompositions, cloud services, or
    component mappings.
*   **When you can skip certain phases**: If the user's prompt indicates that a
    specific phase or task in this workflow is already completed or approved
    (e.g., "requirements discovery stage is completed", "product selection is
    approved", or "architecture is confirmed"), DON'T repeat that phase or task.
    Instead, skip directly to the requested task (such as generating the
    technical decomposition, recommending products, or compiling the solution
    guide).

## Phase 1: Requirements discovery and analysis

1.  Request the user to describe the functional requirements (business
    processes, activities, and use cases) of their workload. Ask the user the
    following questions, one question at a time:
    -   What are your primary inventory data sources? Are they unstructured
        (e.g., PDF flavor recipes, invoices) or structured (e.g., historical
        sales in Iceberg)?
    -   Where are these sources hosted? Are they split across AWS S3, Azure
        Blob, Google Cloud Storage, or databases like AlloyDB?
    -   How do you manage and federate metadata across your data
        sources within Google Cloud and in external locations (such as other
        cloud providers)?
    -   What are your analytical and computational requirements to join, clean,
        and run forecast models over large-scale distributed data?
    -   What types of natural language prompts do your data scientists or
        operational agents expect to execute in their agentic IDE (VS Code or
        Antigravity IDE)?
2.  Request the user to describe the non-functional requirements of their
    workload.

    The following are examples of questions you can ask to gather non-functional
    requirements:
    -   **Security, privacy, and compliance**: What data privacy rules,
        regulatory compliance (e.g., GDPR, HIPAA), or data governance
        requirements must the system adhere to?
    -   **Reliability**: What are your uptime, high-availability,
        fault-tolerance, and disaster recovery objectives (RTO/RPO)?
    -   **Performance**: What target query latencies and SLA expectations does
        your workload require?
    -   **Operations**: What operational monitoring metrics do your data
        scientists and engineers need?
    -   **Cost & Sustainability**: Do you have specific budget constraints and
        data egress/transfer cost requirements?
3.  Ask the user whether the workload currently runs on other cloud providers or
    on-premises.
    *   If the user answers "yes", then ask the user to describe the
        architecture of the current deployment.
    *   If the user answer "no", then proceed to the next step.
4.  Request the user to describe dependencies, if any, on other workloads,
    products, or tools. The following are examples of questions that you can
    ask to get information about the dependencies:
    *   Do you have any upstream or downstream dependencies on external systems
        (e.g., identity providers, data curation platforms, CI/CD pipelines, or
        active data catalogs)?
    *   Are there any requirements for your general data-engineering software
        delivery lifecycle (e.g., version control, testing, data quality
        assurance)? Provide the path to a directory or examples of these
        artifacts.
5.  Review the input that the user has provided so far, and check whether there
    are any ambiguities or contradictions.

    If you identify any ambiguities or contradictions in the requirements that
    the user has provided (e.g., zero-copy vs copying data to a repository), then
    do the following for each ambiguity or contradiction that you identify:
    *   Describe the ambiguity or contradiction (e.g., explain why copying data
        contradicts the zero-copy requirement and also incurs data-transfer
        costs).
    *   Ask the user how they wish to resolve the ambiguity or contradiction.
        *   If the user delegates the choice to you (e.g., the user replies with
            "do what you think is best" or "you decide"), then provide a clear
            suggestion to resolve the ambiguity or contradiction (e.g., suggest
            prioritizing zero-copy remote queries), explain your reasoning
            (e.g., to eliminate multi-cloud fees and data duplication), and ask
            the user to approve your suggestion.

    **Critical**: Until all the ambiguities and contradictions that you identify
    are resolved according to the preceding guidance, you must NOT recommend or
    generate any architecture design, technical decomposition, or Google Cloud
    product recommendations.

6.  **Important**: DON'T start this step if there are unresolved contradictions
    or ambiguities from Step 5.

    Generate a technical decomposition of the components of the workload.
    *   The technical decomposition must break down the solution into logical
        components.
    *   The decomposition MUST address role-based security and credentials
        within the relevant layers.
    *   The decomposition MUST be organized under the following four layers,
        which represent a standard architectural pattern for agentic analytics
        solutions, flowing from user interaction through data context and
        governance to core data processing:
        *   **User-interaction layer (IDE)**: e.g., agentic development
            environment.
        *   **Grounding and trusted data**: e.g., foundation model, MCP servers,
            and data warehouse in the cloud.
        *   **Metadata curation**: e.g., metadata scanning.
        *   **Data processing and analytics**: e.g., analytics workflows, Spark
            data processing, and external data stores.
7.  Request the user to approve the generated technical decomposition.
8.  If the user requests changes, then generate an updated technical
    decomposition.
9.  Repeat steps 5 through 8 until the user approves the generated technical
    decomposition.
10. After the user approves the technical decomposition, proceed to Phase 2.
    **Important**: Don't proceed to the next phase until the user approves the
    generated technical decomposition of the workload.

## Phase 2: Solution architecture

### Ground all generated content

For each task in this phase, to ensure that the generated content aligns with
the latest and official Google Cloud guidance, ground the generated content by
using the following resources:
*   Google Developer Knowledge MCP server
    *   Instructions to connect to the MCP Server:
        https://developers.google.com/knowledge/mcp.md.txt
    *   Server: https://developerknowledge.googleapis.com/mcp
        *   Tools:
            *   `developerknowledge:search_documents`
            *   `developerknowledge:get_documents`
            *   `developerknowledge:answer_query`
*   Relevant skills from https://github.com/google/skills
*   Official Google Cloud documentation, including the following:
    *   Reference architecture for agentic cross-cloud analytics workflows
        across multi-cloud data lakes, structured data warehouses, and
        unstructured data stores:
        https://docs.cloud.google.com/architecture/agentic-ai-cross-cloud-analytics.md.txt
    *   Decision-making guides for the products and topics that are relevant to
        the workload:
        https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-architecture/references/decision-making-guides.md
    *   Best-practices guides for the products and topics that are relevant to
        the workload:
        https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-architecture/references/best-practices-guides.md

### Task 2.1: Identify Google Cloud products and features required for the workload.

1.  For each component in the confirmed technical decomposition, identify the
    appropriate Google Cloud products and features, based on the guidance in the
    following resources and adjusted suitably based on the approved technical
    decomposition:
    -   `references/product-selection-guidance.md`
    -   `https://github.com/google/skills/blob/main/skills/cloud/google-cloud-solution-architecture/references/decision-making-guides.md`
2.  Present the generated product recommendations and ask the user to approve
    the recommendations.
3.  If the user requests changes, then make the required changes.
4.  Repeat steps 2 and 3 until the user approves the product recommendations.
5.  After the user approves the product recommendations, proceed to Task 2.2.

### Task 2.2: Generate an architecture diagram.

1.  Generate an architecture diagram in Mermaid format:
    https://github.com/mermaid-js/mermaid.
2.  Present the generated diagram to the user and ask the user to approve the
    architecture diagram.
3.  If the user requests changes, then make the required changes.
4.  Repeat steps 2 and 3 until the user approves the architecture diagram.
5.  After the user approves the architecture diagram, proceed to Task 2.3.

### Task 2.3: Generate an architecture description.

1.  Generate a description that explains the purpose of each component, the
    relationships between the components, and the task flow or data flow.
2.  Present the generated architecture description to the user and ask the user
    to approve the description.
3.  If the user requests any changes, then make the required changes.
4.  Repeat steps 2 and 3 until the user approves the architecture description.
5.  After the user approves the architecture description, proceed to Task 2.4.

### Task 2.4: Generate design recommendations.

1.  Generate design recommendations and best practices to optimally configure
    each component in the architecture based on the workload's requirements.

    **Important**:
    *   When you generate design recommendations, consider the following:
        *   Functional requirements that were gathered in Phase 1.
        *   Non-functional requirements that were gathered in Phase 1.
    *   Align the generated design recommendations with the recommendations in
        `references/design-recommendations.md`.
    *   To generate design recommendations for Knowledge Catalog, use the
        resources that are listed in
        `references/knowledge-catalog-documentation.md`
    *   To generate guidance for the non-functional requirements, use the
        following skills:
        -   `google-cloud-waf-security`
        -   `google-cloud-waf-reliability`
        -   `google-cloud-waf-cost-optimization`
        -   `google-cloud-waf-operational-excellence`
        -   `google-cloud-waf-performance-optimization`
        -   `google-cloud-waf-sustainability`
2.  Present the generated recommendations to the user and ask whether the user
    needs any changes.
3.  If the user needs changes, then make the required changes.
4.  Repeat steps 2 and 3 until the user confirms that the generated design
    recommendations meet their requirements.
5.  Proceed to Task 2.5.

### Task 2.5: Generate deployment guidance.

1.  Generate deployment guidance, including code and instructions to enable the
    user to deploy the solution.

    **Important**:
    *   The guidance must provide steps for deployment prerequisites, including
        setting up the Google Cloud project, enabling billing, enabling the
        required APIs, and setting up the required roles and permissions.
    *   Use the following resources as the technical foundation for the
        deployment guidance that you generate:
        -   https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack/tree/main/skills:
            A plugin that provides a specialized suite of skills and MCP tools
            to let you use your preferred coding agent to architect complex data
            pipelines, transform data with dbt, write Spark and BigQuery SQL
            notebooks, create and troubleshoot Dataflow pipelines, and
            orchestrate end-to-end workflows across the Google Cloud data
            ecosystem.
        -   https://codelabs.developers.google.com/next26/gen-keynote/raw-data-forecasting#0:
            A codelab that provides instructions to use the Data Agent Kit
            extension to efficiently analyze a cross-cloud data topology from
            within your preferred agentic development environment.
        -   https://codelabs.developers.google.com/governance-context-part1#0: A
            codelab that provides instructions to build a data foundation in
            BigQuery, apply rigid metadata tags (Knowledge Catalog Aspects) to
            differentiate valid data from noise, and use the Gemini CLI to
            locally test if the LLM strictly follows your governance rules.
        -   https://docs.cloud.google.com/dataplex/docs/establish-foundational-data-context.md.txt:
            A tutorial that shows how to establish data context in Knowledge
            Catalog.
        -   https://docs.cloud.google.com/dataplex/docs/ingest-custom-sources.md.txt:
            A guide that explains how to bring information about your unique,
            custom data sources into Knowledge Catalog.
2.  Present the generated deployment guidance to the user and ask whether the
    user needs any changes.
3.  If the user requests changes, then make the required changes.
4.  Repeat steps 2 and 3 until the user confirms that the generated deployment
    guidance meets their requirements.
5.  Proceed to Phase 3.

## Phase 3: Solution validation

1.  Create a plan to validate the generated solution. The plan must outline the
    steps to verify that the generated solution meets the workload's
    requirements.
2.  Present the validation plan to the user and request feedback or approval.
3.  If the user requests changes, update the plan as required.
4.  Repeat steps 2 and 3 until the user approves the validation plan.
5.  Generate scripts or commands using tools like `curl` or `gcloud` to perform
    the steps in the approved validation plan.
6.  Request permission from the user to perform the validation checks.
7.  If the user gives permission, run the validation checks and troubleshoot any
    deployment issues.
8.  When all the validation checks pass, proceed to Phase 4.

## Phase 4: Solution packaging and presentation

1.  Consolidate the text artifacts that were generated in Phase 2 and Phase 3
    into a single Markdown file named `solution-architecture-guide.md`, based on
    the template in `assets/output-template.md`.
2.  Present the consolidated solution-architecture-guide.md to the user.
3.  Request the user's permission to write the code files in the user's
    workspace.
4.  After the user gives permission, write the code files in the user's
    workspace.

## Supporting resources

*   https://docs.cloud.google.com/data-cloud-extension/antigravity/transform-data.md.txt:
    Guide to how the Data Agent Kit extension lets you use notebooks for data
    transformation and analysis.
*   https://docs.cloud.google.com/dataplex/docs/use-cases.md.txt: Use cases for
    Knowledge Catalog.
*   https://docs.cloud.google.com/managed-spark/docs/guides/lightning-engine-serverless.md.txt:
    Guide to accelerating Apache Spark workloads by using Lightning Engine.
*   https://docs.cloud.google.com/bigquery/docs/use-knowledge-catalog.md.txt:
    Guide to use Knowledge Catalog as a governance and agentic layer for
    BigQuery.
assets/
output-template.md 5.2 KB
<!-- Use this template to compile the content that you generate based on the
instructions in `SKILL.md`. -->

# Google Cloud solution architecture: [Workload Name]

## 1. Executive summary and workload overview

[A brief description of the workload, its business goals, and the high-level
solution architecture proposed.]

## 2. Requirements, dependencies, and current state

### 2.1. Functional requirements

*   **Business processes**: [Details of the business processes supported]
*   **Activities and use cases**: [Details of the key activities and use cases]

### 2.2. Non-functional requirements

*   **Security**: [Details of the security requirements including compliance,
    encryption, access control requirements]
*   **Reliability**: [Details of the reliability requirements including SLA,
    RTO/RPO, backup, redundancy requirements]
*   **Cost**: [Details of the cost constraints and pricing models]
*   **Operations**: [Details of the operational requirements including
    monitoring, logging, deployment, maintenance requirements]
*   **Performance**: [Details of the performance requirements including latency,
    throughput, scaling requirements]
*   **Sustainability**: [Details of the sustainability requirements including
    carbon footprint, resource optimization requirements]

### 2.3. Current state

[If applicable, describe the current on-premises or other-cloud architecture.]

*   **Current infrastructure**: [Details of existing setup]
*   **Pain points and drivers for migration/redesign**: [Details of the drivers
    for migration/redesign]

### 2.4. Dependencies

*   **Internal dependencies**: [Details of internal dependencies including other
    workloads and internal services]
*   **External dependencies**: [Details of external dependencies including
    third-party products and on-premises tools]

## 3. Technical decomposition of the workload

[Technical decomposition of the workload components, breaking down the
application into logical services or layers.]

## 4. Proposed solution architecture

### 4.1. Google Cloud products and features mapping

[Identify Google Cloud products and features mapped to the technical components.
For each component, justify the selection, note alternatives considered, and
describe the pros and cons of the recommended product/feature and alternatives.]

| Component | Recommended Google Cloud product/feature | Justification and citations | Alternatives considered | Pros and cons of alternatives |
| :--- | :--- | :--- | :--- | :--- |
| **[Component Name]** | **[Product Name]** | [Why this product is chosen, citing official docs] | [Alternative product] | **Pros**: ... <br> **Cons**: ... |

### 4.2. Architecture diagram

[Architecture diagram in Mermaid format showing the relationships and flows
between the components of the architecture.]

```mermaid
%% Example structure
graph TD
    User([User]) --> Web[Load Balancer]
    Web --> App[Application Layer]
    App --> DB[(Database)]
```

### 4.3. Architecture description

[Detailed description of the architecture. Describe the task flow and data flow
between the components of the architecture.]

*   **Data flow**: [Describe the flow of data.]
*   **Tasks/control flow**: [Describe the flow of tasks/control.]

## 5. Design and configuration recommendations

[Best practices and configuration recommendations for each pillar of the Google
Cloud Architecture Framework.]

### 5.1. Security, privacy, and compliance

*   **Access control**: [E.g., IAM roles, least privilege policy]
*   **Data protection**: [E.g., Encryption at rest/in transit, Cloud KMS]
*   **Network Security**: [E.g., VPC, Firewalls, Cloud Armor, Private Service
    Connect]

### 5.2. Reliability

*   **Redundant deployment**: [E.g., Multi-region/regional deployment, load
    balancing]

*   **Backup and DR**: [E.g., Backups, failover procedures, RTO/RPO strategies]

### 5.3. Operational excellence

*   **Monitoring and logging**: [E.g., Cloud Logging, Cloud Monitoring,
    Dashboards]
*   **Infrastructure as Code (IaC)**: [E.g., Terraform, Infrastructure Manager]

### 5.4. Cost optimization

*   **Sizing and scaling**: [E.g., Autoscaling configuration, right-sizing
    resources]
*   **Pricing models**: [E.g., Commitment discounts, Spot VMs, flat-rate
    pricing]

### 5.5. Performance efficiency

*   **Caching and CDN**: [E.g., Cloud CDN, Memorystore]
*   **Database and query optimization**: [E.g., Partitioning, indexing, caching]

### 5.6. Sustainability

*   [E.g., Serverless adoption, resource utilization, carbon footprint]

## 6. Deployment guidance

[Instructions and code for deploying the architecture.]

### 6.1. Deployment prerequisites

*   [Prerequisite 1: E.g., Enabling APIs]
*   [Prerequisite 2: E.g., Installing SDK/tools]
*   ...and so on

### 6.2. Step-by-step deployment instructions

1.  [Step 1: E.g., Authenticate with Google Cloud]
2.  [Step 2: E.g., Initialize Terraform]
3.  [Step 3: E.g., Apply Terraform configuration]

## 7. Validation plan

[Details of the steps to verify that the generated solution meets the workload's
requirements. Also include references to any validation scripts that were
generated.]

## 8. References

[Links to useful and authoritative resources, such as relevant Google Cloud
documentation pages.]
references/
attribution.md 2.0 KB
# Usage Attribution

**MUST READ**: Before executing any `gcloud`, REST API, or MCP command with
this skill, follow these usage attribution instructions. Tag every command you
execute directly in the terminal so usage can be attributed. The tag identifies
only the skill and its version; it carries no user data.

-   **`gcloud` CLI Commands**: Prefix every `gcloud` invocation, whatever the
    subcommand, with the metrics environment variable. Set it inline on each
    command because shell state may not persist between commands:

    ```bash
    CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:google-cloud-solution-agentic-analytics-spark-knowledge-catalog)" \
    gcloud <command> [flags]
    ```

    Do not use `gcloud config set` for this: it would persist beyond the current
    task and mislabel unrelated usage.

-   **Direct HTTP, REST, and MCP Requests**: On direct HTTP calls to Google
    Cloud APIs (for example with `curl`) or HTTP requests to a remote MCP
    server, include
    `agent-skills/1.0 (skill:google-cloud-solution-agentic-analytics-spark-knowledge-catalog)`
    in the `User-Agent` header. If a `User-Agent` header is already specified,
    append this string to the end of it rather than overwriting existing
    `User-Agent` data — the collection pipeline parses the
    `agent-skills/<version>` and `skill:<name>` tokens, so any rewording breaks
    attribution:

    ```
    User-Agent: <existing_user_agent> agent-skills/1.0 (skill:google-cloud-solution-agentic-analytics-spark-knowledge-catalog)
    ```

-   **Constraint for Generated Code**: The tracking prefix is strictly for
    commands you execute directly in the terminal. Do NOT include this tracking
    prefix in generated scripts, Terraform templates, or code provided to the
    user for their own repositories.

-   **User Opt-Out**: If the user asks to disable or remove tracking or
    attribution tags, omit the `CLOUDSDK_METRICS_REQUEST_ATTRIBUTION` variable
    and custom `User-Agent` suffix from all commands.
design-recommendations.md 2.3 KB
# Design recommendations

Use the following guidance to generate design recommendations for a governed,
secure pipeline for agentic analytics solution across structured and
unstructured data that's distributed across Google Cloud, on-premises systems,
and other cloud providers.

*   **Security, privacy, and compliance**:
    *   Assign the required roles and permissions.
    *   Configure token federation or Secret Manager credentials to allow Spark
        REST catalogs to authenticate with remote AWS S3 / Azure storage.
    *   Establish the required aspect types and business glossaries to classify
        table sensitivities (e.g., private vs public) and map business metrics.
    *   Use Knowledge Catalog lineage tracking to identify PII data leakage
        paths across database conversions.
*   **Reliability**:
    *   Configure Cross-Cloud Interconnect with redundant links in separate
        domains to prevent network drops during massive queries.
*   **Operational excellence**:
    *   Organize Spark sessions by deploying reusable session templates
        (`template.yaml`) in Managed Service for Apache Spark.
    *   Track data lineage in Knowledge Catalog to perform impact analysis on
        upstream schema breaks.
*   **Cost optimization**:
    *   Run zero-copy Spark REST catalog queries to AWS S3 instead of
        transferring files over public endpoints, eliminating network egress
        fees.
    *   Use Knowledge Catalog lineage cost-optimization tools to find and prune
        orphaned tables.
*   **Performance efficiency**:
    *   Enable Lightning Engine with native runtime
        (`spark.dataproc.lightningEngine.runtime=native`) and set the compute
        tier to premium (`dataproc.tier=premium`) inside the Spark session
        templates.
    *   Configure off-heap memory settings (`spark.memory.offHeap.size=1g`) to
        boost vector operations.
    *   To minimize geographic latency, select Google Cloud regions that let you
        co-locate Google Cloud resources alongside AWS/Azure datacenters where
        S3 buckets reside.
*   **Sustainability**:
    *   Run Managed Service for Apache Spark Serverless with Lightning Engine to
        perform operations in memory, reducing server compute waste.
    *   Use zero-copy architecture (BigQuery Omni/Spark REST catalogs) to
        prevent storing duplicate multi-petabyte datasets.
knowledge-catalog-documentation.md 2.2 KB
# Knowledge Catalog documentation

Use the following resources to generate architectural and design recommendations
for Knowledge Catalog:

*   https://docs.cloud.google.com/dataplex/docs/ai-overview.md.txt: Introduction
    to how Knowledge Catalog supports AI agents and grounding.
*   https://docs.cloud.google.com/dataplex/docs/use-discovery-agent.md.txt:
    Setup guidelines for creating Knowledge Catalog discovery agents using
    python clients or ADK.
*   https://docs.cloud.google.com/dataplex/docs/build-agent-to-enrich-metadata.md.txt:
    Detailed step-by-step guide for creating automated context metadata
    enrichment routines.
*   https://docs.cloud.google.com/dataplex/docs/establish-foundational-data-context.md.txt:
    Tutorial for setting up a business glossary, aspect types, and aspects to
    bind data contexts.
*   https://docs.cloud.google.com/dataplex/docs/enable-policy-compliant-lakehouse-access.md.txt:
    Strategy and guides for setting up access controls and security policies in
    a data lakehouse.
*   https://docs.cloud.google.com/dataplex/docs/use-data-insights-structured-data.md.txt:
    Guide to configure Gemini in BigQuery to generate data summaries.
*   https://docs.cloud.google.com/dataplex/docs/ingest-custom-sources.md.txt:
    Guide to managing metadata for remote or non-Google sources.
*   https://docs.cloud.google.com/dataplex/docs/profile-ensure-data-quality.md.txt:
    Guide to run data scans to verify consistency.
*   https://docs.cloud.google.com/dataplex/docs/use-gemini-cli-agent-to-test-data-context.md.txt:
    Tutorial to set up Knowledge Catalog aspects that provide contextual data,
    and use the Gemini CLI to test the data context and verify that an agent can
    accurately ground its answers in trusted, certified data.
*   https://docs.cloud.google.com/dataplex/docs/lineage-use-cases-impact-analysis.md.txt:
    Guide to track data schema and table relationships to verify system impacts.
*   https://docs.cloud.google.com/dataplex/docs/lineage-use-cases-pii-leakage.md.txt:
    Strategies to trace and isolate sensitive columns.
*   https://docs.cloud.google.com/dataplex/docs/retrieve-data-context.md.txt:
    Guide to use external agents to query Knowledge Catalog metadata catalogs.
product-selection-guidance.md 3.3 KB
# Product selection guide

Use the guidance in this file to recommend products and features for a governed,
secure pipeline for agentic analytics solution across structured and
unstructured data that's distributed across Google Cloud, on-premises systems,
and other cloud providers.

**Note**: When generating solution designs, architecture diagrams, and
documentation, use the latest Google Cloud product names, as listed in the
following table:

|Old name|New name|
|---| ---|
|BigLake|Lakehouse for Apache Iceberg|
|Dataproc Serverless|Managed Service for Apache Spark|
|Dataplex|Knowledge Catalog|

The underlying APIs, gcloud commands, Terraform resources, and IAM roles often
retain the old names.

**Important**:
*   Don't recommend any products that are deprecated, retired, decommissioned,
    or unsupported. Verify the status of the products by using the resources
    that are listed in the "Ground all generated content" section in
    `../SKILL.md`.
*   Don't recommend any features that are deprecated, retired, decommissioned,
    or unsupported. Verify the status of the features by using the resources
    that are listed in the "Ground all generated content" section in
    `../SKILL.md`.
*   If multiple products or features can be used for a component of the
    workload, then do the following:
    *   Recommend the most appropriate product or feature. When alternative
        products exist, the relevant product documentation might provide
        guidance on when to recommend each product. Follow that guidance.
    *   Mention the available alternative products or features.
    *   Explain the pros and cons of each alternative product or feature.

## Product recommendations

*   **Central metadata and data governance**
    *   **Recommended product**: Knowledge Catalog (to capture business
        glossaries, columns descriptions, and custom metadata aspect types)
        integrated with Lakehouse for Apache Iceberg
*   **Processing engine**
    *   **Recommended product**: Managed Service for Apache Spark with Lightning
        Engine (configured with Iceberg REST Catalog)
    *   **Alternative product**: BigQuery
        *   **Pros**: Easy to write standard SQL queries directly over external
            BigLake tables.
*   **Raw data storage**
    *   **Recommended product**: Cloud Storage
    *   **Alternative product**: BigQuery
        *   **Cons**: Not designed for raw blob storage of unstructured files
            like PDFs.
*   **Connectivity to external data sources**
    *   **Recommended products**:
        *   **For cross-cloud connectivity:** Cross-Cloud Interconnect
        *   **For on-premises to cloud connectivity:** Cloud Interconnect
*   **Operational data storage**
    *   **Recommended product**: AlloyDB for PostgreSQL
        *   **Pros**: Supports column-cache vector acceleration for fast joins,
            which is ideal for real-time operational query acceleration.
    *   **Alternative product**: Cloud SQL for PostgreSQL
        *   **Pros**: Highly cost-effective for simpler, smaller relational
            workloads.
        *   **Cons**: Lacks advanced column-cache vector acceleration (AlloyDB
            columnar engine) for fast joins.
*   **User and agentic interactions**:
    *   **Recommended product**: Antigravity IDE or VS Code with the Google
        Cloud Data Agent Kit (provides IDE grounding)

License (Apache-2.0)

View full license text
Licensed under the Apache License, Version 2.0. See https://github.com/google/skills/blob/main/LICENSE