Maintained with ☕️ by
IcePanel logo

Announcing API support for creating Amazon SageMaker Notebook jobs

Share

Services

[Amazon SageMaker notebook jobs](https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-auto-run.html) allows data scientists to run their notebooks on demand or on a schedule with a few clicks on Amazon SageMaker Studio, a web-based IDE for machine learning (ML). Today, we’re excited to announce that you can programmatically run notebooks as jobs using APIs provided by SageMaker Pipelines, SageMaker's ML workflow orchestration service. Furthermore, you can create a multi-step ML workflow with multiple dependent notebooks using these APIs. Data scientists can use SageMaker Notebooks Jobs for use cases such as running long running notebooks, recurring report generation, and for scaling up from preparing small sample datasets to working with petabyte-scale big data. When moving these notebooks to production, customers need API support for programmatically executing notebooks as a part of CI/CD workflows. This launch introduces the notebook job as a built-in step type when building pipelines using Amazon SageMaker Pipelines. Customers can leverage this notebook job step to easily run notebooks as jobs with just a few lines of code using [Amazon SageMaker Python SDK](https://sagemaker.readthedocs.io/en/stable/workflows/pipelines/sagemaker.workflow.pipelines.html#sagemaker.workflow.notebook%5Fjob%5Fstep.NotebookJobStep). Additionally, customers can also stitch multiple dependent notebooks together to create a workflow in the form of Directed Acyclic Graphs (DAG). Customers can then run these notebooks jobs or DAGs, manage and visualize the using Amazon SageMaker Studio. This feature is generally available in all AWS commercial regions where [Amazon SageMaker Studio](https://aws.amazon.com/sagemaker/studio/) is available. To learn more, see the [SageMaker Studio developer guide](https://docs.aws.amazon.com/sagemaker/latest/dg/create-notebook-auto-run-sdk.html) or the [feature blog](https://aws.amazon.com/blogs/machine-learning/schedule-amazon-sagemaker-notebook-jobs-and-manage-multi-step-notebook-workflows-using-apis/).