作業系統詳細資料


本頁面提供 Compute Engine 提供的作業系統映像檔的一般作業系統 (OS) 詳細資料和功能支援。

某些 OS 映像檔可專門自訂,以在 Compute Engine 上執行,並且與直接來自作業系統供應商的標準映像檔有顯著差異。每個 OS 也都會涵蓋這些差異。

如要瞭解 Compute Engine 如何根據支援方案、授權類型和映像檔生命週期階段,為這些 OS 映像檔提供支援和維護服務,請參閱「OS 映像檔的支援和維護政策」。

CentOS

CentOS Linux 是衍生自 Red Hat Enterprise Linux (RHEL) 的免費作業系統。 Google Cloud 可建構並支援可用於 Compute Engine 的 CentOS 映像檔。您可以免付授權費,在 Compute Engine 上使用 CentOS。

CentOS Stream 是持續推送的發行版本,追蹤 RHEL 開發作業。CentOS Stream 是 Fedora Linux 和 RHEL 之間的中間開發平台。

自動更新

根據預設,這個作業系統會設定為使用 dnf-automatic 工具安裝安全性更新。更新內容的行為如下:

  • dnf-automatic 工具不會在作業系統主要版本之間升級 VM。
  • 升級工具會套用供應商標示為安全性更新的更新項目。
  • 部分更新需要重新啟動才能生效。系統不會自動重新啟動。
圖片設定

Compute Engine 提供的 CentOS Stream 映像檔與標準 CentOS Stream 映像檔的設定有下列差異:

帳戶設定

  • 沒有設定密碼的本機使用者。

Bootloader 設定

  • 如要強制加快開機時間,請將 grub 設定中的開機逾時設為 0

網路設定

  • 已啟用 IPv6。
  • SSH 伺服器設定如下:
    • 停用密碼驗證。
    • 為避免安全殼層 (SSH) 中斷連線,ServerAliveIntervalClientAliveInterval 會設為 7 分鐘。
    • 已停用根登入功能。
  • /etc/udev/rules.d/75-persistent-net-generator.rules」已停用。
  • 為避免 MAC 位址持續存在,已移除 /etc/udev/rules.d/70-persistent-net.rules
  • 根據預設,所有流量都會允許通過訪客防火牆,因為虛擬私有雲防火牆規則會覆寫訪客防火牆規則。客體防火牆規則會保持啟用,並且可透過一般 CentOS 方法設定。
  • 以 Google 提供的 Linux 映像檔為基礎的 VM 會從已連結的 VPC MTU 取得介面 MTU。以自訂映像檔或舊版 Linux 映像檔為基礎的 VM 可能會硬式編碼 MTU。在這種情況下,如果您想將介面連線至 1460 以外的 MTU 網路,就必須自行變更設定。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

套件系統和存放區設定

  • Google Cloud 存放區可安裝 Compute Engine 訪客環境Google Cloud CLI 的套件。
  • 存放區會設為使用 CentOS 的預設鏡像網路。
  • 自動更新的設定如下:
    • 如要啟用 CentOS Stream 的自動更新功能,請使用 dnf automatic
    • 對於所有版本,update_cmd 屬性都設為 security。不過,CentOS 預設不會提供安全性標記的存放區。

儲存空間設定

  • 根據預設,映像檔的大小為 20 GB。這是建議的最低尺寸。
  • 分區表是 GPT,且有 EFI 分區可支援在 UEFI 上啟動。
  • 由於 Compute Engine 上沒有軟碟控制器,因此軟碟模組已停用。

時間設定

  • NTP 伺服器已設定為使用 Compute Engine 中繼資料伺服器。

一般資訊

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
CentOS Stream 9 centos-cloud centos-stream-9 centos-stream-9-arm64 所有 (A4 除外) 正式發布版 2027 年 5 月 31 日
CentOS Stream 8 不適用 不適用 不適用 不適用 EOS 2024 年 5 月
CentOS 8 不適用 不適用 不適用 不適用 EOS 2021 年 12 月
CentOS 7 不適用 不適用 不適用 不適用 EOS 2024 年 6 月 30 日

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
CentOS Stream 9
CentOS Stream 8
CentOS 8
CentOS 7 * *

* 如果使用這個 OS 映像檔建立多個 NIC VM,VM 可能會在重新啟動後失去網路連線。當其中一個 NIC 使用非 VirtIO 介面時,就會發生這種情況。詳情請參閱已知問題

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
CentOS Stream 9 *
CentOS Stream 8
CentOS 8
CentOS 7

* 這個 OS 映像檔不支援 ARM64 上的安全啟動功能。
這個 OS 映像檔不支援 ARM64 上的 Intel TDX。

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
CentOS Stream 9
CentOS Stream 8
CentOS 8
CentOS 7

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
CentOS Stream 9**
CentOS Stream 8**
CentOS 8** EOS EOS EOS
CentOS 7** EOS EOS EOS

# 僅適用於特定機器系列。
** 這個 OS 映像檔已停用可預測的網路介面名稱。較新的映像檔系列可能會採用不同的網路介面命名慣例。

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
CentOS Stream 9
CentOS Stream 8 EOS EOS EOS EOS EOS EOS
CentOS 8 EOS EOS EOS EOS EOS EOS
CentOS 7 EOS EOS EOS EOS EOS EOS

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
CentOS Stream 9
CentOS Stream 8
CentOS 8
CentOS 7

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
CentOS Stream 9
CentOS Stream 8
CentOS 8
CentOS 7

授權

OS 版本 執照類型 授權網址
CentOS Stream 9 免費 https://www.googleapis.com/compute/v1/projects/centos-cloud/global/licenses/centos-stream-9
CentOS Stream 8 EOS EOS
CentOS 8 EOS EOS
CentOS 7 EOS EOS

Container-Optimized OS (COS)

Google 的 Container-Optimized OS 是已針對 Docker 容器執行作業最佳化的作業系統映像檔,適合用於 Compute Engine 執行個體。 Google Cloud 會建構並支援可用於 Compute Engine 的 Container-Optimized OS 映像檔。您可以免付授權費,在 Compute Engine 上使用 Container-Optimized OS。

如要進一步瞭解 Container-Optimized OS,請參閱 Container-Optimized OS 總覽版本資訊

自動更新

您可以使用自動更新功能,設定這個作業系統以安裝安全性更新。在 117 以上版本中,自動更新功能預設為停用。在 113 以上版本中,系統預設會啟用自動更新功能。

自動更新的行為如下:

  • 這些自動更新不會升級作業系統主要版本之間的執行個體。
  • 可能需要重新啟動才能生效。系統不會自動重新啟動。
圖片設定

網路設定

  • 以 Google 提供的 Linux 映像檔為基礎的 VM 會從已連結的 VPC MTU 取得介面 MTU。以自訂映像檔或舊版 Linux 映像檔為基礎的 VM 可能會硬式編碼 MTU。在這種情況下,如果您想將介面連線至 1460 以外的 MTU 網路,就必須自行變更設定。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

一般資訊

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
COS 117 LTS cos-cloud cos-117-lts cos-arm64-117-lts 所有 (G2 除外) 正式發布版 2026 年 9 月
COS 113 LTS cos-cloud cos-113-lts cos-arm64-113-lts 所有 (G2 除外) 正式發布版 2026 年 4 月
COS 109 LTS cos-cloud cos-109-lts cos-arm64-109-lts 所有機型 (G2、X4 除外) 正式發布版 2025 年 9 月
COS 105 LTS cos-cloud cos-105-lts cos-arm64-105-lts 所有機型 (A4、G2、X4、C3-metal 除外) 正式發布版 2025 年 3 月
COS 101 LTS 不適用 不適用 不適用 不適用 EOS 2024 年 9 月

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
COS 117 LTS
COS 113 LTS
COS 109 LTS
COS 105 LTS
COS 101 LTS

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
COS 117 LTS
COS 113 LTS
COS 109 LTS
COS 105 LTS
COS 101 LTS

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
COS 117 LTS
COS 113 LTS
COS 109 LTS
COS 105 LTS
COS 101 LTS

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
COS 117 LTS
COS 113 LTS
COS 109 LTS
COS 105 LTS
COS 101 LTS

# 僅適用於特定機器系列。

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

對於 G2 VM,Container-Optimized OS 目前的預設驅動程式不支援在 G2 機器類型上執行的 L4 GPU。您可能可以安裝支援的版本,請參閱 G2 限制

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
COS 117 LTS
COS 113 LTS
COS 109 LTS
COS 105 LTS
COS 101 LTS EOS EOS EOS EOS EOS EOS

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
COS 117 LTS
COS 113 LTS
COS 109 LTS
COS 105 LTS
COS 101 LTS

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
COS 117 LTS
COS 113 LTS
COS 109 LTS
COS 105 LTS
COS 101 LTS

授權

OS 版本 執照類型 授權網址
COS 117 LTS 免費 https://www.googleapis.com/compute/v1/projects/cos-cloud/global/licenses/cos
COS 113 LTS 免費 https://www.googleapis.com/compute/v1/projects/cos-cloud/global/licenses/cos
COS 109 LTS 免費 https://www.googleapis.com/compute/v1/projects/cos-cloud/global/licenses/cos
COS 105 LTS 免費 https://www.googleapis.com/compute/v1/projects/cos-cloud/global/licenses/cos
COS 101 LTS 免費 https://www.googleapis.com/compute/v1/projects/cos-cloud/global/licenses/cos

Debian

Debian 是由 Debian 社群提供的免費作業系統。 Google Cloud 可建構並支援可用於 Compute Engine 的 Debian 映像檔。在 Compute Engine 上使用 Debian 不需要支付授權費用。

自動更新

根據預設,這個作業系統會設定為使用 Debian UnattendedUpgrades 工具安裝安全性更新。更新內容的行為如下:

  • UnattendedUpgrades 工具不會在作業系統主要版本之間升級 VM。
  • UnattendedUpgrades 工具已設定為只自動套用從 Debian 安全性存放區取得的更新。
  • 部分更新需要重新啟動才能生效。系統不會自動重新啟動。
圖片設定

您可以在 GitHub 開放原始碼存放區中取得 Debian 映像檔建構設定。

Debian 映像檔一律會使用最新的 Debian 套件建構,這些套件反映的是最新的 Debian 版本。

Compute Engine 提供的 Debian 映像檔與標準 Debian 映像檔在設定上有下列差異:

帳戶設定

  • 沒有設定密碼的本機使用者。

Bootloader 設定

  • 如要強制加快開機時間,請將 grub 設定中的開機逾時設為 0
  • 如要允許使用 SCSI 區塊多佇列,請啟用 scsi_mod.use_blk_mq

網路設定

  • 已啟用 IPv6。
  • SSH 伺服器設定如下:
    • 停用密碼驗證。
    • 已停用根登入功能。
  • 為避免 MAC 位址持續存在,已移除 /etc/udev/rules.d/70-persistent-net.rules
  • 以 Google 提供的 Linux 映像檔為基礎的 VM 會從已連結的 VPC MTU 取得介面 MTU。以自訂映像檔或舊版 Linux 映像檔為基礎的 VM 可能會硬式編碼 MTU。在這種情況下,如果您想將介面連線至 1460 以外的 MTU 網路,就必須自行變更設定。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

套件系統和存放區設定

  • Google Cloud 存放區可安裝 Compute Engine 訪客環境Google Cloud CLI 的套件。系統預設會安裝及啟用訪客環境套件和 Google Cloud CLI 套件。
  • APT 來源已設定為使用 Debian CDN。
  • 已安裝並設定 Unattended-upgrades 套件,可每天下載並安裝 Debian 安全性更新。您可以藉由變更 /etc/apt/apt.conf.d/50unattended-upgrades/etc/apt/apt.conf.d/02periodic 中的值來設定或停用這個功能。
  • cloud-initramfs-growroot 套件已遭移除,並由 Google 支援的 gce-disk-expand 套件取代。
  • 安裝 linux-image-cloud-amd64 核心,而非通用 Debian 核心。
  • 已安裝 haveged 套件,以便提供熵。

儲存空間設定

  • 圖片預設大小為 10 GB。
  • 分區表是 GPT,且有 EFI 分區可支援在 UEFI 上啟動。另外還有一個 MBR 開機區塊,可支援 BIOS。
  • 由於 Compute Engine 上沒有軟碟控制器,因此已停用軟碟模組。

時間設定

  • NTP 伺服器已設定為使用 Compute Engine 中繼資料伺服器。

