An AI Platform Notebooks (JupyterLab) instance is a Deep Learning virtual machine instance with the latest machine learning and data science libraries pre-installed, with the option to include Nvidia GPUs for hardware acceleration.
Before you begin
Follow the steps in Before you begin to create a Google Cloud Platform (GCP) project and enable the Compute Engine API.
Create a new notebook with default options
To create a AI Platform Notebooks instance with default options, follow these steps:
Go to the Cloud Console.
Select +New Instance, and then select your framework (for example, TensorFlow) and your instance type. If you are not sure whether you want a Standard instance or a With GPU instance, select Standard. You can add GPUs to your standard instance later. For information on adding GPUs to your instance, see Manage hardware accelerators for a notebook.
Select the option to Install NVIDIA GPU driver automatically on first startup (this is a legal requirement), and select Continue.
AI Platform Notebooks creates a new instance for you, based on your selected option, with a default name, for example,
Create a new notebook and specify your instance options
If you prefer to create an instance with options other than those provided by the default instance types, you can create a new instance and specify your preferred options.
To create an AI Platform Notebooks instance and specify the options for your instance, follow these steps:
Go to the Cloud Console.
Select +New Instance, and then select More options.
On the New notebook instance page, provide the following information for your new instance:
- Instance name - provide a name for your new instance.
- Region - select a region for the new instance. Select the region that is geographically closest to you for best network performance.
- Zone - select a zone within the region that you selected.
- ML framework - select the Machine Learning framework to use for your new AI Platform Notebooks instance.
- Machine type - select the number of CPUs and amount of RAM for your new instance. AI Platform Notebooks provides monthly cost estimates for each machine type that you select.
GPUs - select the GPU type and Number of GPUs for your new instance. For information about the different GPUS, see GPUs on Compute Engine.
Select the option to Install NVIDIA GPU driver automatically on first startup (this is a legal requirement).
You can modify the GPU type and number of GPUs for your instance after it is created. For more information, see Manage hardware accelerators for a notebook.
Boot disk - select the Boot disk type and Boot disk size in GB for your new instance.
AI Platform Notebooks creates a new instance for you with the options that you selected and the name that you provided.
Open a notebook
After you have created your notebook instance, anyone that has editor permissions to your GCP project can access the notebook.
To open a notebook:
Navigate to the Notebook instances page in the Google Cloud Platform Console:
Select Open JupyterLab for the notebook that you want to open.
AI Platform Notebooks directs you to a URL for your notebook instance. For example,
If you encounter a problem when you create a notebook, see Troubleshooting notebooks for help with common issues.