Back to results for “Auto Scaling Groups”
AWS › Amazon SageMaker & Machine Learning on AWS

How do SageMaker endpoints support real time inference, and how do they differ from batch transform?

Intermediate

Answer

A SageMaker real time endpoint hosts a trained model behind a persistent, auto scaling HTTPS endpoint that your application can call to get predictions with low latency for individual requests as they arrive, while SageMaker Batch Transform is designed for processing large datasets all at once in a single job, generating predictions for an entire batch of data without needing a persistently running endpoint, which is more cost effective when you do not need instant, on demand predictions.
aws sagemaker create-endpoint --endpoint-name my-endpoint --endpoint-config-name my-endpoint-config
Real-world example A recommendation engine deploys its model to a real time SageMaker endpoint so the website can fetch personalized suggestions instantly as a customer browses, while a separate marketing model uses Batch Transform to score an entire customer list overnight for a weekly email campaign.

Common follow-ups: How does SageMaker endpoint auto scaling work under varying traffic?;What is the cost difference between a real time endpoint and Batch Transform?