一般資訊

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
Debian 12 debian-cloud debian-12 debian-12-arm64 所有 (X4、C3-metal 除外) 正式發布版 待定
Debian 11 debian-cloud debian-11 不適用 所有機型 (A4、X4、C3-metal 除外)
  • X86:GA
  • Arm:EOS
  • X86:2026 年 8 月 31 日
  • Arm:2024 年 8 月 15 日
Debian 10 不適用 不適用 不適用 不適用 EOS 2024 年 6 月 30 日

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
Debian 12
Debian 11
Debian 10

* 這個 OS 映像檔支援 NVMe,但不包含所有 NVMe 最佳化功能。

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
Debian 12
Debian 11
Debian 10

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
Debian 12
Debian 11
Debian 10

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
Debian 12
Debian 11 *
Debian 10

* 您可以更新 gVNIC 驅動程式至最新版本,啟用 200 Gbps 的網路傳出頻寬。詳情請參閱「設定各 VM 的 Tier_1 網路效能」一文的「需求和限制」一節。
VirtIO 完全支援,但需要更新版驅動程式才能與 gVNIC 搭配使用。詳情請參閱超大相框
# 僅適用於特定機器系列。

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
Debian 12
Debian 11
Debian 10 EOS EOS EOS EOS EOS EOS

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
Debian 12
Debian 11
Debian 10

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
Debian 12
Debian 11
Debian 10

授權

OS 版本 執照類型 授權網址
Debian 12 免費 https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-12-bookworm
Debian 11 免費 https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-11-bullseye
Debian 10 EOS https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/debian-10-buster

Fedora CoreOS

Fedora CoreOS 是發行版本,可提供執行現代化基礎架構堆疊所需的功能。Fedora CoreOS 會使用 Linux 容器,在較高的抽象層管理您的服務。 Google Cloud 提供 Fedora 建構及支援的 Fedora CoreOS 映像檔。您無須支付授權費,即可在 Compute Engine 中使用 Fedora CoreOS。

自動更新

根據預設,這個作業系統會設定為使用 FedoraCoreOS 自動更新工具安裝安全性更新。更新內容的行為如下:

  • 這些來自作業系統廠商的自動更新不會升級作業系統主要版本之間的執行個體。
  • 部分更新需要重新啟動,才能生效。系統不會自動重新啟動。
圖片設定

網路設定

  • 以 Google 提供的 Linux 映像檔為基礎的 VM 會從已連結的 VPC MTU 取得介面 MTU。以自訂映像檔或舊版 Linux 映像檔為基礎的 VM 可能會硬式編碼 MTU。在這種情況下,如果您想將介面連線至 1460 以外的 MTU 網路,就必須自行變更設定。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

一般資訊

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
Fedora CoreOS 穩定版 fedora-coreos-cloud fedora-coreos-stable fedora-coreos-stable-arm64 所有機型 (C3-metal、A4、A3、A2、G2、X4 除外) 正式發布版 滾動
Fedora CoreOS 測試 fedora-coreos-cloud fedora-coreos-testing fedora-coreos-testing-arm64 所有機型 (C3-metal、A4、A3、A2、G2、X4 除外) 正式發布版 滾動
Fedora CoreOS Next fedora-coreos-cloud fedora-coreos-next fedora-coreos-next-arm64 所有機型 (C3-metal、A4、A3、A2、G2、X4 除外) 正式發布版 滾動

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
Fedora CoreOS 穩定版
Fedora CoreOS 測試
Fedora CoreOS Next

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
Fedora CoreOS 穩定版 *
Fedora CoreOS 測試 *
Fedora CoreOS Next *

*這個 OS 映像檔不支援 ARM64 上的安全啟動功能。

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
Fedora CoreOS 穩定版
Fedora CoreOS 測試
Fedora CoreOS Next

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
Fedora CoreOS 穩定版
Fedora CoreOS 測試
Fedora CoreOS Next

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
Fedora CoreOS 穩定版
Fedora CoreOS 測試
Fedora CoreOS Next

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
Fedora CoreOS 穩定版
Fedora CoreOS 測試
Fedora CoreOS Next

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 的作業系統支援資訊,請參閱支援的作業系統

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
Fedora CoreOS 穩定版
Fedora CoreOS 測試
Fedora CoreOS Next

授權

OS 版本 執照類型 授權網址
Fedora CoreOS 穩定版 免費 https://www.googleapis.com/compute/v1/projects/fedora-coreos-cloud/global/licenses/fedora-coreos-stable
Fedora CoreOS 測試 免費 https://www.googleapis.com/compute/v1/projects/fedora-coreos-cloud/global/licenses/fedora-coreos-testing
Fedora CoreOS Next 免費 https://www.googleapis.com/compute/v1/projects/fedora-coreos-cloud/global/licenses/fedora-coreos-next

Oracle Linux

Oracle Linux 是 Oracle 提供的 Linux 作業系統 (OS),提供部署、最佳化及管理內部部署、雲端和邊緣應用程式所需的一切。

Oracle 會建構並支援適用於 Compute Engine 的 Oracle Linux 映像檔。您可以免付授權費,在 Compute Engine 中使用 Oracle Linux。Oracle 負責確保 Oracle Linux 可搭配使用 Google Cloud 功能,並維護安全性更新。如有 Oracle Linux 相關問題,請參閱社群資源,或直接向 Oracle 尋求企業級支援。

如要進一步瞭解 Oracle Linux,請造訪 Oracle 的 Oracle Linux 說明文件資料庫

自動更新

根據預設,Oracle Linux 映像檔不會自動安裝安全性更新。如要設定自動安全性更新功能,請執行下列指令:

   sudo dnf install -y dnf-automatic
   sudo sed -i 's/upgrade_type =.*/upgrade_type = security/' /etc/dnf/automatic.conf
   sudo sed -i 's/apply_updates =.*/apply_updates = yes/' /etc/dnf/automatic.conf
   sudo systemctl enable dnf-automatic.timer
   sudo systemctl start dnf-automatic.timer
   

自動更新的行為如下:

  • dnf-automatic 不會升級作業系統主要版本之間的 VM。
  • 升級工具只會套用 Oracle 標示為安全性更新的更新項目。
  • 部分更新需要重新啟動才能生效。這些重新啟動作業不會自動執行。

圖片設定

Compute Engine 提供的 Oracle Linux 映像檔會反映最新的版本。目前您無法將 VM 固定在某個版本。這些映像檔的設定與標準 Oracle Linux 映像檔有下列差異:

帳戶設定

  • 沒有設定密碼的本機使用者。

Bootloader 設定

  • 如要強制加快開機時間,請將 grub 設定中的開機逾時設為 0
  • I/O 排程器已設為 noop

網路設定

  • 已啟用 IPv6。
  • SSH 伺服器設定如下:
    • 密碼驗證已停用。
    • 為避免安全殼層 (SSH) 中斷連線,ServerAliveIntervalClientAliveInterval 會設為 7 分鐘。
    • 已停用根登入功能。
  • /etc/udev/rules.d/75-persistent-net-generator.rules」已停用。
  • 為避免 MAC 位址持續存在,已移除 /etc/udev/rules.d/70-persistent-net.rules
  • 根據預設,所有流量都會允許通過訪客防火牆,因為虛擬私有雲防火牆規則會覆寫訪客防火牆規則。客體防火牆規則會保持啟用,並且可透過一般 Oracle Linux 方法設定。
  • 以 Google 提供的 Linux 映像檔為基礎的 VM 會從已連結的 VPC MTU 取得介面 MTU。以自訂映像檔或舊版 Linux 映像檔為基礎的 VM 可能會硬式編碼 MTU。在這種情況下,如果您想將介面連線至 1460 以外的 MTU 網路,就必須自行變更設定。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

套件系統和存放區設定

  • Google Cloud 存放區可用於安裝 Compute Engine 訪客環境的套件,但無法用於 Google Cloud CLIGoogle Cloud CLI 的安裝方式如下: dnf install -y google-cloud-cli --enablerepo google-cloud-sdk
  • 自動安全性更新功能預設為停用。如要啟用,請參閱「自動更新」一節中的操作說明。

儲存空間設定

  • 根據預設,映像檔的大小為 20 GB。這是建議的最低尺寸。
  • 分區表是 GPT,且有 EFI 分區可支援在 UEFI 上啟動。

時間設定

  • NTP 伺服器已設定為使用 Compute Engine 中繼資料伺服器。

一般資訊

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
Oracle Linux 9 oracle-linux-cloud oracle-linux-9 不適用 N2、C3、C4、N2D、C2D、C3D 和 M3 正式發布版 2032 年 6 月
Oracle Linux 8 oracle-linux-cloud oracle-linux-8 不適用 N2、C3、C4、N2D、C2D、C3D 和 M3 正式發布版 2029 年 7 月

介面

根據預設,Oracle Linux 映像檔會使用 Unbreakable Enterprise Kernel (UEK)。表格中列出的介面支援功能適用於使用 UEK 的映像檔。您可以選擇設定 Oracle Linux 映像檔,以便使用 Red Hat 相容核心 (RHCK),這項核心會額外安裝在 Oracle Linux 映像檔中。如果您使用 RHCK,Oracle Linux 映像檔會支援本文件「Red Hat Enterprise Linux (RHEL)」一節所列的對應 Red Hat Enterprise Linux (RHEL) 的介面。

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
Oracle Linux 9
Oracle Linux 8

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
Oracle Linux 9
Oracle Linux 8

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和繼續執行
Oracle Linux 9
Oracle Linux 8

雖然 gcloud CLI 並未預先安裝在映像檔中,但已設定 Google Cloud SDK 存放區。如要安裝 gcloud CLI,請執行下列指令: dnf install -y google-cloud-cli --enablerepo google-cloud-sdk

網路功能

根據預設,Oracle Linux 映像檔會使用 Unbreakable Enterprise Kernel (UEK)。表格中列出的網路功能支援功能適用於使用 UEK 的映像檔。您可以選擇設定 Oracle Linux 映像檔,以便使用 Red Hat 相容核心 (RHCK),這項核心會額外安裝在 Oracle Linux 映像檔中。如果您使用 RHCK,Oracle Linux 映像檔會支援本文件「Red Hat Enterprise Linux (RHEL)」一節所列的對應 Red Hat Enterprise Linux (RHEL) 網路功能。

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
Oracle Linux 9
Oracle Linux 8

# 僅適用於特定機器系列。

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

Oracle Linux 映像檔預設會使用 Unbreakable Enterprise Kernel (UEK)。表格中列出的 GPU 支援功能適用於使用 UEK 的映像檔。您可以選擇設定 Oracle Linux 映像檔,以便使用 Red Hat 相容核心 (RHCK),這項核心會額外安裝在 Oracle Linux 映像檔中。如果您使用 RHCK,Oracle Linux 映像檔支援的 GPU 與本文件「Red Hat Enterprise Linux (RHEL)」一節所列的 Red Hat Enterprise Linux (RHEL) 相同。

OS 版本 A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
Oracle Linux 9
Oracle Linux 8

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
Oracle Linux 9
Oracle Linux 8

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
Oracle Linux 9
Oracle Linux 8

授權

OS 版本 執照類型 授權網址
Oracle Linux 9 免費 https://www.googleapis.com/compute/v1/projects/oracle-linux-cloud/global/licenses/oracle-linux-9
Oracle Linux 8 免費 https://www.googleapis.com/compute/v1/projects/oracle-linux-cloud/global/licenses/oracle-linux-8

Red Hat Enterprise Linux (RHEL)

Red Hat Enterprise Linux (RHEL) 是可提供伺服器與桌上型電腦作業系統的開放原始碼 Linux 作業系統。 Google Cloud 會建構並支援可用於 Compute Engine 的 RHEL OS 映像檔。

RHEL 映像檔為進階資源,需支付額外費用才能使用。如要使用現有的 RHEL 訂閱,您可以使用 Red Hat Cloud Access 功能。

Red Hat 知識庫提供文章、解決方案、產品說明文件和社群討論內容。您可以透過 Google Cloud 控制台,將 Red Hat Knowledgebase 做為單一登入 (SSO) 選項。請參閱「存取 Red Hat 知識庫」。

如要查看在 Compute Engine 上執行 RHEL 時的常見問題清單,請參閱 Red Hat Enterprise Linux 常見問題

自動更新

根據預設,這個作業系統會設定為使用 RHEL yum-cron (RHEL 7) 或 dnf automatic (RHEL 8 以上版本) 工具安裝安全性更新。更新內容的行為如下:

  • 這些來自作業系統廠商的自動更新不會升級作業系統主要版本之間的執行個體。
  • 從 RHEL 7 開始,作業系統也會設定為只套用廠商標示為安全性更新的更新項目。
  • 部分更新需要重新啟動才能生效。系統不會自動重新啟動。
