Change the environment

You must have Admin or Editor permissions on the project to change the environment of a notebook.

You can switch from using a Spark service runtime for your notebook to using a Spark environment runtime, as you can from using a default environment without Spark to a Spark environment if you need Spark to run your notebook.

You can change the environment of a notebook:

  • From the notebook opened in edit mode:

    1. Click the Notebook Info icon (Notebook Info icon) from the notebook toolbar and then click Environment. A short description of the environment is displayed.

    2. Select another environment with the compute power and memory capacity from the list under Environments.

      The active runtime is stopped and the environment runtime you selected is instantiated.

      If you want to save any data from your session before switching to another environment, you must save your notebook changes and store your files in IBM Cloud Object Storage.

  • From the Assets page of your project:

    1. Select the notebook in the Notebooks section and click Actions > Stop Kernel to stop the notebook kernel.

      Remember: Save your notebook changes and store your files in IBM Cloud Object Storage before stopping the kernel.

    2. Click Actions > Change Environment and select another environment.

      The old runtime is stopped and the one you selected is instantiated.