1
---
2
name: google-cloud-solution-agentic-ai-borderless-data-lakehouse
3
metadata:
4
version: "1.0.1"
5
category: MultiProductSolutions
6
description: >-
7
Discovers requirements and designs a borderless open data lakehouse using
8
Lakehouse for Apache Iceberg and BigQuery data agents. Use when architecting
9
multi-cloud storage infrastructure (Cloud Storage, AWS S3, Azure Blob),
10
establishing ingestion and AI serving subsystems, configuring Cross-Cloud
11
Interconnect, or deploying Gemini Enterprise Agent Platform and BigQuery data
12
agents. Don't use for single-cloud data warehouses, or when the focus is on
13
Knowledge Catalog metadata governance and Spark-driven IDE analytics workflows
14
(use google-cloud-solution-agentic-analytics-spark-knowledge-catalog instead).
15
---
16
17
# Borderless open data lakehouse agentic AI system
18
19
Follow this workflow to help users design and implement a custom multi-product
20
solution in the cloud for a given workload, use case, or requirement.
21
22
## Attribution
23
24
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
25
MUST read and follow the instructions in
26
[Usage Attribution](references/attribution.md).
27
28
## Product Renaming & Terminology
29
30
When generating solution designs, architecture diagrams, and documentation, use
31
the updated Google Cloud product names. For details on legacy vs. updated
32
product names and terminology, see
33
[references/product_renaming.md](references/product_renaming.md).
34
35
## Workflow
36
37
The solution design and implementation workflow consists of the following
38
phases:
39
40
- **Phase 1: Requirements discovery and analysis**: Analyze the workload's
41
requirements, constraints, dependencies, and current state.
42
- **Phase 2: Solution design**: Build a technology stack, architecture, and
43
deployment configuration for the workload based on Google Cloud design best
44
practices and recommendations.
45
- **Phase 3: Implementation plan**: Generate automation
46
and instructions to deploy the solution.
47
- **Phase 4: Solution validation**: Validate that the deployment meets the
48
requirements of the workload.
49
50
### Phase 1: Requirements discovery and analysis
51
52
- [ ] **Step 1: Discover requirements**: Understand the functional and
53
non-functional requirements, business goals, and current state (if any) of the
54
workload, including its architecture, dependencies, and constraints. Use the
55
following questions to guide the requirements discovery process:
56
- What are your primary data sources?
57
- How do you manage and federate metadata across your data sources?
58
- What are your security and credential management requirements?
59
- What are the analytical and computational requirements to join and
60
transform this borderless data?
61
- What types of natural language prompts or user queries do you expect AI
62
agents or end-users to execute against this data?
63
64
- [ ] **Step 2: Identify components**: Based on the requirements analysis,
65
identify the components of the workload and their relationships. Also identify
66
any borderless components, hybrid components, or on-prem components that the
67
solution needs to integrate with.
68
69
- [ ] **Step 3: Generate component decomposition**: Generate a technical
70
decomposition of the components of the workload.
71
72
- [ ] **Step 4: Ask for confirmation**: Ask the user to confirm whether the
73
generated technical decomposition matches their workload requirements.
74
75
- [ ] **Step 5: Iterate**: If the user requests changes, then generate an
76
updated technical decomposition, and ask the user to confirm the changes.
77
Continue iterating until the user confirms the technical decomposition.
78
79
### Phase 2: Solution design
80
81
- [ ] **Step 1: Retrieve relevant Google Cloud documentation**: Use available
82
search or fetch tools to read the content of the following Google Cloud
83
documentation to ground the guidance that you generate in the remaining
84
steps of this phase before proceeding.
85
- [Build hybrid and borderless architectures using Google Cloud](https://docs.cloud.google.com/architecture/hybrid-multicloud-patterns/one-page-view.md.txt)
86
- [Build a borderless open data lakehouse](https://docs.cloud.google.com/architecture/agentic-ai-build-multicloud-open-data-lakehouse.md.txt)
87
- [Implement agentic analytics workflows for distributed data](https://docs.cloud.google.com/architecture/agentic-ai-cross-cloud-analytics.md.txt)
88
- [Analytics Hybrid and Multicloud Pattern](https://docs.cloud.google.com/architecture/hybrid-multicloud-patterns-and-practices/analytics-hybrid-multicloud-pattern.md.txt)
89
- [Google Cloud multi-regional deployment archetype](https://docs.cloud.google.com/architecture/deployment-archetypes/multiregional.md.txt)
90
- [Network segmentation and connectivity for distributed applications in Cross-Cloud Network](https://docs.cloud.google.com/architecture/ccn-distributed-apps-design/connectivity.md.txt)
91
- [Patterns for Connecting Other Cloud Service Providers with Google Cloud](https://docs.cloud.google.com/architecture/patterns-for-connecting-other-csps-with-gcp.md.txt)
92
93
*Important*: Use the content that you retrieve from Google Cloud
94
documentation to ground the guidance that you generate in the remaining
95
steps of this phase.
96
97
- [ ] **Step 2: Map components to Google Cloud products**: For each component in
98
the confirmed technical decomposition, identify the appropriate Google Cloud
99
products and features, based on the guidelines in
100
[references/product_mapping.md](references/product_mapping.md).
101
102
- [ ] **Step 3: Create architecture diagram**: Create an architecture diagram
103
that shows the components, their relationships, and data/control flows.
104
- The diagram must be in the Mermaid format:
105
https://github.com/mermaid-js/mermaid.
106
- The diagram must show a clear distinction between the products in the
107
data ingestion subsystem and the serving subsystem.
108
- The diagram must show Managed Service for Apache Spark as a shared
109
component for ETL/ingestion processing, bridging the data ingestion and
110
serving subsystems (distinct from interactive IDE analytics workflows).
111
112
- [ ] **Step 4: Generate design recommendations**: Generate design guidance
113
based on the guidelines in
114
[references/design_recommendations.md](references/design_recommendations.md).
115
116
- [ ] **Step 5: Draft solution architecture**: Compile the requirements,
117
technical decomposition, product mapping, architecture diagram, and design
118
recommendations into a single Markdown file named
119
`solution-architecture-guide.md`, based on the template in
120
[assets/output-template.md](assets/output-template.md).
121
122
- [ ] **Step 6: Request review**: Present the generated solution architecture to
123
the user and request their feedback or approval.
124
125
- [ ] **Step 7: Iterate**: If the user requests changes, generate an updated
126
solution architecture and repeat steps 2-6 until the user approves the
127
solution architecture.
128
129
### Phase 3: Implementation plan
130
131
- [ ] **Step 1: Retrieve relevant implementation resources**:
132
- [Build a Multicloud Open Data Lakehouse with Agentic AI](https://codelabs.developers.google.com/next26/multicloud-lakehouse)
133
- [Terraform Registry documentation for biglake_iceberg_catalog](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/biglake_iceberg_catalog)
134
- [Create an Apache Iceberg table with metadata in Lakehouse runtime catalog](https://docs.cloud.google.com/managed-spark/docs/guides/spark-workloads-with-bigquery-metastore.md.txt)
135
- [Accelerate Spark batch workloads and sessions with Lightning Engine](https://docs.cloud.google.com/managed-spark/docs/guides/lightning-engine-serverless.md.txt)
136
- [Create data agents](https://docs.cloud.google.com/bigquery/docs/create-data-agents.md.txt)
137
138
*Important*: Use these resources as the technical foundation for the IaC and
139
deployment instructions you generate in the remaining steps of this phase.
140
141
- [ ] **Step 2: Identify deployment prerequisites**: Document prerequisites for
142
the deployment, including the following:
143
- Projects and billing associations
144
- Required Google Cloud APIs
145
- Required IAM permissions
146
- Any other prerequisites
147
148
- [ ] **Step 3: Generate Infrastructure as Code (IaC)**: Generate code (e.g.,
149
Terraform) and deployment scripts to automate the provisioning of the proposed
150
Google Cloud resources.
151
152
- [ ] **Step 4: Write deployment instructions**: Draft sequential, step-by-step
153
deployment instructions to execute the IaC and initialize the workload
154
components.
155
156
- [ ] **Step 5: Request review**: Present the generated deployment instructions
157
to the user for feedback and confirmation.
158
159
- [ ] **Step 6: Iterate**: If the user requests changes, generate an updated
160
implementation plan and repeat steps 2-5 until the user approves the
161
implementation plan.
162
163
### Phase 4: Solution validation
164
165
- [ ] **Step 1: Retrieve relevant verification resources (optional)**: If the
166
resources from Phase 3 are not already in your context, retrieve the same
167
implementation resources as the starting point for the validation checks
168
and verification scripts that you generate in this phase.
169
170
- [ ] **Step 2: Define validation checks**: Outline validation steps to verify
171
that the deployed infrastructure meets the workload requirements:
172
- **Deployment dry-run**: Commands like `terraform plan` to preview
173
changes.
174
- **Connectivity and routing**: Verification of network paths, load
175
balancer routing, and service endpoints.
176
- **Security policies**: Verification of restricted access, firewall
177
rules, and IAM enforcement.
178
179
- [ ] **Step 3: Generate verification scripts**: Draft lightweight scripts or
180
command-line instructions (e.g. using `curl` or `gcloud`) that the user can
181
run to perform these validation checks.
182
183
- [ ] **Step 4: Compile validation report**: Document the validation steps,
184
verification scripts, and expected outcomes in a single Markdown file.
185
186
- [ ] **Step 5: Conduct validation and finalize**: Assist the user in executing
187
the validation checks and troubleshooting any deployment issues. After the
188
solution is validated successfully, request final approval from the user.
189
190
- [ ] **Step 6: Iterate**: If the user requests changes, then generate an
191
updated validation plan and repeat steps 2-5 until the user approves the
192
validation plan.
193