Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina fornisce una panoramica delle istanze Compute Engine. Un'istanza Compute Engine puรฒ essere una macchina virtuale (VM) o un'istanza bare metal ospitata sull'infrastruttura di Google. Puoi creare un'istanza o creare un gruppo di istanze gestite (MIG) utilizzando la console Google Cloud , Google Cloud CLI o l'API Compute Engine.
Introduzione
I termini istanza Compute Engine, istanza di computing o istanza sono sinonimi. In base al tipo di macchina specificato, un'istanza puรฒ essere un'istanza bare metal o un'istanza di macchina virtuale (VM), nel modo seguente:
Se il nome del tipo di macchina termina con -metal, l'istanza รจ un'istanza bare metal in cui non รจ installato un hypervisor.
In caso contrario, รจ un'istanza VM. I termini istanza di macchina virtuale, istanza VM e VM sono sinonimi.
I termini sinonimi vengono utilizzati in modo intercambiabile nella documentazione e nelle interfacce Google Cloud come laGoogle Cloud console, lo strumento a riga di comando gcloud e l'API REST.
Ogni istanza appartiene a un progetto Google Cloud console che puรฒ avere una o piรน istanze. Quando crei un'istanza in un progetto specifichi la zona, il sistema operativo e il tipo di macchina dell'istanza.
Quando elimini un'istanza, questa viene rimossa dal progetto.
Istanze e opzioni di archiviazione
Per impostazione predefinita, ogni istanza Compute Engine dispone di un piccolo disco di avvio permanente che contiene il sistema operativo. Quando le applicazioni in esecuzione sulla tua istanza richiedono piรน spazio di archiviazione puoi aggiungere altre opzioni di archiviazione all'istanza.
Istanze e reti
Ogni interfaccia di rete di un'istanza Compute Engine รจ associata a una subnet di una rete VPC unica. Per ulteriori informazioni sulle VPC, consulta Panoramica della rete e Quote VPC.
Istanze e container
Le istanze Compute Engine supportano un metodo dichiarativo per il lancio delle tue applicazioni utilizzando i container. Quando crei un'istanza o un template di istanza, puoi fornire un nome dell'immagine Docker e una configurazione di lancio. Compute Engine si occupa del resto, come fornire un'immagine Container-Optimized OS aggiornata con Docker installato e avviare il container all'avvio dell'istanza. Per saperne di piรน, consulta Deployment di container su istanze e MIG.
Strumenti per gestire le istanze
Per creare e gestire le istanze puoi utilizzare una serie di strumenti, tra cui laGoogle Cloud console, lo strumento a riga di comando gcloud e l'API REST. Per configurare le applicazioni sulle tue istanze connettiti all'istanza utilizzando Secure Shell (SSH) per le istanze Linux o Remote Desktop Protocol (RDP) per le istanze Windows Server.
Gestione dell'accesso alle istanze
Puoi gestire l'accesso alle tue istanze utilizzando uno dei seguenti metodi:
Istanze Linux:
Gestione dell'accesso alle istanze tramite OS Login, che ti consente di associare le chiavi SSH al tuo Account Google o all'account Google Workspace e di gestire l'accesso amministrativo o non amministrativo alla tua istanza tramite i ruoli IAM.
Gestione delle chiavi SSH nei metadati del progetto o dell'istanza, che utilizza le chiavi SSH pubbliche archiviate nei metadati di Compute Engine per concedere l'accesso all'istanza. Puoi utilizzare le chiavi SSH archiviate nei metadati del progetto per accedere a tutte le istanze di un progetto. Puoi utilizzare le chiavi SSH archiviate nei metadati delle istanze per accedere alle singole istanze.
Se ti connetti alle tue istanze utilizzando Google Cloud CLI o SSH dalla console, Compute Engine genera automaticamente le chiavi SSH per te.
Fuso orario predefinito per le istanze di computing
Indipendentemente dalla regione in cui crei l'istanza, l'ora predefinita รจ basata sul fuso orario UTC (Coordinated Universal Time).
Passaggi successivi
Se non hai mai utilizzato Compute Engine, consulta Crea un'istanza Linux in Compute Engine per scoprire come creare un'istanza utilizzando la console Google Cloud .
Per una guida piรน dettagliata sulla creazione di un'istanza, consulta Crea e avvia un'istanza.
Per ulteriori informazioni sulle funzionalitร delle istanze Compute Engine, consulta quanto segue:
Se non conosci Google Cloud, crea un account per valutare le prestazioni di Compute Engine in scenari reali. I nuovi clienti ricevono anche 300 $ di crediti senza costi per l'esecuzione, il test e il deployment dei workload.
[[["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-08-04 UTC."],[[["\u003cp\u003eCompute Engine instances, which can be either virtual machines (VMs) or bare metal instances, are hosted on Google's infrastructure and are managed through the Google Cloud console, gcloud CLI, or Compute Engine API.\u003c/p\u003e\n"],["\u003cp\u003eInstances can run public images for Linux and Windows Server, as well as private custom images, and support deploying Docker containers on the Container-Optimized OS.\u003c/p\u003e\n"],["\u003cp\u003eEach instance belongs to a Google Cloud project, where you can specify its zone, operating system, and machine type, and you can add storage options beyond the default boot persistent disk.\u003c/p\u003e\n"],["\u003cp\u003eAccess to instances can be managed through OS Login or SSH keys for Linux instances, and by generating credentials for Windows Server instances, with connection methods available for both.\u003c/p\u003e\n"],["\u003cp\u003eCompute Engine instances support the use of containers and the default timezone for all instances is Coordinated Universal Time (UTC), regardless of the region they are created in.\u003c/p\u003e\n"]]],[],null,["*** ** * ** ***\n\nThis page provides an overview of Compute Engine instances. A Compute Engine instance can be either a virtual machine (VM) or bare metal instance that is hosted on Google's infrastructure. You can [create an instance](/compute/docs/instances/create-start-instance) or [create a group of managed instances (MIG)](/compute/docs/instance-groups/creating-groups-of-managed-instances) by using the Google Cloud console, the Google Cloud CLI, or the Compute Engine API.\n\n\u003cbr /\u003e\n\nIntroduction\n\nThe terms *Compute Engine instance* , *compute instance* or\n*instance* are synonymous. Based on the\n[machine type](/compute/docs/machine-resource)\nthat you specify, an instance can be either a bare metal instance\nor a virtual machine (VM) instance, as follows:\n\n- If the name of its machine type ends in `-metal`, an instance is a [bare metal instance](/compute/docs/machine-resource#bare-metal-types), which does not have a hypervisor installed.\n- Otherwise, an instance is a VM instance. The terms *virtual machine instance* , *VM instance* , and *VM* are synonymous.\n\nSynonymous terms are used interchangeably\nacross the documentation and Google Cloud interfaces such as the\n[Google Cloud console](https://console.cloud.google.com/), the\n[gcloud](/compute/docs/gcloud-compute) command-line tool,\nand the [REST API](/compute/docs/reference/latest).\n\n\u003cbr /\u003e\n\nCompute Engine instances can run the\n[public images](/compute/docs/images) for Linux and Windows Server that Google\nprovides as well as private custom images that you can\n[create](/compute/docs/images/create-delete-deprecate-private-images) or\n[import from your existing systems](/compute/docs/import/importing-virtual-disks).\nYou can also [deploy Docker containers](/compute/docs/containers/deploying-containers),\nwhich are automatically launched on instances running the\n[Container-Optimized OS](/container-optimized-os/docs) public image.\n\nYou can choose the machine properties of your instances, such as the number\nof virtual CPUs and the amount of memory, by using a set of\n[predefined machine types](/compute/docs/machine-resource)\nor by creating your own\n[custom machine types](/compute/docs/instances/creating-instance-with-custom-machine-type).\n\nInstances and projects\n\nEach instance belongs to a [Google Cloud console](https://console.cloud.google.com/) project, and a project can have\none or more instances. When you create an instance in a project, you specify the\nzone, operating system, and machine type of that instance.\nWhen you delete an instance, it is removed from the project.\n\nInstances and storage options\n\nBy default, each Compute Engine instance has a small boot disk that\ncontains the operating system. You can add more disks to the instance when you\ncreate it, and you can add disks to an instance while the instance is running.\nFor more information about disks in Compute Engine, see\n[Choose a disk type](/compute/docs/disks).\n\nInstances and networks\n\nEach network interface of a Compute Engine instance is associated with\na subnet of a unique VPC network. For more information about\nVPCs, see [Network overview](/compute/docs/networking/network-overview)\nand [VPC quotas](/vpc/docs/quota).\n\nInstances and containers\n\nCompute Engine instances support a declarative method for launching\nyour applications using [containers](/containers). When creating an instance or\nan instance template, you can provide a Docker image name and launch\nconfiguration. Compute Engine takes care of the rest including\nsupplying an up-to-date [Container-Optimized OS](/container-optimized-os/docs)\nimage with Docker installed and launching your container when the instance starts. For more information, see\n[Deploying containers on instances and MIGs](/compute/docs/containers/deploying-containers).\n\nTools to manage instances\n\nTo create and manage instances, you can use a variety of tools, including the\n[Google Cloud console](https://console.cloud.google.com/), the [`gcloud`](/compute/docs/gcloud-compute) command-line\ntool, and the [REST API](/compute/docs/reference/latest). To configure\napplications on your instances,\n[connect to the instance](/compute/docs/instances/connecting-to-instance)\nusing Secure Shell (SSH) for Linux instances or Remote Desktop Protocol (RDP)\nfor Windows Server instances.\n\nManaging access to your instances\n\nYou can manage access to your instances using one of the following methods:\n\n- Linux instances:\n - [Managing instance access using OS Login](/compute/docs/instances/managing-instance-access), which allows you to associate SSH keys with your Google Account or Google Workspace account and manage admin or non-admin access to your instance through IAM roles.\n - [Manage your SSH keys in project or instance metadata](/compute/docs/connect/add-ssh-keys#metadata), which uses public SSH keys stored in Compute Engine metadata to grant access to the instance. You can use SSH keys stored in project metadata to access all instances in a project. You can use SSH keys stored in instance metadata to access individual instances.\n - If you [connect to your instances](/compute/docs/instances/connecting-to-instance#gcetools) using the Google Cloud CLI or SSH from the console, Compute Engine automatically generates SSH keys for you.\n- Windows Server instances:\n - [Generate credentials for Windows instances](/compute/docs/instances/windows/generating-credentials), which associates a password with a Windows user. Windows instances use this information to authenticate access to the instance.\n\nAccessing your instances\n\nAfter you configure access to your instances, you can use one of many options\nto [connect to your Linux instances](/compute/docs/instances/connecting-to-instance)\nor [connect to your Windows instances](/compute/docs/instances/connecting-to-windows).\n\nDefault time zone for compute instances\n\nRegardless of the [region](/compute/docs/regions-zones) where you create your\ninstance, the default time for your instance is Coordinated Universal Time (UTC).\n\nWhat's next\n\n- If you are new to Compute Engine, see\n [Create a Linux instance in Compute Engine](/compute/docs/create-linux-vm-instance)\n to learn how to create an instance using the Google Cloud console.\n\n- For a more detailed guide to create an instance, see\n [Create and start an instance instance](/compute/docs/instances/create-start-instance).\n\n- For more information about the features of Compute Engine\n instances, see the following:\n\n - [Machine families resource and comparison guide](/compute/docs/machine-resource)\n\n - [Operating system images](/compute/docs/images)\n\n - [Networking overview for instances](/compute/docs/networking/network-overview)\n\n - [Choose a deployment strategy for your workload](/compute/docs/choose-compute-deployment-option)\n\n- Learn how to\n [create a MIG from an existing instance](/compute/docs/instance-groups/create-mig-from-vm).\n\nTry it for yourself\n\n\nIf you're new to Google Cloud, create an account to evaluate how\nCompute Engine performs in real-world\nscenarios. New customers also get $300 in free credits to run, test, and\ndeploy workloads.\n[Try Compute Engine free](https://console.cloud.google.com/freetrial)"]]