QuestionQ11

Automating and orchestrating ML pipelines

You are building an ML pipeline for data processing, model training, and model deployment that uses different Google Cloud services. You have developed code for every individual task and anticipate a high frequency of new files. You now need to add an orchestration layer above these tasks. The orchestration pipeline must run only when new files exist in your dataset in a Cloud Storage bucket. You also need to minimize compute-node costs. What should you do?

Explanation

A Cloud Storage event can trigger a Cloud Function when an object is added or changed, and the function can submit a Vertex AI Pipeline run. This event-driven design runs the ML workflow only for new data and avoids the continuously provisioned infrastructure of a Cloud Composer environment. Vertex AI Pipelines supports programmatic, event-based invocation from a service such as a Cloud Run function.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!