圖片設定

GitHub 開放原始碼存放區提供 RHEL 映像檔建構設定。

RHEL 映像檔一律使用最新的 RHEL 套件建構,這些套件反映的是最新的版本。目前您無法將 VM 固定在特定版本。

RHEL for SAP 映像檔會標記為 Red Hat 支援的特定版本。

Compute Engine 提供的 RHEL 映像檔與標準 RHEL 映像檔在設定方面有下列差異:

帳戶設定

  • 沒有設定密碼的本機使用者。

Bootloader 設定

  • 如要強制加快開機時間,請將 grub 設定中的開機逾時設為 0
  • I/O 排程器已設為 noop

網路設定

  • 已啟用 IPv6。
  • SSH 伺服器設定如下:
    • 停用密碼驗證。
    • 為避免安全殼層 (SSH) 中斷連線,ServerAliveIntervalClientAliveInterval 會設為 7 分鐘。
    • 已停用根登入功能。
  • /etc/udev/rules.d/75-persistent-net-generator.rules」已停用。
  • 為避免 MAC 位址持續存在,已移除 /etc/udev/rules.d/70-persistent-net.rules
  • 根據預設,所有流量都會允許通過訪客防火牆,因為虛擬私有雲防火牆規則會覆寫訪客防火牆規則。客體防火牆規則會保持啟用,並且可透過一般 RHEL 方法設定。
  • 以 Google 提供的 Linux 映像檔為基礎的 VM 會從已連結的 VPC MTU 取得介面 MTU。以自訂映像檔或舊版 Linux 映像檔為基礎的 VM 可能會硬式編碼 MTU。在這種情況下,如果您想將介面連線至 1460 以外的 MTU 網路,就必須自行變更設定。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

套件和存放區設定

  • Google Cloud 存放區可安裝 Compute Engine 訪客環境Google Cloud CLI 的套件。
  • RHEL for SAP yum 變數會設為將用戶端繫結至支援的 RHEL for SAP 版本。
  • RHEL 內容來自 Compute Engine Red Hat Update Infrastructure (RHUI) 伺服器。如果無法從 Red Hat Update Infrastructure (RHUI) 伺服器取得更新,可能需要更新 RHUI 用戶端套件。如要更新至最新版 RHUI 用戶端套件,請執行下列指令:
      dnf -y -q update 'google-rhui-client*'
    
  • 已安裝 Google RHUI 用戶端套件,其中包含存取 RHEL 內容所需的設定。
  • Red Hat subscription-manager 套件已遭移除,因為該套件不會用於 pay as you go 映像檔。
  • 自動更新功能的啟用方式如下:
    • 如為 RHEL 8 以上版本,請使用 dnf automatic
    • 所有版本的 update_cmd 屬性都設為 security

儲存空間設定

  • 根據預設,映像檔的大小為 20 GB。這是建議的最低尺寸。
  • 分區表是 GPT,且有 EFI 分區可支援在 UEFI 上啟動。

時間設定

  • NTP 伺服器已設定為使用 Compute Engine 中繼資料伺服器。

一般資訊

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
RHEL 9 rhel-cloud rhel-9 rhel-9-arm64 所有型號 (A4、X4 除外) 正式發布版 2032 年 5 月
RHEL 8 rhel-cloud rhel-8 rhel-8-arm64 所有型號 (A4、X4 除外) 正式發布版 2029 年 5 月
RHEL 7 不適用 不適用 不適用 不適用 EOS*
ELS
2024 年 6 月 (ELS 服務將於 2028 年 6 月結束)
RHEL 6 不適用 不適用 不適用 不適用 EOS* 2020 年 11 月 (ELS 服務將於 2024 年 6 月 30 日結束)
RHEL 9.4 for SAP rhel-sap-cloud rhel-9-4-sap-ha 不適用 所有機型 (A4、T2A、X4、C4A 除外) 正式發布版 2028 年 4 月
RHEL 9.2 for SAP rhel-sap-cloud rhel-9-2-sap-ha 不適用 所有機型 (A4、T2A、X4、C3-metal、C4A 除外) 正式發布版 2027 年 5 月
RHEL 9.0 for SAP rhel-sap-cloud rhel-9-0-sap-ha 不適用 所有機型 (A4、T2A、X4、C3-metal、C4A 除外) 正式發布版 2026 年 5 月
RHEL 8.10 for SAP rhel-sap-cloud rhel-8-10-sap-ha 不適用 所有機型 (A4、T2A、X4、C4A 除外) 正式發布版 2029 年 5 月
RHEL 8.8 for SAP rhel-sap-cloud rhel-8-8-sap-ha 不適用 所有機型 (A4、T2A、X4、C3-metal、C4A 除外) 正式發布版 2027 年 5 月
RHEL 8.6 for SAP rhel-sap-cloud rhel-8-6-sap-ha 不適用 所有機型 (A4、T2A、X4、C3-metal、C4A 除外) 正式發布版 2026 年 5 月
RHEL 8.4 for SAP rhel-sap-cloud rhel-8-4-sap-ha 不適用 所有機型 (A4、T2A、X4、C3-metal、C4A 除外) 正式發布版 2025 年 5 月
RHEL 8.2 for SAP 不適用 不適用 不適用 不適用 EOS* 2024 年 4 月
RHEL 7.9 for SAP 不適用 不適用 不適用 不適用 EOS*
ELS
2024 年 6 月 (ELS 服務將於 2028 年 6 月結束)

*EOS:已停止支援。

ELS:如要使用這個 OS 映像檔,您必須訂閱 Extended Life Cycle Support (ELS) Add-On。您可以依照「附加 RHEL ELS 授權」一節所述,將 ELS Add-On 附加至 RHEL 6 VM。

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
RHEL 9
RHEL 8
RHEL 7 # #
RHEL 6 *
RHEL 9.4 for SAP
RHEL 9.2 for SAP
RHEL 9.0 for SAP
RHEL 8.10 for SAP
RHEL 8.8 for SAP
RHEL 8.6 for SAP
RHEL 8.4 for SAP
RHEL 8.2 for SAP
RHEL 7.9 for SAP # #

*這個 OS 映像檔支援 NVMe,但不包含所有 NVMe 最佳化功能。

#如果使用這個 OS 映像檔建立多個 NIC VM,VM 可能會在重新啟動後失去網路連線。當其中一個 NIC 使用非 VirtIO 介面時,就會發生這種情況。請參閱已知的問題

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
RHEL 9 *
RHEL 8
RHEL 7
RHEL 6
RHEL 9.4 for SAP
RHEL 9.2 for SAP
RHEL 9.0 for SAP
RHEL 8.10 for SAP
RHEL 8.8 for SAP
RHEL 8.6 for SAP
RHEL 8.4 for SAP
RHEL 8.2 for SAP
RHEL 7.9 for SAP

* 這個 OS 映像檔不支援 ARM64 上的安全啟動功能。
這個 OS 映像檔不支援 ARM64 上的 Intel TDX。

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
RHEL 9
RHEL 8
RHEL 7
RHEL 6
RHEL 9.4 for SAP
RHEL 9.2 for SAP
RHEL 9.0 for SAP
RHEL 8.10 for SAP
RHEL 8.8 for SAP
RHEL 8.6 for SAP
RHEL 8.4 for SAP
RHEL 8.2 for SAP
RHEL 7.9 for SAP

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
RHEL 9**
RHEL 8**
RHEL 7** *
RHEL 6** EOS EOS EOS
RHEL 9.4 for SAP
RHEL 9.2 for SAP**
RHEL 9.0 for SAP** *
RHEL 8.10 for SAP**
RHEL 8.8 for SAP**
RHEL 8.6 for SAP** *
RHEL 8.4 for SAP** *
RHEL 8.2 for SAP** *
RHEL 7.9 for SAP** *

*您可以更新 gVNIC 驅動程式至最新版本,啟用 200 Gbps 的網路輸出頻寬。詳情請參閱「設定各 VM 的 Tier_1 網路效能」一文的「要求和限制」一節。

VirtIO 完全支援,但需要更新的驅動程式才能搭配 gVNIC 使用。詳情請參閱「超大相框」。

#僅適用於特定機器系列。

**這個 OS 映像檔已停用可預測的網路介面名稱。較新的映像檔系列可能會使用不同的網路介面命名慣例。

GPU 支援

N1+GPU 代表支援在通用 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
RHEL 9
RHEL 8
RHEL 7 EOS EOS EOS EOS EOS EOS
RHEL 6 EOS EOS EOS EOS EOS EOS
RHEL 9.4 for SAP
RHEL 9.2 for SAP
RHEL 9.0 for SAP
RHEL 8.10 for SAP
RHEL 8.8 for SAP
RHEL 8.6 for SAP
RHEL 8.4 for SAP
RHEL 8.2 for SAP EOS EOS EOS EOS EOS EOS
RHEL 7.9 for SAP EOS EOS EOS EOS EOS EOS

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
RHEL 9
RHEL 8
RHEL 7
RHEL 6
RHEL 9.4 for SAP
RHEL 9.2 for SAP
RHEL 9.0 for SAP
RHEL 8.10 for SAP
RHEL 8.8 for SAP
RHEL 8.6 for SAP
RHEL 8.4 for SAP
RHEL 8.2 for SAP
RHEL 7.9 for SAP

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
RHEL 9
RHEL 8
RHEL 7
RHEL 6
RHEL 9.4 for SAP
RHEL 9.2 for SAP
RHEL 9.0 for SAP
RHEL 8.10 for SAP
RHEL 8.8 for SAP
RHEL 8.6 for SAP
RHEL 8.4 for SAP
RHEL 8.2 for SAP
RHEL 7.9 for SAP

授權

OS 版本 執照類型 授權網址
RHEL 9
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-9-server
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-9-byos
RHEL 8
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-8-server
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-8-byos
RHEL 7
  • 隨選 (預設)
  • ELS

  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-7-server
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-7-els
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-7-byos
RHEL 6
  • 隨選 (預設)
  • ELS
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-6-server
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-6-els
  • https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/licenses/rhel-6-byos
RHEL 9.4 for SAP
  • 隨選
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-9-sap
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-9-sap-byos
RHEL 9.2 for SAP
  • 隨選
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-9-sap
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-9-sap-byos
RHEL 9.0 for SAP
  • 隨選
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-9-sap
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-9-sap-byos
RHEL 8.10 for SAP
  • 隨選
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap-byos
RHEL 8.8 for SAP
  • 隨選
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap-byos
RHEL 8.6 for SAP
  • 隨選
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap-byos
RHEL 8.4 for SAP
  • 隨選
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap-byos
RHEL 8.2 for SAP
  • 隨選
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-8-sap-byos
RHEL 7.9 for SAP
  • 隨選
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/rhel-sap-cloud/global/licenses/rhel-7-sap
  • 不適用

ELS:如要使用這個 OS 映像檔,您必須訂閱 Extended Life Cycle Support (ELS) Add-On。您可以按照「附加 RHEL ELS 授權」一節所述,將 ELS Add-On 附加至 RHEL 6 VM。

Rocky Linux

Rocky Linux 是免費、開放的社群企業作業系統,旨在與 Red Hat Enterprise Linux 相容,且可 100% 解決錯誤。 Google Cloud 會建構並支援可用於 Compute Engine 的 Rocky Linux 映像檔。您可以在 Compute Engine 上使用 Rocky Linux,不必支付授權費用。

Compute Engine 提供下列兩個版本的 Rocky Linux 作業系統:

  • 完全開放原始碼版本
  • 針對 Google Cloud進行最佳化的版本:這個版本的後置字為 -optimized-gcp,且已預先設定為使用最新版本的 Google 虛擬網路介面 (gVNIC)。
自動更新

根據預設,這個作業系統會設定為使用 dnf-automatic 工具安裝安全性更新。更新內容的行為如下:

  • dnf-automatic 不會在作業系統主要版本之間升級 VM。
  • 升級工具會套用供應商標示為安全性更新的更新項目。
  • 部分更新需要重新啟動才能生效。系統不會自動重新啟動。
圖片設定

Compute Engine 提供的 Rocky Linux 映像檔與標準 Rocky Linux 映像檔在設定方面有下列差異:

帳戶設定

  • 沒有設定密碼的本機使用者。

Bootloader 設定

  • 如要強制加快開機時間,請將 grub 設定中的開機逾時設為 0

