Service · Machine Learning
Amazon SageMaker Processing
Run a script or container on managed instances for preprocessing, evaluation and bias jobs.
- 1SageMaker copies the S3 input into the container.
- 2The script writes results, and SageMaker uploads them to S3.
SKLearnProcessor
- Runs
- scikit-learn and pandas
- Use for
- Small to medium data
PySparkProcessor
- Runs
- Spark on several instances
- Use for
- Large data
ScriptProcessor
- Runs
- Your own container image
- Use for
- Any other tools
| Processor | Runs | Use for |
|---|---|---|
| SKLearnProcessor | scikit-learn and pandas | Small to medium data |
| PySparkProcessor | Spark on several instances | Large data |
| ScriptProcessor | Your own container image | Any other tools |
What it is
A SageMaker Processing job runs your code on instances that SageMaker starts, then stops when the job ends. You pay only while it runs. Inputs come from S3 and are copied to a path in the container, and the script writes results to an output path that SageMaker uploads back to S3. You choose the instance type and count.
What it is
Use a built-in processor for the language or engine. SKLearnProcessor runs scikit-learn and pandas scripts. PySparkProcessor runs a Spark job, across several instances for large data. ScriptProcessor, or a framework processor, runs your own container image for any other need. Typical jobs are feature engineering, splitting data and model evaluation. Bias analysis with Clarify also runs as a Processing job. Clarify has been closed to new customers since July 30, 2026, but existing customers can still use it and the exam may still name it.
What it is
Other SageMaker features run on Processing under the hood: Data Wrangler flows, and also Clarify and Model Monitor. Clarify and Model Monitor have been closed to new customers since July 30, 2026. Existing customers can still use them.
In SageMaker Pipelines, a ProcessingStep puts the job inside a repeatable workflow, with its inputs and outputs wired to the steps before and after it. Use Processing when the data is too big for a notebook or when a step must be repeatable. For a one-off look at small data, a notebook is enough.
Remember
- Managed instances start for the job and stop after. Pay while it runs.
- Input from S3 to the container. Output from the container back to S3.
- SKLearnProcessor, PySparkProcessor, and ScriptProcessor for your own image.
- Common jobs: preprocessing, feature engineering, evaluation, bias checks (Clarify, closed to new customers since July 30, 2026).
Remember
- A ProcessingStep makes it part of a SageMaker pipeline.
On the exam
- “Run a preprocessing script on large data without a notebook” points to a SageMaker Processing job.
- “Spark preprocessing on several instances” points to PySparkProcessor.
- “Put the evaluation script in the training pipeline” points to a ProcessingStep.
In this task · 1.2
Glue ETL
DataBrew
EMR
Data Wrangler
SageMaker Processing
Athena
Feature Store
- Transforming streaming data
- Feature engineering techniques
- Embedding models for text and image
- Text pre-processing and tokenization
- Preparing documents for RAG
- Masking, redaction and anonymization
- Data for fine-tuning, continued pre-training and distillation