在 Compute Engine 中建立 Windows Server VM 執行個體

瞭解如何使用 Google Cloud 控制台建立 Windows Server 虛擬機器 (VM) 執行個體。


如要直接在 Google Cloud 控制台中按照逐步指南操作,請按一下「Guide me」(逐步引導)

逐步引導


定價

事前準備

  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. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  5. Make sure that billing is enabled for your Google Cloud project.

  6. 啟用 Compute Engine API。

    啟用 Compute Engine API

  7. 如果您的本機電腦並非使用 Windows,請安裝 RDP 用戶端,例如 Chrome 遠端桌面

建立 Windows Server VM 執行個體

  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. On the Public images tab, choose Windows Server from the Operating system list.
  4. Choose Windows Server 2019 Datacenter from the Version list.
  5. Click Select.
  6. In the Firewall section, select Allow HTTP traffic.
  7. To create the VM, click Create.

啟動 VM 執行個體需要一些時間。當 VM 執行個體準備就緒時,就會列在「VM instances」(VM 執行個體) 頁面中,並顯示綠色的狀態圖示。

連線至 VM 執行個體

  1. 前往 Google Cloud 控制台的「VM instances」(VM 執行個體) 頁面

    前往 VM 執行個體

  2. 在「Name」欄下方,按一下 VM 執行個體的名稱。

  3. 在「Remote Access」(遠端存取) 部分下,按一下「Set Windows Password」(設定 Windows 密碼)

  4. 指定使用者名稱,然後點選「Set」(設定),即可為這個 Windows Server VM 產生新密碼。請儲存使用者名稱與密碼,以便登入 VM。

  5. 在 VM 上安裝 Chrome 遠端桌面服務

  6. 使用您選擇的圖形指令列工具連線至 VM 執行個體。

清除所用資源

如要避免系統向您的 Google Cloud 帳戶收取您在本頁所用資源的費用,請按照下列步驟操作。

  1. 前往 Google Cloud 控制台的「VM instances」(VM 執行個體) 頁面

    前往 VM 執行個體

  2. 按一下您建立的 VM 執行個體名稱。

  3. 在 VM 執行個體詳細資料頁面的頂端,按一下「Delete」

後續步驟