Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Créer une instance à l'aide de la console Google Cloud
Découvrez comment créer une instance Vertex AI Workbench et ouvrir JupyterLab à l'aide de la console Google Cloud .
Cette page explique également comment arrêter, démarrer, réinitialiser ou supprimer une instance.
Avant de commencer
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.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Une fois que vous avez terminé les tâches décrites dans ce document, vous pouvez éviter de continuer à payer des frais en supprimant les ressources que vous avez créées. Pour en savoir plus, consultez la section Effectuer un nettoyage.
Ouvrir JupyterLab
Une fois l'instance créée, Vertex AI Workbench la démarre automatiquement. Lorsque l'instance est prête à l'emploi, Vertex AI Workbench active automatiquement un lien Ouvrir JupyterLab.
En regard du nom de l'instance, cliquez sur Ouvrir JupyterLab.
Votre instance Vertex AI Workbench ouvre JupyterLab.
Ouvrir un nouveau fichier notebook
Dans JupyterLab, sélectionnez Fichier > Nouveau > Notebook.
Dans la boîte de dialogue Sélectionner le noyau, sélectionnez Python 3, puis cliquez sur Sélectionner.
Le nouveau fichier notebook s'ouvre.
Arrêter votre instance
Dans la console Google Cloud , accédez à la page Instances.
Sélectionnez l'instance que vous souhaitez démarrer.
Cliquez sur arrow_rightDémarrer.
Réinitialiser votre instance
La réinitialisation forcée d'une instance efface le contenu de la mémoire de votre instance et rétablit l'état initial de l'instance. Pour en savoir plus sur le fonctionnement de la réinitialisation d'une instance, consultez Réinitialiser une instance.
Dans la console Google Cloud , accédez à la page Instances.
Cliquez sur
Réinitialiser, puis à nouveau sur Réinitialiser pour confirmer.
Effectuer un nettoyage
Pour éviter que les ressources utilisées dans cette démonstration soient facturées sur votre compte Google Cloud , procédez comme suit :
Si vous avez créé un projet pour apprendre à utiliser les instances Vertex AI Workbench et que vous n'en avez plus besoin, supprimez-le.
Si vous avez utilisé un projet Google Cloud existant, supprimez les ressources que vous avez créées pour éviter que des frais ne soient facturés sur votre compte :
Dans la console Google Cloud , accédez à la page Instances.
Pour utiliser un notebook pour vous aider à démarrer avec Vertex AI et d'autres services Google Cloud , consultez les tutoriels sur les notebooks Vertex AI.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],null,["# Quickstart: Create a Vertex AI Workbench instance by using the Google Cloud console\n\nCreate an instance by using the Google Cloud console\n====================================================\n\nLearn how to create a Vertex AI Workbench instance\nand open JupyterLab by using the Google Cloud console.\nThis page also describes how to stop, start, reset, or delete\nan instance.\n\nBefore you begin\n----------------\n\n- Sign in to your Google Cloud account. If you're new to Google Cloud, [create an account](https://console.cloud.google.com/freetrial) to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n-\n\n\n Enable the Notebooks API.\n\n\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=notebooks.googleapis.com&redirect=https://console.cloud.google.com)\n\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n-\n\n\n Enable the Notebooks API.\n\n\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=notebooks.googleapis.com&redirect=https://console.cloud.google.com)\n\n\u003cbr /\u003e\n\n| **Note:** The [Notebooks API](/vertex-ai/docs/workbench/reference/rest) lets you manage Vertex AI Workbench resources. For managing Vertex AI resources, see the [Vertex AI API](/vertex-ai/docs/reference/rest).\n\nCreate an instance\n------------------\n\n1. In the Google Cloud console,\n go to the **Instances** page.\n\n [Go to Instances](https://console.cloud.google.com/vertex-ai/workbench/instances)\n2. Click add_box **Create new**.\n\n3. For **Name** , enter `my-instance`.\n\n4. Click **Create**.\n\nWhen you finish the tasks that are described in this document, you can avoid\ncontinued billing by deleting the resources that you created. For more information, see\n[Clean up](#clean-up).\n\nOpen JupyterLab\n---------------\n\nAfter you create your instance, Vertex AI Workbench automatically starts\nthe instance. When the instance is ready to use, Vertex AI Workbench\nactivates an **Open JupyterLab** link.\n\nNext to your instance's name,\nclick **Open JupyterLab**.\n\nYour Vertex AI Workbench instance opens JupyterLab.\n\nOpen a new notebook file\n------------------------\n\n1. In JupyterLab,\n select **File \\\u003e New \\\u003e Notebook**.\n\n2. In the **Select kernel** dialog, select **Python 3** ,\n and then click **Select**.\n\n Your new notebook file opens.\n\nStop your instance\n------------------\n\n1. In the Google Cloud console, go to the **Instances** page.\n\n [Go to Instances](https://console.cloud.google.com/vertex-ai/workbench/instances)\n2. Select the instance that you want to stop.\n\n3. Click square **Stop**.\n\nStart your instance\n-------------------\n\n1. In the Google Cloud console, go to the **Instances** page.\n\n [Go to Instances](https://console.cloud.google.com/vertex-ai/workbench/instances)\n2. Select the instance that you want to start.\n\n3. Click arrow_right **Start**.\n\nReset your instance\n-------------------\n\nResetting an instance forcibly wipes the memory contents of your instance and\nresets the instance to its initial state. To learn more about how resetting an\ninstance works, see\n[Resetting an instance](/compute/docs/instances/suspend-stop-reset-instances-overview#resetting-instance).\n\n1. In the Google Cloud console, go to the **Instances** page.\n\n [Go to Instances](https://console.cloud.google.com/vertex-ai/workbench/instances)\n2. Select the instance that you want to reset.\n\n3. Click\n\n **Reset** , and then click **Reset** to confirm.\n\nClean up\n--------\n\n\nTo avoid incurring charges to your Google Cloud account for\nthe resources used on this page, follow these steps.\n\nIf you created a new project to learn about Vertex AI Workbench instances\nand you no longer need the project, then\n[delete the project](/resource-manager/docs/creating-managing-projects#shutting_down_projects).\n\nIf you used an existing Google Cloud project, then delete the resources\nyou created to avoid incurring charges to your account:\n\n1. In the Google Cloud console, go to the **Instances** page.\n\n [Go to Instances](https://console.cloud.google.com/vertex-ai/workbench/instances)\n2. Select the row containing the instance that you want to delete.\n\n3. Click delete **Delete** .\n (Depending on the size of your window,\n the **Delete** button might be in\n the more_vert options menu.)\n\n4. To confirm, click **Confirm**.\n\nWhat's next\n-----------\n\n1. Read the [Introduction to\n Vertex AI Workbench instances](/vertex-ai/docs/workbench/instances/introduction).\n2. To use a notebook to help you get started using Vertex AI and other Google Cloud services, see [Vertex AI\n notebook tutorials](/vertex-ai/docs/tutorials/jupyter-notebooks)."]]