Library

Volume 1 · Cloud-Native Architecture

Notebook
Sign in

Section 23

GCP AI Stack

379 words · about 2 min

23.1 Service Reference

GCP Service AWS/Azure Equivalent Notes
Vertex AI SageMaker + Bedrock Unified platform — custom ML training/serving and foundation model access (Gemini, partner models) in one console
BigQuery ML Redshift ML Train and serve ML models via SQL directly against warehouse data — no data movement
Document AI Textract / Document Intelligence Prebuilt and custom document parsers
Healthcare API Azure Health Data Services Native HL7 FHIR/DICOM support
Gemini API OpenAI API / Claude API Very large context window (1M+ tokens), native multimodal input

23.2 Vertex AI Architecture

Data (BigQuery/GCS) → Vertex AI Pipelines (Kubeflow-based)
    → Feature Store → Training (custom container / AutoML)
    → Model Registry → Endpoint (online) / Batch Prediction (offline)
    → Model Monitoring (skew & drift detection)

GenAI path:
Vertex AI Studio → Gemini / Model Garden (Claude, Llama, partner models)
    → Grounding (Vertex AI Search) → Extensions (tool-calling/agents)

Distinctive strength: BigQuery ML lets an analytics team train and deploy a model (CREATE MODEL ... OPTIONS(model_type='logistic_reg') AS SELECT ...) without ever leaving SQL or moving data out of the warehouse — valuable when the org’s ML maturity is still SQL-centric and the win is fast iteration, not state-of-the-art model architecture.

23.3 Interview Q&A

Q1: How does Vertex AI differ architecturally from stitching together SageMaker and Bedrock?

A: Vertex AI is a single unified platform and API surface for both custom ML (training/serving your own models, equivalent to SageMaker) and foundation-model access via Model Garden (equivalent to Bedrock) — one IAM model, one artifact/metadata store, one monitoring plane. On AWS you’re integrating two separate services with separate IAM boundaries and separate model registries. The trade-off is ecosystem maturity and enterprise compliance tooling — AWS/Azure generally have deeper enterprise governance and more mature multi-account/multi-subscription patterns for large regulated organizations.

Q2: When would you recommend BigQuery ML over a dedicated ML platform?

A: When the modeling need is well-served by classical algorithms (logistic/linear regression, k-means, boosted trees, time-series forecasting) and the primary friction is data movement and turnaround time for an analytics team that already lives in SQL. BigQuery ML skips the ETL-to-training-environment step entirely. I would not use it for deep learning, custom architectures, or anything needing fine-grained training-loop control — that’s when Vertex AI custom training or SageMaker is the right call.