網路設定

  • 已啟用 IPv6。
  • SSH 伺服器設定如下:
    • 密碼驗證已停用。
    • 為避免安全殼層 (SSH) 中斷連線,ServerAliveIntervalClientAliveInterval 會設為 7 分鐘。
    • 已停用根登入功能。
  • /etc/udev/rules.d/75-persistent-net-generator.rules」已停用。
  • 為避免 MAC 位址持續存在,已移除 /etc/udev/rules.d/70-persistent-net.rules
  • 根據預設,所有流量都會允許通過訪客防火牆,因為虛擬私有雲防火牆規則會覆寫訪客防火牆規則。客體防火牆規則會保持啟用,並且可透過一般 Rocky Linux 方法設定。
  • 以 Google 提供的 Linux 映像檔為基礎的 VM 會從已連結的 VPC MTU 取得介面 MTU。以自訂映像檔或舊版 Linux 映像檔為基礎的 VM 可能會硬式編碼 MTU。在這種情況下,如果您想將介面連線至 1460 以外的 MTU 網路,就必須自行變更設定。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

套件系統和存放區設定

  • Google Cloud 存放區可安裝 Compute Engine 訪客環境Google Cloud CLI 的套件。
  • 存放區會設為使用 Rocky Linux 的預設鏡像網路。
    • 已啟用 PowerTools 存放區。
  • 自動更新的設定如下:
    • 使用 dnf automatic 即可啟用自動更新。
    • 所有版本的 update_cmd 屬性都設為 security。不過,根據預設,Rocky Linux 不會提供安全性標記的存放區。

儲存空間設定

  • 根據預設,映像檔的大小為 20 GB。
  • 分區表是 GPT,且有 EFI 分區可支援在 UEFI 上啟動。
  • 由於 Compute Engine 上沒有軟碟控制器,因此軟碟模組已停用。

時間設定

  • NTP 伺服器已設定為使用 Compute Engine 中繼資料伺服器。

一般資訊

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
專為 Google Cloud 最佳化的 Rocky Linux 9 rocky-linux-cloud rocky-linux-9-optimized-gcp rocky-linux-9-optimized-gcp-arm64 所有 (A4 除外) 正式發布版 2032 年 5 月
Rocky Linux 9 rocky-linux-cloud rocky-linux-9 rocky-linux-9-arm64 所有 (A4 除外) 正式發布版 2032 年 5 月
Rocky Linux 9 Accelerated rocky-linux-accelerator-cloud rocky-linux-9-optimized-gcp-nvidia-latest 不適用 全部 正式發布版 2032 年 5 月
專為 Google Cloud 最佳化的 Rocky Linux 8 rocky-linux-cloud rocky-linux-8-optimized-gcp rocky-linux-8-optimized-gcp-arm64 所有型號 (A4、X4 除外) 正式發布版 2029 年 5 月
Rocky Linux 8 rocky-linux-cloud rocky-linux-8 不適用 所有機型 (A4、T2A、C4A、X4 除外) 正式發布版 2029 年 5 月
Rocky Linux 8 Accelerated rocky-linux-accelerator-cloud rocky-linux-8-optimized-gcp-nvidia-latest 不適用 全部 正式發布版 2029 年 5 月

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
專為 Google Cloud 最佳化的 Rocky Linux 9
Rocky Linux 9
Rocky Linux 9 Accelerated
Rocky Linux 8 (已針對 Google Cloud 進行最佳化調整)
Rocky Linux 8
Rocky Linux 8 Accelerated

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
專為 Google Cloud 最佳化的 Rocky Linux 9 *
Rocky Linux 9 *
Rocky Linux 9 Accelerated
專為 Google Cloud 最佳化的 Rocky Linux 8
Rocky Linux 8
Rocky Linux 8 Accelerated

* 這個 OS 映像檔不支援 ARM64 的 Intel TDX。

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和繼續執行
專為 Google Cloud 最佳化的 Rocky Linux 9
Rocky Linux 9
Rocky Linux 9 Accelerated
專為 Google Cloud 最佳化的 Rocky Linux 8
Rocky Linux 8
Rocky Linux 8 Accelerated

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
為 Google Cloud 最佳化的 Rocky Linux 9**
Rocky Linux 9**
Rocky Linux 9 Accelerated
為 Google Cloud 最佳化的 Rocky Linux 8**
Rocky Linux 8**
Rocky Linux 8 Accelerated

# 僅適用於特定機器系列。
** 這個 OS 映像檔已停用可預測的網路介面名稱。較新的映像檔系列可能會採用不同的網路介面命名慣例。

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

Rocky Linux 8 和 9 Accelerated OS 映像檔經過最佳化調整,可支援人工智慧 (AI) 和機器學習 (ML) 工作負載。如要進一步瞭解這些映像如何針對這些工作負載進行最佳化,請參閱 AI 超級電腦說明文件中的「作業系統」一節。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
專為 Google Cloud 最佳化的 Rocky Linux 9
Rocky Linux 9
Rocky Linux 9 Accelerated
專為 Google Cloud 最佳化的 Rocky Linux 8
Rocky Linux 8
Rocky Linux 8 Accelerated

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
專為 Google Cloud 最佳化的 Rocky Linux 9
Rocky Linux 9
Rocky Linux 9 Accelerated
專為 Google Cloud 最佳化的 Rocky Linux 8
Rocky Linux 8
Rocky Linux 8 Accelerated

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
專為 Google Cloud 最佳化的 Rocky Linux 9
Rocky Linux 9
Rocky Linux 9 Accelerated
專為 Google Cloud 最佳化的 Rocky Linux 8
Rocky Linux 8
Rocky Linux 8 Accelerated

授權

OS 版本 執照類型 授權網址
專為 Google Cloud 最佳化的 Rocky Linux 9 免費 https://www.googleapis.com/compute/v1/projects/rocky-linux-cloud/global/licenses/rocky-linux-9-optimized-gcp
Rocky Linux 9 免費 https://www.googleapis.com/compute/v1/projects/rocky-linux-cloud/global/licenses/rocky-linux-9
Rocky Linux 9 Accelerated 免費 https://www.googleapis.com/compute/v1/projects/rocky-linux-cloud/global/licenses/rocky-linux-9-optimized-gcp
專為 Google Cloud 最佳化的 Rocky Linux 8 免費 https://www.googleapis.com/compute/v1/projects/rocky-linux-cloud/global/licenses/rocky-linux-8-optimized-gcp
Rocky Linux 8 免費 https://www.googleapis.com/compute/v1/projects/rocky-linux-cloud/global/licenses/rocky-linux-8
Rocky Linux 8 Accelerated 免費 https://www.googleapis.com/compute/v1/projects/rocky-linux-cloud/global/licenses/rocky-linux-8-optimized-gcp

Linux 上的 SQL Server

您可以使用隨選授權,在 Linux 虛擬機或映像檔上使用 Microsoft SQL Server。Google 不會提供 Linux 版 SQL Server 的預先設定映像檔。

C4A 機器系列T2A 機器系列上建立的 VM 不支援 Microsoft SQL Server 映像檔。

授權

如要在 Linux VM 或映像檔上使用 Microsoft SQL Server 的隨選 / 付費即用 (PAYG) 授權,請參閱「在現有 Linux 伺服器中新增 SQL Server 授權」。

版本 執照類型 授權
Linux 上的 Microsoft SQL Server 2022 Enterprise 隨選 https://www.googleapis.com/compute/v1/projects/linux-sql-cloud/global/licenses/sql-server-2022-enterprise-on-linux
Linux 上的 Microsoft SQL Server 2022 Standard 隨選 https://www.googleapis.com/compute/v1/projects/linux-sql-cloud/global/licenses/sql-server-2022-standard-on-linux
Linux 上的 Microsoft SQL Server 2022 Web 隨選 https://www.googleapis.com/compute/v1/projects/linux-sql-cloud/global/licenses/sql-server-2022-web-on-linux
Linux 上的 Microsoft SQL Server 2019 Enterprise 隨選 https://www.googleapis.com/compute/v1/projects/linux-sql-cloud/global/licenses/sql-server-2019-enterprise-on-linux
Linux 上的 Microsoft SQL Server 2019 Standard 隨選 https://www.googleapis.com/compute/v1/projects/linux-sql-cloud/global/licenses/sql-server-2019-standard-on-linux
Linux 上的 Microsoft SQL Server 2019 Web 隨選 https://www.googleapis.com/compute/v1/projects/linux-sql-cloud/global/licenses/sql-server-2019-web-on-linux
Linux 上的 Microsoft SQL Server 2017 Enterprise 隨選 https://www.googleapis.com/compute/v1/projects/linux-sql-cloud/global/licenses/sql-server-2017-enterprise-on-linux
Microsoft SQL Server 2017 Standard 版 (Linux 版) 隨選 https://www.googleapis.com/compute/v1/projects/linux-sql-cloud/global/licenses/sql-server-2017-standard-on-linux
Linux 上的 Microsoft SQL Server 2017 Web 隨選 https://www.googleapis.com/compute/v1/projects/linux-sql-cloud/global/licenses/sql-server-2017-web-on-linux

Windows 上的 SQL Server

Microsoft SQL Server 映像檔與標準 Windows Server 作業系統映像檔類似,但包含預先安裝的 Microsoft SQL Server。

C4A 機器系列T2A 機器系列上建立的 VM 不支援 Microsoft SQL Server 映像檔。不支援在 Bare Metal 執行個體中使用 Microsoft SQL Server Windows 映像檔。

自動更新

根據預設,這個作業系統會針對 Microsoft 更新設定為「自動下載並排定安裝時間」。如要設定 Windows Server 自動更新,請參閱「 設定自動更新」。

圖片設定
  • Microsoft SQL Server 映像檔與標準 Windows Server 映像檔有相同的顯著差異
  • Google 提供的 Windows 映像檔具有硬式編碼 MTU。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

一般資訊

如要在 Windows VM 上使用 Microsoft SQL Server,並使用隨選/即付即用 (PAYG) 授權,請參閱「在現有 Windows 伺服器上新增 SQL Server 授權」。

版本 映像檔專案 映像檔系列 生命週期階段 EOS 和圖片淘汰日期
Microsoft SQL Server 2022 windows-sql-cloud sql-web-2022-win-2025
sql-web-2022-win-2022
sql-web-2022-win-2019
sql-std-2022-win-2025
sql-std-2022-win-2022
sql-std-2022-win-2019
sql-ent-2022-win-2025
sql-ent-2022-win-2022
sql-ent-2022-win-2019
正式發布版 2033 年 1 月 11 日
Microsoft SQL Server 2019 windows-sql-cloud sql-web-2019-win-2025
sql-web-2019-win-2022
sql-web-2019-win-2019
sql-std-2019-win-2025
sql-std-2019-win-2022
sql-std-2019-win-2019
sql-ent-2019-win-2025
sql-ent-2019-win-2022
sql-ent-2019-win-2019
正式發布版 2030 年 1 月 8 日
Microsoft SQL Server 2017 windows-sql-cloud sql-web-2017-win-2025
sql-web-2017-win-2022
sql-web-2017-win-2019
sql-web-2017-win-2016
sql-std-2017-win-2025
sql-std-2017-win-2022
sql-std-2017-win-2019
sql-std-2017-win-2016
sql-exp-2017-win-2019
sql-exp-2017-win-2016
sql-ent-2017-win-2025
sql-ent-2017-win-2022
sql-ent-2017-win-2019
sql-ent-2017-win-2016
正式發布版 2027 年 10 月 12 日
Microsoft SQL Server 2016 windows-sql-cloud sql-web-2016-win-2019
sql-web-2016-win-2016
sql-std-2016-win-2019
sql-std-2016-win-2016
sql-ent-2016-win-2019
sql-ent-2016-win-2016
正式發布版 2026 年 7 月 14 日
Microsoft SQL Server 2014 EOS EOS EOS 2024 年 7 月 9 日

SQL Server 版本支援

版本 Enterprise 標準 網頁 Express
Microsoft SQL Server 2022
Microsoft SQL Server 2019
Microsoft SQL Server 2017
Microsoft SQL Server 2016
Microsoft SQL Server 2014 EOS EOS EOS EOS

Windows Server 版本支援

版本 Windows 2016 Windows 2019 Windows 2022 Windows 2025
Microsoft SQL Server 2022 Enterprise
Microsoft SQL Server 2022 Standard
Microsoft SQL Server 2022 Web
Microsoft SQL Server 2019 Enterprise
Microsoft SQL Server 2019 Standard
Microsoft SQL Server 2019 Web
Microsoft SQL Server 2017 Enterprise
Microsoft SQL Server 2017 Standard
Microsoft SQL Server 2017 Web
Microsoft SQL Server 2017 Express
Microsoft SQL Server 2016 Enterprise
Microsoft SQL Server 2016 Standard
Microsoft SQL Server 2016 Web

