Quickstart: Create an instance using the Cloud Console

This page shows you how to create a managed notebooks instance by using the Google Cloud Console.

Before you begin

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.

  4. Enable the Notebooks API.

    Enable the API

  5. In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  6. Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.

  7. Enable the Notebooks API.

    Enable the API

Create an instance

  1. In the Cloud Console, go to the Managed notebooks page.

    Go to Managed notebooks

  2. Click New notebook.

  3. For Notebook name, type my-instance.

  4. Click Create.

    Your managed notebooks instance is created. An Open JupyterLab link activates when the instance is ready to use.

When you finish this tutorial, you can avoid continued billing by deleting the resources you created. For more information, see Cleaning up.

Open JupyterLab

  1. In the Cloud Console, go to the Managed notebooks page.

    Go to Managed notebooks

  2. Next to your managed notebooks instance's name, click Open JupyterLab.

  3. In the Authorize Google Cloud credentials dialog, click the link to get an authorization code.

  4. Complete the dialog granting authorization to your account, and then copy the authorization code.

  5. In the Authorize Google Cloud credentials dialog, paste the authorization code, and then click Authenticate.

    Your managed notebooks instance opens JupyterLab.

Open a new notebook file

  1. Select File > New > Notebook.

  2. In the Select Kernel dialog, select Python, and then click Select.

    Your new notebook file opens.

Stop your instance

  1. In the Cloud Console, go to the Managed notebooks page.

    Go to Managed notebooks

  2. Select the instance that you would like to stop.

  3. Toward the top, click Stop.

Start your instance

  1. In the Cloud Console, go to the Managed notebooks page.

    Go to Managed notebooks

  2. Select the instance that you would like to start.

  3. Toward the top, click Start.

Reset your instance

  1. In the Cloud Console, go to the Managed notebooks page.

    Go to Managed notebooks

  2. Select the instance that you would like to reset.

  3. Toward the top, click Reset.

Clean up

To avoid incurring charges to your Google Cloud account for the resources used in this page, follow these steps.

Delete the instance

  1. In the Cloud Console, go to the Managed notebooks page.

    Go to Managed notebooks

  2. Select the instance that you would like to delete.

  3. Toward the top, click Delete.

Delete the project

If you used resources outside of your managed notebooks instance, you might want to delete your project to avoid incurring further charges.

  1. In the Cloud Console, go to the Manage resources page.

    Go to Manage resources

  2. In the project list, select the project that you want to delete, and then click Delete.
  3. In the dialog, type the project ID, and then click Shut down to delete the project.

What's next

  • Try one of the tutorials that are included in your new managed notebooks instance. In the JupyterLab file browser, open the tutorials folder, and open one of the notebook files.

    The tutorials folder in the JupyterLab file browser