Crea un'istanza VM di Windows Server in Compute Engine

Scopri come creare un'istanza di macchina virtuale (VM) Windows Server utilizzando la consoleGoogle Cloud .


Per seguire le indicazioni dettagliate per questa attività direttamente nella Google Cloud console, fai clic su Procedura guidata:

Procedura guidata


Prezzi

  • Le immagini Windows Server sono immagini premium e il loro utilizzo comporta costi aggiuntivi.

  • Le VM Windows Server non sono incluse nella prova gratuita.

Prima di iniziare

  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 Google Cloud project.

  4. Make sure that you have the following role or roles on the project: Compute Instance Admin (v1), Compute Security Admin, Service Account User, Service Usage Admin

    Check for the roles

    1. In the Google Cloud console, go to the IAM page.

      Go to IAM
    2. Select the project.
    3. In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.

    4. For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.

    Grant the roles

    1. In the Google Cloud console, go to the IAM page.

      Vai a IAM
    2. Seleziona il progetto.
    3. Fai clic su Concedi l'accesso.
    4. Nel campo Nuove entità, inserisci il tuo identificatore utente. In genere si tratta dell'indirizzo email di un Account Google.

    5. Nell'elenco Seleziona un ruolo, seleziona un ruolo.
    6. Per concedere altri ruoli, fai clic su Aggiungi un altro ruolo e aggiungi ogni ruolo aggiuntivo.
    7. Fai clic su Salva.
  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 Google Cloud project.

  7. Make sure that you have the following role or roles on the project: Compute Instance Admin (v1), Compute Security Admin, Service Account User, Service Usage Admin

    Check for the roles

    1. In the Google Cloud console, go to the IAM page.

      Go to IAM
    2. Select the project.
    3. In the Principal column, find all rows that identify you or a group that you're included in. To learn which groups you're included in, contact your administrator.

    4. For all rows that specify or include you, check the Role column to see whether the list of roles includes the required roles.

    Grant the roles

    1. In the Google Cloud console, go to the IAM page.

      Vai a IAM
    2. Seleziona il progetto.
    3. Fai clic su Concedi l'accesso.
    4. Nel campo Nuove entità, inserisci il tuo identificatore utente. In genere si tratta dell'indirizzo email di un Account Google.

    5. Nell'elenco Seleziona un ruolo, seleziona un ruolo.
    6. Per concedere altri ruoli, fai clic su Aggiungi un altro ruolo e aggiungi ogni ruolo aggiuntivo.
    7. Fai clic su Salva.
  8. Abilita l'API Compute Engine

    Abilita l'API Compute Engine

  9. Se non utilizzi Windows sulla tua macchina locale, installa un client RDP come Chrome Remote Desktop.

Crea un'istanza VM di Windows Server

  1. In the Google Cloud console, go to the Create an instance page.

    Go to Create an instance

  2. In the Boot disk section, click Change to begin configuring your boot disk.
  3. Nella scheda Public images, scegli Windows Server dall'elenco Sistema operativo.
  4. Scegli Windows Server 2019 Datacenter dall'elenco Versione.
  5. Fai clic su Seleziona.
  6. Nella sezione Firewall, seleziona Consenti traffico HTTP.
  7. Per creare la VM, fai clic su Crea.

Attendi un po' di tempo per l'avvio dell'istanza VM. Quando l'istanza VM è pronta, viene elencata nella pagina Istanze VM con un'icona di stato verde.

Connettiti all'istanza VM

  1. Nella console Google Cloud , vai alla pagina Istanze VM.

    Vai a Istanze VM

  2. Nella colonna Nome, fai clic sul nome dell'istanza VM.

  3. Nella sezione Accesso remoto, fai clic su Imposta password di Windows.

  4. Specifica un nome utente, quindi fai clic su Imposta per generare una nuova password per questa VM Windows Server. Salva il nome utente e la password in modo da poter accedere alla VM.

  5. Installa il servizio Chrome Remote Desktop sulla VM.

  6. Connettiti all'istanza VM utilizzando gli strumenti grafici o a riga di comando che preferisci.

Esegui la pulizia

Per evitare che al tuo account Google Cloud vengano addebitati costi relativi alle risorse utilizzate in questa pagina, segui questi passaggi.

  1. Nella console Google Cloud , vai alla pagina Istanze VM.

    Vai a Istanze VM

  2. Fai clic sul nome dell'istanza VM che hai creato.

  3. Nella parte superiore della pagina dei dettagli dell'istanza VM, fai clic su Elimina.

Passaggi successivi