Google Cloud

Vertex AI Pipelines / MLOps Complete Guide: Kubeflow, CT, and Model Monitoring

2026-05-24
NicheeLab Editorial Team

Vertex AI Pipelines is GCP's MLOps backbone, providing a managed runtime for Kubeflow Pipelines (KFP) v2 and TFX. Combined with Continuous Training (CT), Model Registry, Model Monitoring, and Feature Store, it forms the foundation of a complete MLOps stack.

MLOps Maturity Levels

LevelCharacteristicsRequired Tools
0Manual (training and deployment from notebooks)Vertex AI Workbench
1Pipeline automation with CT (Continuous Training)+ Pipelines, Model Registry, Feature Store
2Fully automated CI/CD/CT (GitHub push -> retrain -> deploy)+ Cloud Build, Cloud Deploy, Model Monitoring

KFP v2 Pipeline Example

from kfp import dsl, compiler
from kfp.dsl import component, pipeline, Input, Output, Model, Dataset

@component(base_image="python:3.11", packages_to_install=["pandas", "scikit-learn"])
def load_data(output_data: Output[Dataset]):
    import pandas as pd
    df = pd.read_csv("gs://my-bucket/train.csv")
    df.to_csv(output_data.path, index=False)

@component(packages_to_install=["scikit-learn", "joblib"])
def train(data: Input[Dataset], model: Output[Model]):
    import pandas as pd, joblib
    from sklearn.linear_model import LogisticRegression
    df = pd.read_csv(data.path)
    clf = LogisticRegression().fit(df.drop("y", axis=1), df["y"])
    joblib.dump(clf, model.path)

@pipeline(name="train-pipeline")
def my_pipeline():
    data_op = load_data()
    train_op = train(data=data_op.outputs["output_data"])

compiler.Compiler().compile(my_pipeline, "pipeline.json")

# Run
from google.cloud import aiplatform
aiplatform.PipelineJob(
    display_name="my-run",
    template_path="pipeline.json",
    pipeline_root="gs://my-bucket/pipelines",
).run()

Continuous Training (CT) Pattern

  1. Cloud Scheduler publishes a weekly message to Pub/Sub
  2. Cloud Functions kicks off a Vertex AI Pipelines run
  3. Latest features are pulled from Feature Store
  4. Training and evaluation execute
  5. If metrics clear the threshold, the model is registered in Model Registry
  6. Model Monitoring continuously watches for drift
  7. Detected drift also triggers a new Pipelines run

Model Registry

  • Model versioning with aliases (champion / challenger)
  • Model cards (metadata and intended use)
  • Endpoint deployment (one-click promotion to production)
  • Lineage tracking across BigQuery, Cloud Storage, and Feature Store

Model Monitoring

  • Feature Skew: distribution gap between training and production data
  • Feature Drift: drift in production data over time
  • Prediction Drift: shift in the distribution of predicted values
  • Data Quality: NULL and anomaly detection
  • Pub/Sub notifications wired into a CT retraining pipeline

Pricing Examples

ItemPrice
Pipeline run$0.03/run
Worker (n1-standard-4)$0.19/h
GPU (T4)+$0.35/h
Endpoint (online prediction)from $0.10/h (n1-standard-2)
Model Monitoring$0.34/M analyzed instances

Comparison with Other MLOps Platforms

ItemVertex AI PipelinesSageMaker PipelinesAzure ML PipelinesMLflow + Databricks
SDKKFP v2 / TFXSageMaker Python SDKAzure ML SDKMLflow
OSS compatibilityExcellent (KFP OSS)LimitedLimitedExcellent (MLflow OSS)
Model RegistryExcellentExcellentExcellentExcellent
MonitoringExcellentExcellentExcellentGood

Best Practices

  • Design components to be reusable and generic
  • Centralize feature management in Feature Store
  • Swap production models via Model Registry aliases
  • Trigger pipeline updates automatically through Cloud Build
  • Track experiments with Vertex AI Experiments
  • Visualize runs with Vertex AI TensorBoard
  • Pin Pipeline Root to GCS and apply lifecycle rules

How are Vertex AI Pipelines and Kubeflow Pipelines related?

Vertex AI Pipelines is the managed version of Kubeflow Pipelines (KFP) v2. Pipelines written with the KFP SDK run as-is on Vertex.

