Moving a Notebook Session Between Compartments

Move a notebook session in Data Science to a different compartment.

For example, you might want to move a notebook session to promote it from a development compartment to a production compartment, or to change the visibility of the notebook session.

    1. From the project details page, select the name of the notebook session that you want to move. If you need help finding the list of projects, see Listing Projects.

      The notebook session details page opens.

    2. Select Move resource.
    3. Select the new compartment for the notebook session, and then select Move resource.
    A notification is displayed indicating that the notebook session resource is moved to the new compartment successfully. You might notice the notebook session status change to Moving. After the move is completed successfully, the notebook session status changes back to Active.
  • Use the oci data-science notebook-session change-compartment command and required parameters to change the compartment:

    oci data-science notebook-session change-compartment --compartment-id <compartment-id>.-c [<text>].. [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Use the ChangeNotebookSessionCompartment operation to change the compartment.