This topic describes how to manage Data Science Workshop (DSW) instances. For example, you can start, stop, and delete DSW instances.

Prerequisites

  • If you want to manage DSW instances as a RAM user, you must first use your Alibaba Cloud account to authorize the RAM user. For more information, see Grant permissions.
  • A DSW instance is created. For more information, see Create an instance.

Go to the Interactive Modeling (DSW) page

  1. Log on to the Machine Learning Platform for AI (PAI) console.
  2. On the Overview page, select a region in the top navigation bar.
  3. In the left-side navigation pane, click Workspaces. On the Workspace list page, click the name of the workspace in which you want to manage DSW instances.
  4. In the left-side navigation pane, choose Model Training > DSW-Notebook Service. The Interactive Modeling (DSW) page appears.

Stop an instance

  1. Go to the Interactive Modeling (DSW) page.
  2. Find the instance that you want to stop and click Stop in the Actions column.
  3. In the dialog box that appears, select a stop method.
    You can use one of the following methods to stop a DSW instance:
    • Stop after Saving Environment: We recommend that you select this method if you have modified the default environment, for example, you have installed a software package or a pip package.
    • Stop without Saving: Generally, you can select Stop without Saving if you have not modified the default environment.
    After the instance is stopped, the state in the Status column changes to Stopped. If the instance is a pay-as-you-go instance, the system stops charging you for the instance. Make sure that the DSW instances that are not in use are in the Stopped state. Otherwise, the system continues to charge you for the instances.

Start an instance

You can manually start an instance that is in the Stopped state.

  1. Go to the Interactive Modeling (DSW) page.
  2. Find the instance that you want to start and click Start in the Actions column.
    After the instance is started, the state in the Status column changes to Running. If the instance is a pay-as-you-go instance, the system starts to charge you for the instance. We recommend that you stop DSW instances after you complete model training. Otherwise, the system continues to charge you for the instances.

Delete an instance

You can delete instances that are not in use. After an instance is deleted, its data cannot be recovered.

  1. Go to the Interactive Modeling (DSW) page.
  2. Find the instance that you want to delete and click Delete in the Actions column.
  3. In the Delete message, click OK.