You can edit your JupyterLab configurations on the JupyterLab page by choosing Configure in the top right corner. A popup appears where you can change the instance type. You can also increase the EBS volume up to 16 GB if allowed by your admin.
Navigate to Amazon SageMaker Unified Studio using the URL from your admin and log in using your SSO or AWS credentials.
-
Expand the Build menu in the top navigation, then choose JupyterLab.
-
Choose the Configure button in the top right corner of the page. A popup appears where you can change the instance type and increase the EBS volume.
-
Specify the instance type and EBS volume that you want for testing.
-
NOTE: After you increase the EBS volume, you cannot decrease it.
-
Configuring Spark compute
Amazon SageMaker Unified Studio provides a set of Jupyter magic commands.
Magic commands, or magics, enhance the functionality of the IPython environment.
For more information about the magics that Amazon SageMaker Unified Studio provides,
run %help
in a notebook.
Compute-specific configurations can be set by using the %%configure
Jupyter magic.
The %%configure
magic takes a JSON-formatted dictionary.
To use %%configure magic, specify the compute name in the argument -n
.
Including -f
will restart the session to forcefully apply the new configuration.
Otherwise, this configuration will apply when the next session starts.
For example: %%configure -n
.compute_name
-f