How does it differ from TFX?

TFX is a TensorFlow-centric ML pipeline framework, while KFP is general-purpose (PyTorch, scikit-learn, etc.). Vertex AI Pipelines supports both, with KFP being more mainstream.

What is the pricing model?

$0.03 per pipeline run plus worker compute (Vertex AI Training instance hours). It is cheap and an easy way to get started with MLOps.

What are the MLOps maturity levels?

Google defines levels 0/1/2: Level 0 = manual, Level 1 = automated, Level 2 = CI/CD/CT (Continuous Training). Pipelines is the core building block for Levels 1-2.

How do you implement Continuous Training (CT)?

Cloud Scheduler / Pub/Sub trigger -> Vertex AI Pipelines run -> training -> evaluation -> register in Model Registry -> deploy to Endpoint. Typically combined with Feature Store.

Is Model Monitoring available?

Vertex AI Model Monitoring automatically detects prediction drift, feature drift, and data quality issues. When thresholds are exceeded, it publishes a Pub/Sub notification to trigger retraining.

How does it compare to AWS SageMaker Pipelines?

SageMaker Pipelines is tightly integrated with SageMaker, while Vertex AI Pipelines offers open KFP compatibility plus deep GCP integration. Vertex wins on OSS portability.

When should I use Cloud Composer instead?

Pipelines is ML-specific, Composer is a general-purpose workflow orchestrator. Use Pipelines for ML-centric work, Composer when you mix data ETL with ML. Many teams use both together.

Related Articles - MLOps / Vertex AI

Vertex AI Feature Store 完全ガイド|新版 (BigQuery ベース)・MLOps (GCP)

Google Cloud Vertex AI Feature Store の全機能解説。2024 新版 (BigQuery ベース)、Online / Offline Store、Feature View、Point-in-time Lookup、Embedding 保存、料金、SageMaker Feature Store 比較を網羅。

Vertex AI 入門|Google Cloud 統合 ML プラットフォームの全機能 (GAIL/PMLE/PCD 必須知識)

Google Cloud Vertex AI の入門解説。Vertex AI Studio / Agent Builder / Model Garden / Search / Pipelines / Training の全機能、Gemini モデルファミリー (Pro/Flash/Ultra)、Azure OpenAI との比較、料金体系、Responsible AI 機能を日本語で整理。

Vertex AI Agent Builder 完全ガイド|Conversational Agents・Vertex AI Search・Tool Use (GCP)

Google Cloud Vertex AI Agent Builder の全機能解説。Conversational Agents (Dialogflow CX 後継)、Vertex AI Search、Tool Use、Grounding、Playbook、料金、ChatGPT GPTs / Copilot Studio 比較を網羅。

Vertex AI Model Garden 完全ガイド|Claude・Llama・Gemini・Imagen 統合 (GCP)

Google Cloud Vertex AI Model Garden の全機能解説。Gemini / Imagen / Chirp、Anthropic Claude、Llama / Mistral / Gemma 等 100+ モデル、Fine-tuning、料金、AWS Bedrock 比較を網羅。

* Google Cloud and Vertex AI are trademarks of Google LLC. For the latest information, see the official Vertex AI Pipelines docs.

Check what you learned with practice questions

Practice with certification-focused question sets

See the GCP exam prep page
Author

NicheeLab Editorial Team

NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.


Related articles
Google Cloud

Google Cloud Certification Roadmap (2026)

Choose your GCP certification path — Foundational, Associate...

Google Cloud

CDL Cloud Digital Leader: Complete Exam Guide (2026)

Pass the Cloud Digital Leader exam — cloud business value, G...

Google Cloud

GAIL Generative AI Leader: Complete Exam Guide (2026)

Pass the Generative AI Leader exam — Gemini, Vertex AI, Work...

Google Cloud

Vertex AI Fundamentals for GCP Certs (2026)

Vertex AI basics every cert candidate needs — Workbench, Pip...

Google Cloud

Associate Cloud Engineer (ACE): Complete Guide (2026)

Pass the Associate Cloud Engineer exam — Console, gcloud, pr...

Browse all Google Cloud articles (103)
© 2026 NicheeLab All rights reserved.