Amazon SageMaker · Arazzo Workflow
Amazon SageMaker Train Then Deploy
Version 1.0.0
Train a model to completion, then register it from the produced artifacts and stand up a hosted endpoint.
Provider
Workflows
train-then-deploy
Train a model and, on success, deploy the trained artifacts to an endpoint.
Submits a training job, polls it to a terminal status, and branches: when training completes it registers a model from the produced artifacts, creates an endpoint configuration and endpoint, and polls the endpoint to service; otherwise it ends.
1
createTrainingJob
CreateTrainingJob
Start a model training job using the supplied algorithm image, IAM role, input data, output location, and compute resources.
2
pollTrainingJob
DescribeTrainingJob
Describe the training job to read its current status. Repeat while the status remains InProgress; on a terminal status branch on whether training completed.
3
createModel
CreateModel
Register a model from the inference container and the S3 artifacts the training job produced.
4
createEndpointConfig
CreateEndpointConfig
Define an endpoint configuration that places the trained model on a single production variant.
5
createEndpoint
CreateEndpoint
Create a hosted endpoint from the endpoint configuration so SageMaker provisions resources and deploys the trained model.
6
pollEndpoint
DescribeEndpoint
Describe the endpoint and loop while it remains in the Creating state, continuing once it reaches a terminal state.