授權

版本 執照類型 授權
Microsoft SQL Server 2022 Enterprise 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2022-enterprise
Microsoft SQL Server 2022 Standard 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2022-standard
Microsoft SQL Server 2022 Web 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2022-web
Microsoft SQL Server 2019 Enterprise 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2019-enterprise
Microsoft SQL Server 2019 Standard 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2019-standard
Microsoft SQL Server 2019 Web 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2019-web
Microsoft SQL Server 2017 Enterprise 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2017-enterprise
Microsoft SQL Server 2017 Standard 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2017-standard
Microsoft SQL Server 2017 Web 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2017-web
Microsoft SQL Server 2017 Express 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2017-express
Microsoft SQL Server 2016 Enterprise 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2016-enterprise
Microsoft SQL Server 2016 Standard 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2016-standard
Microsoft SQL Server 2016 Web 隨選 https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2016-web
Microsoft SQL Server 2014 Enterprise EOS https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2014-enterprise
Microsoft SQL Server 2014 Standard EOS https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2014-standard
Microsoft SQL Server 2014 Web EOS https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2014-web
Microsoft SQL Server 2012 Enterprise EOS https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2012-enterprise
Microsoft SQL Server 2012 Standard EOS https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2012-standard
Microsoft SQL Server 2012 Web EOS https://www.googleapis.com/compute/v1/projects/windows-sql-cloud/global/licenses/sql-server-2012-web

SUSE Linux Enterprise Server (SLES)

SUSE Linux Enterprise Server (SLES) 是一個多功能伺服器作業系統,可在混合 IT 環境中部署高可用性企業級 IT 服務,且具有改善效能及降低風險的優勢。

SUSE 會建構並支援可用於 Compute Engine 的 SUSE 映像檔。SUSE 映像檔為進階資源,可能會產生額外的使用費。

如要查看在 Compute Engine 上執行 SLES 時的常見問題清單,請參閱 SUSE Linux Enterprise Server 常見問題

自動更新

這個作業系統預設不會安裝更新。如要進一步瞭解如何設定 SLES 的自動更新,請參閱 SUSE 說明文件

圖片設定

SLES 和 SLES for SAP 映像檔是由 SUSE 建構及維護。SLES 映像檔是使用版本中反映的最新 SLES 套件建構而成。

Compute Engine 提供的 SUSE 映像檔與標準 SUSE 映像檔在設定方面有下列差異:

帳戶設定

  • 沒有設定密碼的本機使用者。

網路設定

  • 已啟用 IPv6。
  • 安全殼層 (SSH) 伺服器設定已設定為停用密碼驗證。
  • SLES 不會使用預測性網路介面命名。在 grub 核心指令列引數中,net.ifnames=0 已設定。因此,網路介面會使用傳統的 ethN 命名方式,且預設介面永遠為 eth0
  • 以 Google 提供的 Linux 映像檔為基礎的 VM 會從已連結的 VPC MTU 取得介面 MTU。以自訂映像檔或舊版 Linux 映像檔為基礎的 VM 可能會硬式編碼 MTU。在這種情況下,如果您想將介面連線至 1460 以外的 MTU 網路,就必須自行變更設定。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

套件系統和存放區設定

儲存空間設定

  • 圖片預設大小為 10 GB。
  • 分區表是 GPT,且有 EFI 分區可支援在 UEFI 上啟動。另外還有一個 MBR 啟動區塊,可支援 BIOS。
  • 由於 Compute Engine 上沒有軟碟控制器,因此已停用軟碟模組。

時間設定

  • NTP 伺服器已設定為使用 Compute Engine 中繼資料伺服器。

一般資訊

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
SLES 15 SP6 suse-cloud sles-15 sles-15-arm64 所有 (A4 除外) 正式發布版 待定
SLES 15 SP5 suse-byos-cloud 不適用 不適用 所有 (A4 除外) BYOS w/ LTSS 2027 年 12 月
SLES 15 SP4 suse-byos-cloud 不適用 不適用 所有 (A4 除外) BYOS w/ LTSS 2026 年 12 月
SLES 15 SP3 suse-byos-cloud 不適用 不適用 所有機型 (A4、T2A、C3-metal、C4A、X4 除外) BYOS w/ LTSS 2025 年 12 月
SLES 15 SP2 suse-byos-cloud 不適用 不適用 所有機型 (A4、T2A、C3-metal、C4A、X4 除外) BYOS w/ LTSS 2024 年 12 月
SLES 15 SP1 不適用 不適用 不適用 不適用 EOS 2024 年 1 月
SLES 12 SP5 suse-cloud sles-12 不適用 所有機型 (T2A、C3-metal、C4A、G2、X4 除外) 產品停產 (EOL) 2024 年 10 月
SLES 12 SP4 不適用 不適用 不適用 不適用 EOS 2023 年 6 月
SLES 15 SP6 for SAP suse-sap-cloud sles-15-sp6-sap 不適用 所有機型 (A4、T2A、C4A 除外) 正式發布版 待定
SLES 15 SP5 for SAP suse-sap-cloud sles-15-sp5-sap 不適用 所有機型 (A4、T2A、C4A 除外) 正式發布版 2027 年 12 月
SLES 15 SP4 for SAP suse-sap-cloud sles-15-sp4-sap 不適用 所有機型 (A4、T2A、C4A 除外) 正式發布版 2026 年 12 月
SLES 15 SP3 for SAP suse-sap-cloud sles-15-sp3-sap 不適用 所有機型 (A4、T2A、C4A、C3-metal、X4 除外) 正式發布版 2025 年 12 月
SLES 15 SP2 for SAP suse-sap-cloud sles-15-sp2-sap 不適用 所有機型 (A4、T2A、C4A、C3-metal、X4 除外) 正式發布版 2024 年 12 月
SLES 15 SP1 for SAP 不適用 不適用 不適用 不適用 EOS 2024 年 1 月
SLES 12 SP5 for SAP suse-sap-cloud sles-12-sp5-sap 不適用 所有機型 (T2A、C4A、C3-metal、A4、G2、X4 除外) 正式發布版 2027 年 10 月
SLES 12 SP4 for SAP 不適用 不適用 不適用 不適用 EOS 2023 年 6 月

*BYOS 搭配 LTSS:這個作業系統的支援服務僅提供長期服務包支援 (LTSS),您必須使用 SUSE 的 BYOS 授權才能取得這項服務。

ESPOSExtended Service Pack Overlay Support 映像檔會在 EOS 日期前 6 個月設定為已淘汰。您仍可使用已淘汰的圖片。

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
SLES 15 SP6
SLES 15 SP5
SLES 15 SP4
SLES 15 SP3
SLES 15 SP2
SLES 15 SP1
SLES 12 SP5
SLES 12 SP4
SLES 15 SP6 for SAP
SLES 15 SP5 for SAP
SLES 15 SP4 for SAP
SLES 15 SP3 for SAP
SLES 15 SP2 for SAP
SLES 15 SP1 for SAP
SLES 12 SP5 for SAP
SLES 12 SP4 for SAP

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
SLES 15 SP6 *
SLES 15 SP5 *
SLES 15 SP4 *
SLES 15 SP3
SLES 15 SP2
SLES 15 SP1
SLES 12 SP5
SLES 12 SP4
SLES 15 SP6 for SAP
SLES 15 SP5 for SAP
SLES 15 SP4 for SAP
SLES 15 SP3 for SAP
SLES 15 SP2 for SAP
SLES 15 SP1 for SAP
SLES 12 SP5 for SAP
SLES 12 SP4 for SAP

* 這個 OS 映像檔不支援 ARM64 上的安全啟動功能。
這個 OS 映像檔不支援 ARM64 上的 Intel TDX。

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
SLES 15 SP6 *
SLES 15 SP5 *
SLES 15 SP4 *
SLES 15 SP3 *
SLES 15 SP2 *
SLES 15 SP1 *
SLES 12 SP5 *
SLES 12 SP4 *
SLES 15 SP6 for SAP *
SLES 15 SP5 for SAP *
SLES 15 SP4 for SAP *
SLES 15 SP3 for SAP *
SLES 15 SP2 for SAP *
SLES 15 SP1 for SAP *
SLES 12 SP5 for SAP *
SLES 12 SP4 for SAP *

*這個 OS 映像檔不支援自訂主機名稱。詳情請參閱「自訂主機名稱」。

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
SLES 15 SP6
SLES 15 SP5
SLES 15 SP4
SLES 15 SP3
SLES 15 SP2 *
SLES 15 SP1
SLES 12 SP5
SLES 12 SP4
SLES 15 SP6 for SAP
SLES 15 SP5 for SAP
SLES 15 SP4 for SAP
SLES 15 SP3 for SAP
SLES 15 SP2 for SAP *
SLES 15 SP1 for SAP
SLES 12 SP5 for SAP
SLES 12 SP4 for SAP

*您可以更新 gVNIC 驅動程式至最新版本,啟用 200 Gbps 的網路輸出頻寬。詳情請參閱「設定各 VM 的 Tier_1 網路效能」一文的「要求和限制」一節。

VirtIO 完全支援,但需要更新的驅動程式才能搭配 gVNIC 使用。詳情請參閱「超大相框」。

#僅適用於特定機器系列。

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
SLES 15 SP6
SLES 15 SP5
SLES 15 SP4
SLES 15 SP3
SLES 15 SP2
SLES 15 SP1 EOS EOS EOS EOS EOS EOS
SLES 12 SP5 EOS EOS EOS EOS EOS EOS
SLES 12 SP4 EOS EOS EOS EOS EOS EOS
SLES 15 SP6 for SAP
SLES 15 SP5 for SAP
SLES 15 SP4 for SAP
SLES 15 SP3 for SAP
SLES 15 SP2 for SAP
SLES 15 SP1 for SAP EOS EOS EOS EOS EOS EOS
SLES 12 SP5 for SAP
SLES 12 SP4 for SAP EOS EOS EOS EOS EOS EOS

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch* 安全漏洞報告
SLES 15 SP6
SLES 15 SP5
SLES 15 SP4
SLES 15 SP3
SLES 15 SP2
SLES 15 SP1
SLES 12 SP5
SLES 12 SP4
SLES 15 SP6 for SAP
SLES 15 SP5 for SAP
SLES 15 SP4 for SAP
SLES 15 SP3 for SAP
SLES 15 SP2 for SAP
SLES 15 SP1 for SAP
SLES 12 SP5 for SAP
SLES 12 SP4 for SAP

*修補程式法規遵循報告:您可以針對所有 SUSE Enterprise Linux 伺服器 (SLES) 作業系統 (包括 SLES for SAP 和 openSuse) 執行修補程式工作,並建立修補程式部署。不過,系統不支援修補程式符合性回報,這些 VM 會顯示在「Patch」資訊主頁的 No data 類別中。

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
SLES 15 SP6
SLES 15 SP5
SLES 15 SP4
SLES 15 SP3
SLES 15 SP2
SLES 15 SP1
SLES 12 SP5
SLES 12 SP4
SLES 15 SP6 for SAP
SLES 15 SP5 for SAP
SLES 15 SP4 for SAP
SLES 15 SP3 for SAP
SLES 15 SP2 for SAP
SLES 15 SP1 for SAP
SLES 12 SP5 for SAP
SLES 12 SP4 for SAP

授權

OS 版本 執照類型 授權網址
SLES 15 SP6
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-15-byos
SLES 15 SP5
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-15-byos
SLES 15 SP4
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-15-byos
SLES 15 SP3
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-15-byos
SLES 15 SP2
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-15-byos
SLES 15 SP1
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-15-byos
SLES 12 SP5
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-cloud/global/licenses/sles-12
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-12-byos
SLES 12 SP4
  • EOS
  • 不適用
SLES 15 SP6 for SAP
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-sap-cloud/global/licenses/sles-sap-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-sap-15-byos
SLES 15 SP5 for SAP
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-sap-cloud/global/licenses/sles-sap-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-sap-15-byos
SLES 15 SP4 for SAP
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-sap-cloud/global/licenses/sles-sap-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-sap-15-byos
SLES 15 SP3 for SAP
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-sap-cloud/global/licenses/sles-sap-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-sap-15-byos
SLES 15 SP2 for SAP
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-sap-cloud/global/licenses/sles-sap-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-sap-15-byos
SLES 15 SP1 for SAP
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-sap-cloud/global/licenses/sles-sap-15
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-sap-15-byos
SLES 12 SP5 for SAP
  • 隨選 (預設)
  • BYOS
  • https://www.googleapis.com/compute/v1/projects/suse-sap-cloud/global/licenses/sles-sap-12
  • https://www.googleapis.com/compute/v1/projects/suse-byos-cloud/global/licenses/sles-sap-12-byos
