Launch your Amazon SageMaker Studio Lab project runtime
The Amazon SageMaker Studio Lab project runtime lets you write and run code directly from your browser. It
is based on JupyterLab and has an integrated terminal and console. For more information about
JupyterLab, see the JupyterLab
Documentation
The following topic gives information about how to manage your project runtime. These topics require that you sign in to your Amazon SageMaker Studio Lab account. For more information about signing in, see Sign in to Studio Lab. For more information about your project, see Amazon SageMaker Studio Lab components overview.
Topics
Start your project runtime
To use Studio Lab, you must start your project runtime. This runtime gives you access to the JupyterLab environment.
-
Navigate to the Studio Lab project overview page. The URL takes the following format.
https://studiolab.sagemaker.aws/users/
<YOUR_USER_NAME>
-
Under My Project, select a compute type. For more information about compute types, see Compute instance type.
-
Select Start runtime.
You might be asked to solve a CAPTCHA puzzle. For more information on CAPTCHA, see What is a CAPTCHA puzzle?
-
One time setup, for first time starting runtime using your Studio Lab account:
-
Enter a mobile phone number to associate with your Amazon SageMaker Studio Lab account and choose Continue.
For information on supported countries and regions, see Supported countries and regions (SMS channel).
-
Enter the 6-digit code sent to the associated mobile phone number and choose Verify.
-
-
After the runtime is running, select Open project to open the project runtime environment in a new browser tab.
Stop your project runtime
When you stop your project runtime, your files are not automatically saved. To ensure that you don't lose your work, save all of your changes before stopping your project runtime.
-
Under My Project, select Stop runtime.
View remaining compute time
Your project runtime has limited compute time based on the compute type that you select. For more information about compute time in Studio Lab, see Compute instance type.
-
Under My Project, view Time remaining.
Change your compute type
You can switch your compute type based on your workflow. For more information about compute types, see Compute instance type.
-
Save any project files before changing the compute type.
-
Navigate to the Studio Lab project overview page. The URL takes the following format.
https://studiolab.sagemaker.aws/users/
<YOUR_USER_NAME>
-
Under My Project, select the desired compute type (CPU or GPU).
-
Confirm your choice by selecting Restart in the Restart project runtime? dialog box. Studio Lab stops your current project runtime, then starts a new project runtime with your updated compute type.
-
After your project runtime has started, select Open project. This opens your project runtime environment in a new browser tab. For information about using your project runtime environment, see Use the Amazon SageMaker Studio Lab project runtime.