Windows Server-VM-Instanz in Compute Engine erstellen
Eine detaillierte Anleitung dazu finden Sie direkt in der Google Cloud Console. Klicken Sie dazu einfach auf Anleitung:
Preise
Windows Server-Images sind Premium-Images, für deren Nutzung zusätzliche Gebühren anfallen.
Windows Server-VMs sind in der kostenlosen Testversion nicht enthalten.
Hinweise
- 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.
-
Make sure that billing is enabled for your Google Cloud project.
-
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
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the project.
-
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.
- 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
-
In the Google Cloud console, go to the IAM page.
Zu IAM - Wählen Sie das Projekt aus.
- Klicken Sie auf Zugriff erlauben.
-
Geben Sie im Feld Neue Hauptkonten Ihre Nutzer-ID ein. Dies ist in der Regel die E-Mail-Adresse eines Google-Kontos.
- Wählen Sie in der Liste Rolle auswählen eine Rolle aus.
- Wenn Sie weitere Rollen hinzufügen möchten, klicken Sie auf Weitere Rolle hinzufügen und fügen Sie weitere Rollen hinzu.
- Klicken Sie auf Speichern.
-
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
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
-
In the Google Cloud console, go to the IAM page.
Go to IAM - Select the project.
-
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.
- 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
-
In the Google Cloud console, go to the IAM page.
Zu IAM - Wählen Sie das Projekt aus.
- Klicken Sie auf Zugriff erlauben.
-
Geben Sie im Feld Neue Hauptkonten Ihre Nutzer-ID ein. Dies ist in der Regel die E-Mail-Adresse eines Google-Kontos.
- Wählen Sie in der Liste Rolle auswählen eine Rolle aus.
- Wenn Sie weitere Rollen hinzufügen möchten, klicken Sie auf Weitere Rolle hinzufügen und fügen Sie weitere Rollen hinzu.
- Klicken Sie auf Speichern.
-
Aktivieren Sie die Compute Engine API.
- Wenn Sie auf Ihrem lokalen Computer nicht Windows nutzen, installieren Sie einen RDP-Client wie Chrome Remote Desktop.
Windows Server-VM-Instanz erstellen
- In the Google Cloud console, go to the Create an instance page.
- In the Boot disk section, click Change to begin configuring your boot disk.
- Wählen Sie auf dem Tab Public images aus der Liste Betriebssystem die Option Windows Server.
- Wählen Sie aus der Liste Version die Option Windows Server 2019 Datacenter aus.
- Klicken Sie auf Auswählen.
- Wählen Sie im Bereich Firewall die Option HTTP-Traffic zulassen aus.
- Klicken Sie auf Erstellen, um die VM zu erstellen.
Warten Sie, bis die VM-Instanz gestartet wurde. Wenn die VM-Instanz bereit ist, wird sie auf der Seite VM-Instanzen mit einem grünen Statussymbol angezeigt.
Verbindung zur VM-Instanz herstellen
Rufen Sie in der Google Cloud Console die Seite VM-Instanzen auf:
Klicken Sie in der Spalte Name auf den Namen der VM-Instanz.
Klicken Sie im Bereich Remotezugriff auf Windows-Passwort festlegen.
Geben Sie einen Nutzernamen ein und klicken Sie dann auf Einstellen, um für diese Windows Server-VM ein neues Passwort zu erstellen. Speichern Sie den Nutzernamen und das Passwort, sodass Sie sich bei der VM anmelden können.
Installieren Sie den Chrome Remote Desktop-Dienst auf Ihrer VM.
Stellen Sie mit einem grafischen Tool oder einem Befehlszeilentool Ihrer Wahl eine Verbindung zur VM-Instanz her.
Bereinigen
Mit den folgenden Schritten vermeiden Sie, dass Ihrem Google Cloud -Konto die auf dieser Seite verwendeten Ressourcen in Rechnung gestellt werden:
Rufen Sie in der Google Cloud Console die Seite VM-Instanzen auf:
Klicken Sie auf den Namen der von Ihnen erstellten VM-Instanz.
Klicken Sie oben auf der Detailseite der VM-Instanz auf Löschen.