SLES 12 SP4 for SAP
  • EOS
  • 不適用

*BYOS 搭配 LTSS:這個作業系統的支援服務僅提供長期服務包支援 (LTSS),您必須使用 SUSE 的 BYOS 授權才能取得這項服務。

Ubuntu LTS

Ubuntu 是 Canonical 開發及支援的免費作業系統。

Ubuntu 長期支援 (LTS) 映像檔可在發布日期之後的五年內接收錯誤修正與安全性更新。LTS 映像檔可在執行個體上執行數年,不需要升級至較新版本。

如同 Ubuntu LTS 映像檔,同樣也支援的還有 Ubuntu 最低版本映像檔。

一般 (非 LTS) Ubuntu 映像檔的支援時間是從發布日期算起 9 個月。如要繼續使用一般 Ubuntu 映像檔,您必須在支援週期結束之後,升級至下一個一般 Ubuntu 版本或 LTS 版本,才能接收修正與更新。除非您需要 LTS 版本中尚未包含的功能或軟體套件,否則 Compute Engine 建議使用 Ubuntu LTS 映像檔。如果您的執行個體執行的是不再支援的 Ubuntu 版本,請升級至支援的 Ubuntu 版本

自動更新

根據預設,這個作業系統會設定為使用 Ubuntu AutomaticSecurityUpdates 工具安裝安全性更新。更新內容的行為如下:

  • AutomaticSecurityUpdates 工具不會在作業系統主要版本之間升級 VM。
  • AutomaticSecurityUpdates 工具已設定為只自動套用從 Ubuntu 安全性存放區取得的更新。
  • 部分更新需要重新啟動才能生效。系統不會自動重新啟動。
圖片設定

Ubuntu 映像檔是由 Canonical 建構及維護。Ubuntu 映像檔一律會使用最新的 Ubuntu 套件建構,這些套件反映的是最新的 Ubuntu 版本。

Compute Engine 提供的 Ubuntu 映像檔與標準 Ubuntu 映像檔在設定方面有下列差異:

帳戶設定

  • 沒有設定密碼的本機使用者。

Bootloader 設定

  • Ubuntu 會使用 cloud-init 執行一些啟動時間初始化作業。cloud.cfg 檔案是針對 Compute Engine 設定,且只會啟用所用 cloud-init 模組。
  • 如要強制加快開機時間,請將 grub 設定中的開機逾時設為 0
  • 如要允許使用 SCSI 區塊多佇列,請啟用 scsi_mod.use_blk_mq

網路設定

  • 已啟用 IPv6。
  • 安全殼層 (SSH) 伺服器設定已設定為停用密碼驗證。
  • 為避免 MAC 位址持續存在,已移除 /etc/udev/rules.d/70-persistent-net.rules

套件系統和存放區設定

  • Compute Engine 套件的訪客環境會從 Ubuntu 提供的套件安裝。
  • 對於 Ubuntu 18.04 以上版本,Google Cloud CLI 會以 Snap 套件安裝及維護。
  • APT 來源已設定為透過 cloud-init 使用 Ubuntu Compute Engine 鏡像。
  • 已安裝並設定 Unattended-upgrades 套件,可每天下載並安裝 Debian 安全性更新。您可以藉由變更 /etc/apt/apt.conf.d/50unattended-upgrades/etc/apt/apt.conf.d/02periodic 中的值來設定或停用這個功能。
  • 使用 linux-image-gcp 核心,而非通用的 Ubuntu 核心。 Google Cloud 核心會反映 Ubuntu LTS 最新的滾動 HWE 核心

儲存空間設定

  • 圖片預設大小為 10 GB。
  • 分區表是 GPT,且有 EFI 分區可支援在 UEFI 上啟動。另外還有一個 MBR 啟動區塊,可支援 BIOS。
  • 由於 Compute Engine 上沒有軟碟控制器,因此已停用軟碟模組。

時間設定

  • NTP 伺服器已設定為使用 Compute Engine 中繼資料伺服器。

一般資訊

如要瞭解非 LTS 版 Ubuntu 版本,請參閱 Ubuntu 版本維基網頁

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
Ubuntu 24.04 LTS ubuntu-os-cloud ubuntu-2404-lts-amd64 ubuntu-2404-lts-arm64 所有 (A4 除外) 正式發布版 2029 年 6 月 (ESM:2034 年 4 月)
Ubuntu 24.04 LTS Accelerated ubuntu-os-accelerator-images ubuntu-accelerator-2404-amd64-with-nvidia-550 不適用 全部 正式發布版 2029 年 6 月 (ESM:2034 年 4 月)
Ubuntu 22.04 LTS ubuntu-os-cloud ubuntu-2204-lts ubuntu-2204-lts-arm64 所有 (A4 除外) 正式發布版 2027 年 4 月 (ESM:2032 年 4 月)
Ubuntu 22.04 LTS Accelerated ubuntu-os-accelerator-images ubuntu-accelerator-2204-amd64-with-nvidia-550 不適用 全部 正式發布版 2027 年 4 月 (ESM:2032 年 4 月)
Ubuntu 20.04 LTS ubuntu-os-cloud ubuntu-2004-lts ubuntu-2004-lts-arm64 全部 正式發布版 2025 年 5 月 (ESM 2030 年 5 月)
Ubuntu 18.04 LTS EOS EOS EOS EOS Ubuntu ESM* / Ubuntu Pro 2023 年 5 月 (ESM:2028 年 4 月)
Ubuntu 16.04 LTS EOS EOS EOS EOS Ubuntu ESM* / Ubuntu Pro 2021 年 4 月 (ESM 2026 年 4 月)
Ubuntu 14.04 LTS EOS EOS EOS EOS EOS 2024 年 4 月

* Ubuntu ESM:您可以將現有的 ESM 訂閱套用至 Google 提供的 OS 映像檔。 Google Cloud 提供的圖片含有強化功能,如果您自備 OS 映像檔,可能就不會包含這些功能。
Ubuntu Pro:如要繼續使用 Ubuntu 16.04 和 18.04 LTS 映像檔,請從 Ubuntu 升級至 Ubuntu Pro

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
Ubuntu 24.04 LTS
Ubuntu 24.04 LTS Accelerated
Ubuntu 22.04 LTS
Ubuntu 22.04 LTS Accelerated
Ubuntu 20.04 LTS
Ubuntu 18.04 LTS
Ubuntu 16.04 LTS
Ubuntu 14.04 LTS

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
Ubuntu 24.04 LTS
Ubuntu 24.04 LTS Accelerated
Ubuntu 22.04 LTS
Ubuntu 22.04 LTS Accelerated
Ubuntu 20.04 LTS
Ubuntu 18.04 LTS
Ubuntu 16.04 LTS
Ubuntu 14.04 LTS

* 這個 OS 映像檔不支援 ARM64 的 Intel TDX。

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
Ubuntu 24.04 LTS *
Ubuntu 24.04 LTS Accelerated *
Ubuntu 22.04 LTS *
Ubuntu 22.04 LTS Accelerated *
Ubuntu 20.04 LTS *
Ubuntu 18.04 LTS *
Ubuntu 16.04 LTS *
Ubuntu 14.04 LTS *

* 這個 OS 映像檔不支援自訂主機名稱。詳情請參閱「自訂主機名稱」。

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
Ubuntu 24.04 LTS
Ubuntu 24.04 LTS Accelerated
Ubuntu 22.04 LTS
Ubuntu 22.04 LTS Accelerated
Ubuntu 20.04 LTS
Ubuntu 18.04 LTS
Ubuntu 16.04 LTS *
Ubuntu 14.04 LTS

* 您可以更新 gVNIC 驅動程式至最新版本,啟用 200 Gbps 的網路傳出頻寬。詳情請參閱「設定各 VM 的 Tier_1 網路效能」一文的「需求和限制」一節。
VirtIO 完全支援,但需要更新版驅動程式才能與 gVNIC 搭配使用。詳情請參閱超大相框
# 僅適用於特定機器系列。

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

Ubuntu 22.04 和 24.04 LTS Accelerated OS 映像檔經過最佳化,可支援人工智慧 (AI) 和機器學習 (ML) 工作負載。如要進一步瞭解這些映像如何針對這些工作負載進行最佳化,請參閱 AI 超級電腦說明文件中的「作業系統」。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
Ubuntu 24.04 LTS
Ubuntu 24.04 LTS Accelerated
Ubuntu 22.04 LTS
Ubuntu 22.04 LTS Accelerated
Ubuntu 20.04 LTS
Ubuntu 18.04 LTS EOS EOS EOS EOS EOS EOS
Ubuntu 16.04 LTS EOS EOS EOS EOS EOS EOS
Ubuntu 14.04 LTS EOS EOS EOS EOS EOS EOS

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
Ubuntu 24.04 LTS
Ubuntu 24.04 LTS Accelerated
Ubuntu 22.04 LTS
Ubuntu 22.04 LTS Accelerated
Ubuntu 20.04 LTS
Ubuntu 18.04 LTS
Ubuntu 16.04 LTS
Ubuntu 14.04 LTS

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
Ubuntu 24.04 LTS
Ubuntu 24.04 LTS Accelerated
Ubuntu 22.04 LTS
Ubuntu 22.04 LTS Accelerated
Ubuntu 20.04 LTS
Ubuntu 18.04 LTS
Ubuntu 16.04 LTS
Ubuntu 14.04 LTS

授權

OS 版本 執照類型 授權網址
Ubuntu 24.04 LTS 免費 https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/licenses/ubuntu-2404-lts
Ubuntu 24.04 LTS Accelerated 免費 https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/licenses/ubuntu-2404-lts
Ubuntu 22.04 LTS 免費 https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/licenses/ubuntu-2204-lts
Ubuntu 22.04 LTS Accelerated 免費 https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/licenses/ubuntu-2204-lts
Ubuntu 20.04 LTS 免費 https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/licenses/ubuntu-2004-lts
Ubuntu 18.04 LTS Ubuntu ESM* / Ubuntu Pro EOS
Ubuntu 16.04 LTS Ubuntu ESM* / Ubuntu Pro EOS
Ubuntu 14.04 LTS Ubuntu ESM* EOS

* Ubuntu ESM:您可以將現有的 ESM 訂閱套用至 Google 提供的 OS 映像檔。 Google Cloud 提供的圖片含有強化功能,如果您自備 OS 映像檔,可能就不會包含這些功能。
Ubuntu Pro:如要繼續使用 Ubuntu 16.04 和 18.04 LTS 映像檔,您必須從 Ubuntu 升級至 Ubuntu Pro

Ubuntu Pro

Ubuntu Pro 是 Canonical 開發及支援的付費作業系統。

在 Compute Engine 上執行的 Ubuntu Pro 映像檔可在發布日期之後的 10 年內接收錯誤修正與安全性更新,並可存取 Ubuntu ESM。Ubuntu 16.04 的安全性更新和 ESM 可使用 8 年。

Ubuntu Pro 映像檔為進階資源,會產生額外的使用費用。如要瞭解 Ubuntu Pro 授權費用,請參閱 Ubuntu Pro 定價頁面。在 Compute Engine 上執行的 Ubuntu Pro 映像檔具有隨選授權,不需要額外訂閱 Ubuntu Pro。

如要查看在 Compute Engine 上執行 Ubuntu Pro 時的常見問題清單,請參閱 Ubuntu Pro 常見問題

自動更新

根據預設,這個作業系統會設定為使用 Ubuntu AutomaticSecurityUpdates 工具安裝安全性更新。更新內容的行為如下:

  • AutomaticSecurityUpdates 工具不會在作業系統主要版本之間升級 VM。
  • AutomaticSecurityUpdates 工具已設定為只自動套用從 Ubuntu 安全性存放區取得的更新。
  • 部分更新需要重新啟動才能生效。系統不會自動重新啟動。
圖片設定

Ubuntu Pro 映像檔是由 Canonical 建構及維護。Ubuntu Pro 映像檔一律會使用最新的 Ubuntu 套件建構,這些套件反映的是最新的 Ubuntu 版本。

