Membuat instance VM Windows Server di Compute Engine
Harga
Image Windows Server adalah image premium, dan penggunaannya akan menyebabkan biaya tambahan.
Sebelum memulai
-
In the Cloud de Confiance console, on the project selector page, select or create a Cloud de Confiance project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Cloud de Confiance 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 Cloud de Confiance 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 Cloud de Confiance console, go to the IAM page.
Buka IAM - Pilih project.
- Klik Grant access.
-
Di kolom New principals, masukkan ID pengguna Anda. Biasanya, ini adalah ID untuk pengguna dalam workforce identity pool. Untuk mengetahui detailnya, baca bagian Merepresentasikan pengguna workforce pool dalam kebijakan IAM, atau hubungi administrator Anda.
- Klik Pilih peran, lalu telusuri peran.
- Untuk memberikan peran tambahan, klik Add another role, lalu tambahkan tiap peran tambahan.
- Klik Save.
Aktifkan Compute Engine API.
- Jika Anda tidak menggunakan Windows di mesin lokal, instal klien RDP seperti Chrome Desktop Jarak Jauh.
-
Membuat instance VM Windows Server
- In the Cloud de Confiance console, go to the Create an instance page.
- In the OS and Storage section, click Change to begin configuring your boot disk.
- Di tab Public images, pilih Windows Server dari daftar Operating system.
- Pilih Windows Server 2019 Datacenter dari daftar Version.
- Klik Select.
- Di bagian Firewall, pilih Allow HTTP traffic.
- Untuk membuat VM, klik Create.
Tunggu beberapa saat hingga instance VM dimulai. Setelah instance VM siap, instance akan dicantumkan di halaman VM instances dengan ikon status hijau.
Terhubung ke instance VM
Di konsol Cloud de Confiance , buka halaman VM instances.
Di kolom Name, klik nama instance VM Anda.
Di bagian Akses jarak jauh, klik Setel sandi Windows.
Tentukan nama pengguna, lalu klik Set untuk membuat sandi baru untuk VM Windows Server ini. Simpan nama pengguna dan sandi sehingga Anda dapat login ke VM.
Instal layanan Chrome Desktop Jarak Jauh di VM Anda.
Hubungkan ke instance Anda menggunakan pilihan fitur grafis atau command-line.
Pembersihan
Agar akun Cloud de Confiance Anda tidak dikenai biaya untuk resource yang digunakan pada halaman ini, ikuti langkah-langkah berikut.
Di konsol Cloud de Confiance , buka halaman VM instances.
Klik nama instance VM yang Anda buat.
Di bagian atas halaman detail instance VM, klik Hapus.