Production MLOps at GS Caltex with Amazon SageMaker Canvas, part 1

In one sentence

GS Caltex connects Amazon SageMaker Canvas to SageMaker Pipelines to automate production MLOps, cutting model deployment time from a week to hours and lowering batch inference costs.

Key points

  • Process engineers build and validate models without code in SageMaker Canvas, while ML engineers manage deployment and scheduling in SageMaker Pipelines.
  • Automating the handoff between Canvas and Pipelines reduced model deployment time from about a week to a few hours.
  • The production workflow runs batch inference every 30 minutes via Amazon EventBridge and SageMaker Batch Transform, reducing inference costs.
  • The pipeline reuses validated Data Wrangler preprocessing flows and approved models from SageMaker Model Registry.

In depth

An AI-written overview of the original article, not the article itself.

South Korean energy and chemical company GS Caltex has automated the handoff between Amazon SageMaker Canvas and Amazon SageMaker Pipelines to bring process engineers' models into production. According to the article, this approach has cut model deployment time from about a week to a few hours and meaningfully lowered inference costs.

Division of Labor and Impact

GS Caltex splits responsibilities between two teams. Process engineers use their domain knowledge to prepare data, build models, and validate predictions in SageMaker Canvas without writing code. Machine learning engineers then take those assets and configure SageMaker Pipelines for production deployment and scheduled runs.

Instead of maintaining continuously running endpoints, the company runs batch inference every 30 minutes. GS Caltex reports that this schedule, combined with reusing validated Canvas assets, has significantly reduced operational overhead and inference costs.

Production Workflow Architecture

The workflow consists of two paths: deploying new model versions and running scheduled batch inference. When a new model is ready, ML engineers review the data formats and evaluation results in Amazon SageMaker Model Registry, approve the model package, and deploy it.

For recurring inference, Amazon EventBridge triggers the pipeline every 30 minutes. SageMaker Pipelines pulls input data from Amazon S3, runs preprocessing and SageMaker Batch Transform using the approved model, and writes outputs back to S3 while logging execution status in Amazon CloudWatch.

Key Technical Implementation

To reuse Data Wrangler preprocessing flows, ML engineers export data to S3 via SageMaker Processing and extract the .flow file, container image URI, and output settings. They preserve learned transformation parameters, such as scaling and encoding values, rather than refitting them on each batch.

Because inference data lacks the target column present during training, the five-step pipeline adds a PrepareInput step to insert a placeholder target column before preprocessing, and a DropTargetColumn step to remove it afterward. The remaining steps run BatchPredict and AssembleResults to combine predictions with preprocessed data.

Read originalOpens aws.amazon.com

This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.

Recent stories from this source