Compute Engine 提供的 Ubuntu Pro 映像檔與標準 Ubuntu 映像檔在設定方面有下列差異:

帳戶設定

  • 沒有設定密碼的本機使用者。

Bootloader 設定

  • Ubuntu 會使用 cloud-init 執行一些啟動時間初始化作業。cloud.cfg 檔案是針對 Compute Engine 設定,且只會啟用所用 cloud-init 模組。
  • 如要強制加快開機時間,請將 grub 設定中的開機逾時設為 0
  • 如要允許使用 SCSI 區塊多佇列,請啟用 scsi_mod.use_blk_mq

網路設定

  • 已啟用 IPv6。
  • 安全殼層 (SSH) 伺服器設定已設定為停用密碼驗證。
  • 為避免 MAC 位址持續存在,已移除 /etc/udev/rules.d/70-persistent-net.rules

套件系統和存放區設定

  • Compute Engine 套件的訪客環境會從 Ubuntu 提供的套件安裝。
  • Google Cloud CLI 會以 Snap 套件形式安裝及維護。
  • APT 來源已設定為透過 cloud-init 使用 Ubuntu Compute Engine 鏡像。
  • 已安裝並設定 Unattended-upgrades 套件,可每天下載並安裝 Debian 安全性更新。您可以藉由變更 /etc/apt/apt.conf.d/50unattended-upgrades/etc/apt/apt.conf.d/02periodic 中的值來設定或停用這個功能。
  • 使用 linux-image-gcp 核心,而非通用的 Ubuntu 核心。 Google Cloud 核心會反映 Ubuntu LTS 最新的滾動 HWE 核心

儲存空間設定

  • 圖片預設大小為 10 GB。
  • 分區表是 GPT,且有 EFI 分區可支援在 UEFI 上啟動。另外還有一個 MBR 啟動區塊,可支援 BIOS。
  • Ubuntu 會使用 cloud-init 執行一些啟動時間初始化作業。cloud.cfg 檔案會為 Compute Engine 進行設定,並只啟用所用 cloud-init 模組。
  • 沒有設定密碼的本機使用者。
  • NTP 伺服器已設定為使用 Compute Engine 中繼資料伺服器。
  • 由於 Compute Engine 上沒有軟碟控制器,因此已停用軟碟模組。

時間設定

  • NTP 伺服器已設定為使用 Compute Engine 中繼資料伺服器。

一般資訊

如要瞭解如何從 Ubuntu LTS 升級至 Ubuntu Pro,請參閱「從 Ubuntu 升級至 Ubuntu Pro」。

OS 版本 映像檔專案 x86 映像檔系列 Arm 映像檔系列 機器系列 生命週期階段 EOS 和圖片淘汰日期
Ubuntu Pro 24.04 LTS ubuntu-os-pro-cloud ubuntu-pro-2404-lts-amd64 ubuntu-pro-2404-lts-arm64 所有 (A4 除外) 正式發布版 2034 年 4 月
Ubuntu Pro 22.04 LTS ubuntu-os-pro-cloud ubuntu-pro-2204-lts ubuntu-pro-2204-lts-arm64 所有 (A4 除外) 正式發布版 2032 年 4 月
Ubuntu Pro 20.04 LTS ubuntu-os-pro-cloud ubuntu-pro-2004-lts ubuntu-pro-2004-lts-arm64 所有 (A4 除外) 正式發布版 2030 年 4 月
Ubuntu Pro 18.04 LTS ubuntu-os-pro-cloud ubuntu-pro-1804-lts ubuntu-pro-1804-lts-arm64 所有機型 (A4、C4A、X4、C3-metal 除外) 正式發布版 2028 年 4 月
Ubuntu Pro 16.04 LTS ubuntu-os-pro-cloud ubuntu-pro-1604-lts 不適用 所有機型 (A4、T2A、C4A、X4、C3-metal 除外) 正式發布版 2026 年 4 月

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
Ubuntu Pro 24.04 LTS
Ubuntu Pro 22.04 LTS
Ubuntu Pro 20.04 LTS
Ubuntu Pro 18.04 LTS
Ubuntu Pro 16.04 LTS *

*這個 OS 映像檔支援 NVMe,但不支援 NVMe 磁碟的熱插拔功能。熱插是指在系統執行期間新增或移除裝置的程序。

安全性功能

OS 版本 受防護的 VM 機密 VM SEV 機密 VM SEV-SNP 機密 VM Intel TDX
Ubuntu Pro 24.04 LTS
Ubuntu Pro 22.04 LTS
Ubuntu Pro 20.04 LTS
Ubuntu Pro 18.04 LTS
Ubuntu Pro 16.04 LTS

* 這個 OS 映像檔不支援 ARM64 的 Intel TDX。

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
Ubuntu Pro 24.04 LTS *
Ubuntu Pro 22.04 LTS *
Ubuntu Pro 20.04 LTS *
Ubuntu Pro 18.04 LTS *
Ubuntu Pro 16.04 LTS *

* 這個 OS 映像檔不支援自訂主機名稱。詳情請參閱「自訂主機名稱」。

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
Ubuntu Pro 24.04 LTS
Ubuntu Pro 22.04 LTS
Ubuntu Pro 20.04 LTS
Ubuntu Pro 18.04 LTS
Ubuntu Pro 16.04 LTS *

* 您可以更新 gVNIC 驅動程式至最新版本,啟用 200 Gbps 的網路傳出頻寬。詳情請參閱「設定各 VM 的 Tier_1 網路效能」一文的「需求和限制」一節。
VirtIO 完全支援,但需要更新版驅動程式才能與 gVNIC 搭配使用。詳情請參閱超大相框
# 僅適用於特定機器系列。

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
Ubuntu Pro 24.04 LTS
Ubuntu Pro 22.04 LTS
Ubuntu Pro 20.04 LTS
Ubuntu Pro 18.04 LTS
Ubuntu Pro 16.04 LTS

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
Ubuntu Pro 24.04 LTS
Ubuntu Pro 22.04 LTS
Ubuntu Pro 20.04 LTS
Ubuntu Pro 18.04 LTS
Ubuntu Pro 16.04 LTS

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備 匯入機器映像檔
Ubuntu Pro 24.04 LTS
Ubuntu Pro 22.04 LTS
Ubuntu Pro 20.04 LTS
Ubuntu Pro 18.04 LTS
Ubuntu Pro 16.04 LTS

授權

OS 版本 執照類型 授權網址
Ubuntu Pro 24.04 LTS 隨選 https://www.googleapis.com/compute/v1/projects/ubuntu-os-pro-cloud/global/licenses/ubuntu-pro-2404-lts
Ubuntu Pro 22.04 LTS 隨選 https://www.googleapis.com/compute/v1/projects/ubuntu-os-pro-cloud/global/licenses/ubuntu-pro-2204-lts
Ubuntu Pro 20.04 LTS 隨選 https://www.googleapis.com/compute/v1/projects/ubuntu-os-pro-cloud/global/licenses/ubuntu-pro-2004-lts
Ubuntu Pro 18.04 LTS 隨選 https://www.googleapis.com/compute/v1/projects/ubuntu-os-pro-cloud/global/licenses/ubuntu-pro-1804-lts
Ubuntu Pro 16.04 LTS 隨選 https://www.googleapis.com/compute/v1/projects/ubuntu-os-pro-cloud/global/licenses/ubuntu-pro-1604-lts

Windows 用戶端

Google 不提供 Windows 用戶端映像檔。您必須自備 Windows 用戶端映像檔。

Windows 用戶端映像檔無法與裸機執行個體搭配使用。此外,Windows 用戶端映像檔不支援 C4A 機器系列T2A 機器系列 VM。

自動更新

Windows 用戶端更新設定會決定 Windows 用戶端版本如何使用 Windows 更新。如要設定 Windows 自動更新,請參閱「 設定自動更新」。

儲存空間

Google 不會在任何用戶端映像檔上測試 VSS 代理程式

一般資訊

OS 版本 生命週期階段* EOS 日期
Windows 11 23h2 x64** 正式發布版 2026 年 11 月
Windows 11 22h2 x64** 正式發布版 2025 年 10 月
Windows 11 21h2 x64** EOS 2024 年 10 月
Windows 10 22h2 x64 正式發布版 2025 年 10 月
Windows 10 22h2 x86 正式發布版 2025 年 10 月
Windows 10 21H2 x64 EOS 2024 年 6 月
Windows 10 21h2 x86 EOS 2024 年 6 月
Windows 8.1 x64 EOS Jan 2023
Windows 8.1 x86 EOS Jan 2023
Windows 7 x64 EOS 2020 年 1 月
Windows 7 x86 EOS 2020 年 1 月

*生命週期階段: Google Cloud 支援服務通常會與延長支援服務結束日期一致。如要進一步瞭解下表中各作業系統的支援終止 (EOS) 日期,請參閱 Microsoft 生命週期政策

Windows 7 技術支援結束時間:如要瞭解 Windows 7 的延長安全性更新 (ESU),請參閱 Microsoft 延長安全性更新生命週期常見問題

**Windows 11:必須啟用 vTPM 和安全啟動功能。由於 CPU 需求,不建議使用 N1 和 M1 單一租戶節點類型

介面

OS 版本 SCSI NVMe Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
Windows 11 23h2 x64
Windows 11 22h2 x64
Windows 11 21h2 x64
Windows 10 22h2 x64
Windows 10 22h2 x86
Windows 10 21H2 x64
Windows 10 21h2 x86
Windows 8.1 x64
Windows 8.1 x86
Windows 7 x64
Windows 7 x86

安全性功能

OS 版本 受防護的 VM 機密 VM 支援
Windows 11 23h2 x64 **
Windows 11 22h2 x64 **
Windows 11 21h2 x64 **
Windows 10 22h2 x64
Windows 10 22h2 x86
Windows 10 21H2 x64
Windows 10 21h2 x86
Windows 8.1 x64
Windows 8.1 x86
Windows 7 x64
Windows 7 x86

**Windows 11:必須啟用 vTPM 和安全啟動功能。由於 CPU 需求,不建議使用 N1 和 M1 單一租戶節點類型

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
Windows 11 23h2 x64 *
Windows 11 22h2 x64 *
Windows 11 21h2 x64 *
Windows 10 22h2 x64 *
Windows 10 22h2 x86 *
Windows 10 21H2 x64 *
Windows 10 21h2 x86 *
Windows 8.1 x64
Windows 8.1 x86
Windows 7 x64
Windows 7 x86

*訪客環境:您可以手動安裝此作業系統的訪客環境。如要安裝訪客環境,請參閱「安裝訪客環境」一文。

gcloud CLI:您可以手動安裝 gcloud CLI。如要安裝 gcloud CLI,請參閱「安裝 gcloud CLI」。

暫停和繼續執行:對於此作業系統,部分電源政策設定與暫停和繼續執行不相容。詳情請參閱 排解 VM 暫停問題

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
Windows 11 23h2 x64 * *
Windows 11 22h2 x64 * *
Windows 11 21h2 x64 * *
Windows 10 22h2 x64 * *
Windows 10 22h2 x86 *
Windows 10 21H2 x64 * *
Windows 10 21h2 x86 *
Windows 8.1 x64
Windows 8.1 x86
Windows 7 x64 EOS EOS EOS
Windows 7 x86 EOS EOS EOS

*這個 OS 映像檔提供的 gVNIC 驅動程式,可提供最高 50 Gbps 的網路頻寬。如要取得最高 200 Gbps 的網路頻寬,您必須使用更新版的 gVNIC 驅動程式。詳情請參閱「更新為最新的 Windows 版 gVNIC 驅動程式」。

如要在 Windows 上搭配 gVNIC 使用 Jumbo Frames,您可以使用更新版的 gVNIC 驅動程式。詳情請參閱「更新為最新的 Windows 版 gVNIC 驅動程式」。

#僅適用於支援的機器系列

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
Windows 11 23h2 x64
Windows 11 22h2 x64
Windows 11 21h2 x64 EOS EOS EOS EOS EOS EOS
Windows 10 22h2 x64
Windows 10 22h2 x86
Windows 10 21H2 x64 EOS EOS EOS EOS EOS EOS
Windows 10 21h2 x86 EOS EOS EOS EOS EOS EOS
Windows 8.1 x64 EOS EOS EOS EOS EOS EOS
Windows 8.1 x86 EOS EOS EOS EOS EOS EOS
Windows 7 x64 EOS EOS EOS EOS EOS EOS
Windows 7 x86 EOS EOS EOS EOS EOS EOS

