Colab Enterprise:協作式的代管筆記本環境,具備 Google Cloud的安全性和法規遵循功能。如果專案的優先事項是與他人協作,並避免花時間管理基礎架構,Colab Enterprise 可能就是最適合您的選項。請參閱下方的 Colab Enterprise 一節。
Vertex AI Workbench:以 Jupyter 筆記本為基礎的環境,透過虛擬機器 (VM) 執行個體提供,內建支援完整數據資料學工作流程的功能。如果專案的優先事項是控制和自訂,Vertex AI Workbench 可能最適合您。請參閱下方的 Vertex AI Workbench 一節。
Colab Enterprise 與 Google Cloud 服務整合,讓您更輕鬆地使用與這些服務互動的筆記本。您可以在 Google Cloud 控制台中使用 Colab Enterprise,並透過 Vertex AI 和 BigQuery 內建的功能操作。
在 Gemini 協助下撰寫程式碼
您可以在 Gemini for Google Cloud 系列產品中使用 Gemini 版 Vertex AI,在 Vertex AI 筆記本中撰寫及生成程式碼。在程式碼儲存格中輸入內容時,Gemini in Vertex AI 會生成程式碼自動完成建議。您也可以使用「幫我寫程式碼」工具,依據說明生成所需的程式碼。詳情請參閱「在 Gemini 協助下編寫程式碼」。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Choose a notebook solution\n==========================\n\nThis page describes the differences between Vertex AI's notebook\nenvironment options so that you can choose the best one for your project.\n\nVertex AI provides two notebook environment solutions:\n\n- **Colab Enterprise:** A collaborative,\n managed notebook environment with the security and compliance capabilities\n of Google Cloud. If your project's priorities are to collaborate\n with others and to avoid spending time managing infrastructure,\n Colab Enterprise might be the best option for you.\n See the following [Colab Enterprise](#colab-enterprise)\n section.\n\n- **Vertex AI Workbench:** A Jupyter notebook-based environment\n provided through virtual machine (VM) instances with features that support\n the entire data science workflow. If your project's priorities are control\n and customizability, Vertex AI Workbench might be the best option\n for you. See the following [Vertex AI Workbench](#vertex-ai-workbench)\n section.\n\nColab Enterprise\n----------------\n\nLearn about a few of Colab Enterprise's strengths in the\nsections that follow. For more information, see [Introduction to\nColab Enterprise](/colab/docs/introduction).\n\n### Share and collaborate\n\nColab Enterprise lets you share notebooks and collaborate\nwith others. You can share a notebook with a single user, Google group,\nor Google Workspace domain. You control this access\nthrough Identity and Access Management (IAM).\n\n### Managed compute\n\nColab Enterprise lets you work in notebooks without having\nto manage infrastructure. Colab Enterprise provisions\na runtime for you when you need it. If you want to, you can configure\nruntimes for specific needs, but Colab Enterprise starts\nthem for you and shuts them down when you no longer need them.\n\n### Integrated into the Google Cloud console\n\nColab Enterprise's integrations with Google Cloud services\nmake it easier to use notebooks that interact with those services.\nYou can use Colab Enterprise from within the Google Cloud console,\nwith features built into both Vertex AI and\nBigQuery.\n\n### Write code with Gemini assistance\n\n|\n| **Preview**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nYou can use Gemini in Vertex AI, which is a product in\nthe [Gemini for Google Cloud](/gemini/docs/overview) portfolio,\nto help you write and generate code in a Vertex AI notebook.\nGemini in Vertex AI can generate code completion\nsuggestions while you type in a code cell. You can also use the\n**Help me code** tool to generate code based on a description\nof what you want. To learn more, see [Write code\nwith Gemini assistance](/colab/docs/use-code-completion).\n\nVertex AI Workbench\n-------------------\n\nLearn about a few of Vertex AI Workbench's strengths in the\nsections that follow. For more information, see [Introduction to\nVertex AI Workbench](/vertex-ai/docs/workbench/introduction).\n\n### Overview\n\nAll Vertex AI Workbench instances provide the following:\n\n- Prepackaged with [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/getting_started/overview.html).\n- A preinstalled suite of deep learning packages, including support for the TensorFlow and PyTorch frameworks.\n- Support for GPU accelerators.\n- The ability to sync with a [GitHub](https://github.com/) repository.\n- Google Cloud authentication and authorization.\n\n### Add conda environments\n\nVertex AI Workbench instances use\n[kernels](https://jupyterlab.readthedocs.io/en/stable/user/documents_kernels.html)\nbased on conda environments.\nYou can add a conda environment to your Vertex AI Workbench instance,\nand the environment appears as a kernel in your instance's JupyterLab interface.\n\nAdding conda environments lets you use kernels that aren't available in the\ndefault Vertex AI Workbench instance.\nFor example, you can add conda environments for R and Apache Beam. Or you\ncan add conda environments for specific earlier versions of the available\nframeworks, such as TensorFlow, PyTorch, or Python.\n\nFor more information, see\n[Add a conda environment](/vertex-ai/docs/workbench/instances/add-environment).\n\n### Access to data\n\nYou can work more efficiently by accessing your data without leaving\nthe JupyterLab interface.\n\nFrom within JupyterLab's navigation menu on\na Vertex AI Workbench instance, you can [use the\nCloud Storage integration](/vertex-ai/docs/workbench/instances/cloud-storage)\nto browse data and other files that you have access to.\n\nAlso from within the navigation menu, you can [use the\nBigQuery integration](/vertex-ai/docs/workbench/instances/bigquery)\nto browse tables that you have access to,\nwrite queries, preview results, and load data into your notebook.\n\n### Automated notebook runs\n\nYou can [set a notebook to run on a recurring\nschedule](/vertex-ai/docs/workbench/instances/schedule-notebook-run-quickstart).\nEven while your instance is shut down, Vertex AI Workbench will\nrun your notebook file and save the results\nfor you to look at and share with others.\n\n### Automated shutdown for idle instances\n\nTo help manage costs, you can set\nyour Vertex AI Workbench instance\nto shut down after being idle for a specific time period.\nFor more information,\nsee [Idle shutdown](/vertex-ai/docs/workbench/instances/idle-shutdown).\n\n### Custom containers\n\nYou can create a Vertex AI Workbench instance based on a custom container.\nStart with a Google-provided base container image, and modify it for\nyour needs. Then create an instance based on your custom container.\n\nFor more information, see [Create an instance using a\ncustom container](/vertex-ai/docs/workbench/instances/create-custom-container).\n\n### Use third party credentials\n\nYou can create and manage Vertex AI Workbench instances with\nthird party credentials provided by Workforce Identity Federation.\nWorkforce Identity Federation uses your external identity provider (IdP)\nto grant a group of users access to Vertex AI Workbench instances\nthrough a proxy.\n\nFor more information, see [Create an instance with\nthird party credentials](/vertex-ai/docs/workbench/instances/create-third-party-instance).\n\n### Health status monitoring\n\nTo help ensure that your Vertex AI Workbench instance\nis working properly, you can [monitor the health\nstatus](/vertex-ai/docs/workbench/instances/monitor-health).\n\n### Editable Deep Learning VM instances\n\nVertex AI Workbench provides API methods for modifying the\nunderlying VM through the Notebooks API.\n| **Note:** You can't edit the underlying VM of an instance by using the Google Cloud console or the Compute Engine API.\n\nWhat's next\n-----------\n\nTo get started:\n\n- [Create a Colab Enterprise\n notebook](/colab/docs/create-console-quickstart).\n\n- [Create a Vertex AI Workbench instance](/vertex-ai/docs/workbench/instances/create)."]]