Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Modificare il tipo di macchina e configurare le GPU di un'istanza di blocchi note gestiti
Questa pagina mostra come modificare il tipo di macchina e la configurazione della GPU di un'istanza di notebook gestita.
Panoramica
Il tipo di macchina determina alcune specifiche della tua istanza di Notebook gestiti, come la quantità di memoria, i core virtuali e i limiti dei dischi permanenti.
La modifica del tipo di macchina può migliorare le prestazioni o contribuire a evitare errori causati da un elevato utilizzo della memoria.
Le GPU forniscono l'accelerazione hardware che può migliorare il rendimento
del codice del notebook. Ti consigliamo di aggiungere o aumentare il numero di GPU per migliorare le prestazioni oppure, per ridurre il costo di esecuzione dell'istanza di notebook gestita, di rimuovere le GPU.
Prima di modificare un tipo di macchina o una configurazione GPU
Tieni presente quanto segue prima di apportare modifiche al tipo di macchina o alla configurazione della GPU dell'istanza di Notebook gestiti.
Implicazioni per la fatturazione
Ogni tipo di macchina e configurazione GPU viene fatturato a una tariffa diversa.
Assicurati di comprendere le implicazioni relative ai prezzi dell'applicazione di una modifica.
Ad esempio, un tipo di macchina e2-highmem-2 costa più di un tipo di macchina e2-standard-2.
La modifica di un tipo di macchina potrebbe influire anche sugli sconti per utilizzo sostenuto.
Gli sconti per utilizzo sostenuto vengono calcolati separatamente per categorie diverse nella stessa regione. Se modifichi i tipi di macchine in modo che il nuovo tipo di macchina appartenga a una categoria diversa, il tempo di esecuzione successivo della VM dell'istanza viene conteggiato ai fini dello sconto per utilizzo sostenuto della nuova categoria.
Migrazione a un tipo di macchina più piccolo
Se passi da un tipo di macchina con più risorse a un tipo di macchina con meno risorse, ad esempio da un tipo di macchina e2-standard-8 a un tipo di macchina e2-standard-2, potresti riscontrare problemi di risorse hardware o limitazioni delle prestazioni perché i tipi di macchina più piccoli sono meno potenti di quelli più grandi.
Modificare il tipo di macchina e configurare le GPU
Per modificare il tipo di macchina o configurare le GPU su un'istanza di notebook gestita:
Nella Google Cloud console, vai alla pagina Notebook gestiti.
Nella colonna Nome notebook, fai clic sul nome dell'istanza da modificare.
Viene visualizzata la pagina Dettagli del notebook.
Fai clic sulla scheda Hardware.
Nella sezione Modifica configurazione hardware,
seleziona il Tipo di macchina che vuoi utilizzare.
Se sono disponibili GPU per la combinazione di zona, ambiente e tipo di macchina dell'istanza, puoi configurarle.
Nella sezione GPU, seleziona il tipo di GPU e il numero di GPU che vuoi utilizzare.
Scopri di più sulle regioni e sulle zone GPU disponibili.
Se non hai già installato i driver GPU richiesti sull'istanza,
seleziona Installa automaticamente il driver GPU NVIDIA
per installarli automaticamente al successivo avvio.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Change machine type and configure GPUs of a Vertex AI Workbench managed notebooks instance\n\nChange machine type and configure GPUs of a managed notebooks instance\n======================================================================\n\n\n| Vertex AI Workbench managed notebooks is\n| [deprecated](/vertex-ai/docs/deprecations). On\n| April 14, 2025, support for\n| managed notebooks will end and the ability to create managed notebooks instances\n| will be removed. Existing instances will continue to function\n| but patches, updates, and upgrades won't be available. To continue using\n| Vertex AI Workbench, we recommend that you\n| [migrate\n| your managed notebooks instances to Vertex AI Workbench instances](/vertex-ai/docs/workbench/managed/migrate-to-instances).\n\n\u003cbr /\u003e\n\nThis page shows you how to change the machine type and\nGPU configuration of a managed notebooks instance.\n\nOverview\n--------\n\nThe machine type determines some specifications of\nyour managed notebooks instance,\nsuch as the amount of memory, virtual cores, and persistent disk limits.\nChanging the machine type can improve performance or help avoid errors\ncaused by high memory utilization.\n\nGPUs provide hardware acceleration that can improve the performance\nof your notebook code. You may want to add or increase the number of GPUs\nfor greater performance, or, to reduce the cost of running\nyour managed notebooks instance,\nyou may want to remove GPUs.\n\nBefore you change a machine type or GPU configuration\n-----------------------------------------------------\n\nConsider the following before you make any changes to\nyour managed notebooks instance's machine type\nor GPU configuration.\n\n### Billing implications\n\nEach machine type and GPU configuration is billed at a different rate.\nMake sure you understand\nthe [pricing](/compute/vm-instance-pricing) implications of making a change.\nFor example, an `e2-highmem-2` machine type costs more than an\n`e2-standard-2` machine type.\n\nChanging a machine type might also affect sustained use discounts.\nSustained use discounts are calculated [separately for different\ncategories](/compute/docs/sustained-use-discounts#calculating_discounts) in\nthe same region. If you change machine types so that the new machine type is\nin a different category, the subsequent running time of\nyour instance's VM counts toward the\nsustained use discount of the new category.\n\n### Moving to a smaller machine type\n\nIf you move from a machine type with more resources to a machine type with fewer\nresources, such as moving from an `e2-standard-8` machine type to an\n`e2-standard-2`, you might run into hardware resource issues or performance\nlimitations because smaller machine types are less powerful than larger machine\ntypes.\n\nChange the machine type and configure GPUs\n------------------------------------------\n\n| **Note:** To change the machine type or GPUs for a managed notebooks, instance must be running.\n\nTo change the machine type or configure the GPUs on\na managed notebooks instance, complete the following steps:\n\n1. In the Google Cloud console, go to the **Managed notebooks** page.\n\n [Go to Managed notebooks](https://console.cloud.google.com/vertex-ai/workbench/managed)\n2. In the **Notebook name** column, click the name of the\n instance that you want to modify.\n\n The **Notebook details** page opens.\n3. Click the **Hardware** tab.\n\n4. In the **Modify hardware configuration** section,\n select the **Machine type** that you want to use.\n\n5. If there are GPUs available for your instance's combination of\n zone, environment, and machine type, you can configure the GPUs.\n In the **GPUs** section, select the **GPU type** and\n **Number of GPUs** that you want to use.\n [Learn more about GPU regions and zone\n availability](/compute/docs/gpus/gpu-regions-zones).\n\n6. If you haven't already installed the required GPU drivers on your instance,\n select **Install NVIDIA GPU driver automatically for me**\n to install the drivers automatically on next startup.\n\n7. Click submit to confirm changes.\n\nWhat's next\n-----------\n\n- Learn more about the available [GPU platforms](/compute/docs/gpus)."]]