*這個 Windows 用戶端版本不支援 NVIDIA V100 GPU。

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
Windows 11 23h2 x64
Windows 11 22h2 x64
Windows 11 21h2 x64
Windows 10 22h2 x64
Windows 10 22h2 x86
Windows 10 21H2 x64
Windows 10 21h2 x86
Windows 8.1 x64
Windows 8.1 x86
Windows 7 x64
Windows 7 x86

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 時的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備
Windows 11 23h2 x64
Windows 11 22h2 x64
Windows 11 21h2 x64
Windows 10 22h2 x64
Windows 10 22h2 x86
Windows 10 21H2 x64
Windows 10 21h2 x86
Windows 8.1 x64
Windows 8.1 x86
Windows 7 x64
Windows 7 x86

授權

OS 版本 執照類型 授權網址
Windows 11 23h2 x64 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-11-x64-byol
Windows 11 22h2 x64 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-11-x64-byol
Windows 11 21h2 x64 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-11-x64-byol
Windows 10 22h2 x64 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-10-x64-byol
Windows 10 22h2 x86 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-10-x86-byol
Windows 10 21H2 x64 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-10-x64-byol
Windows 10 21h2 x86 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-10-x86-byol
Windows 8.1 x64 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-8-x64-byol
Windows 8.1 x86 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-8-x86-byol
Windows 7 x64 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-7-x64-byol
Windows 7 x86 BYOL https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-7-x86-byol

Windows Server

Windows Server 映像檔為進階資源,需支付額外費用才能使用。 Google Cloud 會建構並支援可用於 Compute Engine 的 Windows Server 映像檔。

除了 Windows Server 2012、2008 和 2003 之外,Compute Engine 中的 Windows Server 映像檔都具有隨選授權,因此不需要額外的 Windows 授權。

如要使用自備的 Windows 授權 (BYOL),您必須匯入現有映像檔,或建立自訂映像檔

自動更新

根據預設,這項作業系統會針對 Microsoft 更新設定為「自動下載並排定安裝時間」。 如要設定 Windows Server 自動更新,請參閱「 設定自動更新」。

圖片設定

Windows Server 映像檔是使用最新更新內容建構,但與標準 Windows Server 映像檔的設定有下列差異:

帳戶設定

  • 已停用管理員帳戶。
  • 使用者密碼至少要有 8 個半形字元。
  • 已啟用 LocalAccountTokenFilterPolicy 屬性,以授予檔案共用區的管理存取權。

啟用設定

  • 如果沒有連到 kms.windows.googlecloud.com 的網路連線,就無法啟用 Windows Server 映像檔,而且若是未在 30 天內完成驗證,映像檔會停止運作。請務必 [允許在您的虛擬私有雲網路中存取](/compute/docs/instances/windows/creating-managing-windows-instances#kms-server)。
  • 已安裝 KMS 用戶端金鑰,且 KMS 用戶端已設定為透過 Compute Engine KMS 伺服器啟動。

Bootloader 設定

  • BootStatusPolicy 已設為 IgnoreAllFailures
  • 在 COM2 連接埠上啟用緊急管理服務 (EMS) 重新導向功能。詳情請參閱 bootcfg ems

網路設定

  • Compute Engine 中繼資料伺服器已新增至 hosts 檔案,通常位於 %WinDir%\System32\drivers\etc 目錄中。
  • 已開啟 Windows 防火牆,以允許與 Compute Engine 中繼資料伺服器通訊。
  • TCP KeepAliveTime 已設為 5 分鐘。
  • Web Proxy Auto Discovery (WPAD) 已停用。
  • NetKVM 轉接器已設定為使用 DHCP。
  • 已啟用遠端桌面功能 (RDP),且相關 Windows 防火牆通訊埠已開啟。
  • 透過 HTTPS 的 WinRM 使用自行簽署的憑證設定,且相關 Windows 防火牆通訊埠已開啟。
  • Google 提供的 Windows 映像檔具有硬式編碼 MTU。如要進一步瞭解網路和介面 MTU,請參閱傳輸單位上限總覽

套件系統和 Windows 更新

  • Windows Server 映像檔會根據 Windows Server 的預設更新時間表自動更新。
  • 如要為訪客環境安裝套件,請啟用 Google Cloud 存放區。
  • 為管理 Windows 版 Compute Engine 元件套件,系統會安裝 GooGet,您可以將其設為自動更新套件。
  • Google Cloud CLI 已和自己的 Python 2.7 環境一併安裝。Google Cloud CLI 可搭配專案服務帳戶和執行個體範圍使用,並支援 PowerShell 和標準指令列環境。
  • 如要在 Compute Engine 上啟動 Windows,請安裝 Compute Engine 驅動程式
  • 已安裝 PowerShell 5 和 7。

電源設定

  • 電源設定已變更為永不關閉螢幕。

儲存空間設定

  • 分區表是 GPT,且有 EFI 分區可支援在 UEFI 上啟動。
  • 分頁檔已設定為 1 GB 的靜態大小。
  • 已針對 VioSCSI 驅動程式啟用 EnableQueryAccessAlignment 屬性。

時間設定

  • 已設定 RealTimeIsUniversal 登錄機碼。BIOS 是世界標準時間時鐘,並未設定為當地時間。
  • 時區已設為世界標準時間 (UTC)。
  • NTP 已設定為與 Compute Engine 中繼資料伺服器同步。

一般資訊

OS 版本 映像檔專案 映像檔系列 機器系列 生命週期階段* EOS 和圖片淘汰日期
Windows Server 2025 windows-cloud windows-2025
windows-2025-core
所有機型 (不含 T2A、C4A、C3-metal、Z3、A4、A3、X4) 正式發布版 2034 年 10 月 10 日
Windows Server 2022 windows-cloud windows-2022
windows-2022-core
所有機型 (不含 T2A、C4A、C3-metal、Z3、A4、A3、X4) 正式發布版 2031 年 10 月 14 日
Windows Server 2019 windows-cloud windows-2019
windows-2019-core
所有機型 (不含 T2A、C4A、C3-metal、Z3、A4、A3、X4) 正式發布版 2029 年 1 月 9 日
Windows Server 2016 windows-cloud windows-2016
windows-2016-core
所有機型 (T2A、C4A、C3-metal、Z3、A4、A3、G2、X4 除外) 正式發布版 2027 年 1 月 12 日
Windows Server 2012 R2 不適用 不適用 僅限 C2、C2D、E2、M1、M2、N1、N2、N2D EOS 2023 年 10 月 10 日
Windows Server 2012 不適用 不適用 僅限 C2、C2D、E2、M1、M2、N1、N2、N2D EOS 2023 年 10 月 10 日
Windows Server 2008 R2 (需要 SP1) 不適用 不適用 僅限 C2、C2D、E2、M1、M2、N1、N2、N2D EOS 2020 年 1 月 14 日
Windows Server 2008 不適用 不適用 僅限 C2、C2D、E2、M1、M2、N1、N2、N2D EOS 不適用
Windows Server 2003 (R2 為選用,但必須安裝 SP2) 不適用 不適用 僅限 C2、C2D、E2、M1、M2、N1、N2、N2D EOS 不適用

*生命週期階段: Google Cloud 支援服務通常會在延長支援服務結束日期前結束。如要進一步瞭解上表中各作業系統的支援終止日期,請參閱 Microsoft 生命週期政策

Windows 2008 R2:如需延伸安全性更新 (ESU) 的相關資訊,請參閱 Microsoft 延伸安全性更新生命週期常見問題

介面

OS 版本 SCSI NVMe VSS agent Google 虛擬網路介面卡 (gVNIC) IDPF 多個網路介面
Windows Server 2025
Windows Server 2022
Windows Server 2019
Windows Server 2016
Windows Server 2012 R2
Windows Server 2012
Windows Server 2008 R2 (需要 SP1)
Windows Server 2008
Windows Server 2003 (R2 為選用,但必須安裝 SP2)

安全性功能

OS 版本 受防護的 VM 機密 VM 支援
Windows Server 2025
Windows Server 2022
Windows Server 2019
Windows Server 2016
Windows Server 2012 R2
Windows Server 2012
Windows Server 2008 R2 (需要 SP1)
Windows Server 2008
Windows Server 2003 (R2 為選用,但必須安裝 SP2)

使用者空間功能

OS 版本 已安裝訪客環境 已安裝 gcloud CLI 支援 OS 登入 支援暫停和恢復
Windows Server 2025
Windows Server 2022 *
Windows Server 2019 *
Windows Server 2016 *
Windows Server 2012 R2
Windows Server 2012
Windows Server 2008 R2 (需要 SP1)
Windows Server 2008 EOS
Windows Server 2003 (R2 為選用,但必須安裝 SP2) EOS

*對於此作業系統,部分電源政策設定與暫停和繼續執行不相容。詳情請參閱 排解 VM 暫停問題

由於 已知問題,目前不支援此功能。

網路功能

OS 版本 Tier_1 網路# 200 Gbps 網路頻寬# 巨型影格/MTU
Windows Server 2025 * *
Windows Server 2022 * *
Windows Server 2019 * *
Windows Server 2016 * *
Windows Server 2012 R2 * *
Windows Server 2012
Windows Server 2008 R2 (需要 SP1) EOS EOS EOS
Windows Server 2008 EOS EOS EOS
Windows Server 2003 (R2 為選用,但必須安裝 SP2) EOS EOS EOS

*這個 OS 映像檔提供的 gVNIC 驅動程式,可提供最高 50 Gbps 的網路頻寬。如要取得最高 200 Gbps 的網路頻寬,您必須使用更新版的 gVNIC 驅動程式。詳情請參閱「更新為最新的 Windows 版 gVNIC 驅動程式」。

如要在 Windows 上搭配 gVNIC 使用 Jumbo Frames,您可以使用更新版的 gVNIC 驅動程式。詳情請參閱「更新為最新的 Windows 專用 gVNIC 驅動程式」。

#僅適用於支援的機器系列

GPU 支援

N1+GPU 代表支援在一般用途 N1 機器系列上執行的 NVIDIA T4、V100、P100 或 P4 GPU。

OS 版本 A4 (B200) A3 (H200) A3 (H100) A2 (A100) G2 (L4) N1 與 GPU
Windows Server 2025
Windows Server 2022
Windows Server 2019
Windows Server 2016
Windows Server 2012 R2
Windows Server 2012 EOS EOS EOS EOS EOS EOS
Windows Server 2008 R2 (需要 SP1) EOS EOS EOS EOS EOS EOS
Windows Server 2008 EOS EOS EOS EOS EOS EOS
Windows Server 2003 (R2 為選用,但必須安裝 SP2) EOS EOS EOS EOS EOS EOS

*這個 Windows 用戶端版本不支援 NVIDIA V100 GPU。

VM 管理員

OS 版本 預先安裝 OS 設定代理程式 OS 庫存 OS 政策 Patch 安全漏洞報告
Windows Server 2025
Windows Server 2022
Windows Server 2019
Windows Server 2016
Windows Server 2012 R2
Windows Server 2012
Windows Server 2008 R2 (需要 SP1)
Windows Server 2008
Windows Server 2003 (R2 為選用,但必須安裝 SP2)

匯入

如要瞭解使用 Migrate to Virtual Machines 遷移 VM 的作業系統支援資訊,請參閱「支援的作業系統」。

OS 版本 匯入磁碟 匯入虛擬設備
Windows Server 2025
Windows Server 2022
Windows Server 2019
Windows Server 2016
Windows Server 2012 R2
Windows Server 2012
Windows Server 2008 R2 (需要 SP1)
Windows Server 2008
Windows Server 2003 (R2 為選用,但必須安裝 SP2) * *

*可自行匯入。

授權

OS 版本 執照類型 授權網址
Windows Server 2025
  • 隨選 (預設)
  • BYOL
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2025-dc
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2025-byol
Windows Server 2022
  • 隨選 (預設)
  • BYOL
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2022-dc
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2022-byol
Windows Server 2019
  • 隨選 (預設)
  • BYOL
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2019-dc
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2019-byol
Windows Server 2016
  • 隨選 (預設)
  • BYOL
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2016-dc
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2016-byol
Windows Server 2012 R2
  • 隨選 (預設)
  • BYOL
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2012-r2-dc
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2012-r2-byol
Windows Server 2012
  • BYOL
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2012-byol
Windows Server 2008 R2 (需要 SP1)
  • 隨選 (預設)
  • BYOL
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2008-r2-dc
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2008-r2-byol
Windows Server 2008
  • 隨選
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2008-dc
Windows Server 2003 (R2 為選用,但必須安裝 SP2)
  • 隨選
  • https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-2003