Skip to content

Stop Notebook Instance

sagemaker_stop_notebook_instance R Documentation

Terminates the ML compute instance

Description

Terminates the ML compute instance. Before terminating the instance, SageMaker disconnects the ML storage volume from it. SageMaker preserves the ML storage volume. SageMaker stops charging you for the ML compute instance when you call stop_notebook_instance.

To access data on the ML storage volume for a notebook instance that has been terminated, call the start_notebook_instance API. start_notebook_instance launches another ML compute instance, configures it, and attaches the preserved ML storage volume so you can continue your work.

Usage

sagemaker_stop_notebook_instance(NotebookInstanceName)

Arguments

NotebookInstanceName

[required] The name of the notebook instance to terminate.

Value

An empty list.

Request syntax

svc$stop_notebook_instance(
  NotebookInstanceName = "string"
)