Operating system details

Understand the operating system (OS) image details, feature support, and lifecycle stages available on Compute Engine. Use these reference tables to verify Compute Engine instance compatibility with specific GPU, networking, security, and import capabilities. Some OS images are customized specifically to run on Compute Engine and have notable differences from standard vendor images; these differences are also covered for each OS.

While these tables cover feature compatibility for Google-provided public OS image families, Compute Engine also supports private custom images and specialized public images. For information about custom OS images, image families, and specialized categories like community-supported, HPC, or TPU images, see Operating system images.

AlmaLinux

AlmaLinux is an open source, community owned and governed, forever-free enterprise Linux distribution, focused on long-term stability, providing a robust production-grade platform. AlmaLinux OS is binary compatible with Red Hat Enterprise Linux (RHEL). The AlmaLinux OS Foundation builds and supports the AlmaLinux images available for Compute Engine. There is no license fee for using AlmaLinux with Compute Engine.

Automatic updates

By default, this operating system is configured to install security updates by using the dnf-automatic tool. The updates have the following behaviors:

  • The dnf-automatic tool does not upgrade VMs between major versions of the operating system.
  • The upgrade tool is configured to only apply updates marked by the vendor as security updates.
  • Some updates require reboots to take effect. These reboots do not happen automatically.
Image configuration

AlmaLinux images are built and maintained by the AlmaLinux OS Foundation. AlmaLinux images are always built with the latest AlmaLinux packages which reflect the most recent AlmaLinux point release. The AlmaLinux images that are provided by Compute Engine, have the following differences in configuration from standard AlmaLinux cloud images:

Account configuration

  • There are no local users configured with passwords.

Bootloader configuration

  • To force faster boot times, the boot timeout in the grub configuration is set to 0.

Network configuration

  • The SSH server configuration is set up as follows:
    • Password authentication is disabled.
    • Root login is disabled.
  • By default, all traffic is allowed through the guest firewall because the VPC firewall rules overrides the guest firewall rules. The guest firewall rules remains enabled and can be configured through normal AlmaLinux methods.

Package system and repository configuration

  • Automatic updates are configured as follows:
    • Automatic updates are enabled by using dnf automatic.
  • Storage configuration

    • By default, images are 10 GB.
    • The partition table is GPT, and there is an EFI partition to support booting on UEFI.
    • The floppy module is disabled because there is no floppy disk controller on Compute Engine .
    • The nouveau module is disabled as it does not work with Compute Engine GPUs.

    Time configuration

    • The NTP server is set to use the Compute Engine metadata server.

    GA AlmaLinux versions

    The following section summarizes feature support for versions of this OS that are in General Availability (GA).

    General information

    OS version Image project Image family Machine series Lifecycle stage EOS and image deprecation date
    AlmaLinux 10 almalinux-cloud
    • x86: almalinux-10
    • Arm: almalinux-10-arm64
    All except A4X Max, A4X, A4, G4, A3 Ultra GA May 2035
    AlmaLinux 9 almalinux-cloud
    • x86: almalinux-9
    • Arm: almalinux-9-arm64
    All except A4X Max, A4X, A4, G4, A3 Ultra GA May 2032
    AlmaLinux 8 almalinux-cloud
    • x86: almalinux-8
    • Arm: almalinux-8-arm64
    All except A4X Max, A4X, A4, G4, A3 Ultra, X4 GA May 2029

    Interfaces

    OS version SCSI NVMe Google Virtual NIC (gVNIC) IRDMA IDPF Multiple network interfaces
    AlmaLinux 10 Yes Yes Yes No Yes Yes
    AlmaLinux 9 Yes Yes Yes No Yes Yes
    AlmaLinux 8 Yes Yes Yes No Yes Yes

    Security features

    OS version Shielded VM Confidential VM SEV Confidential VM SEV-SNP Confidential VM Intel TDX
    AlmaLinux 10 Yes Yes Yes Yes1
    AlmaLinux 9 Yes Yes Yes Yes1
    AlmaLinux 8 Yes Yes Yes No

    1 Intel TDX isn't supported on ARM64 for this OS image.

    User space features

    OS version Guest environment installed gcloud CLI installed OS Login supported Suspend and resume supported
    AlmaLinux 10 Yes Yes Yes Yes
    AlmaLinux 9 Yes Yes Yes Yes
    AlmaLinux 8 Yes Yes Yes Yes

    Networking features

    OS version Tier_1 networking1 200 Gbps network bandwidth1 Jumbo frames/MTU
    AlmaLinux 10 Yes Yes Yes
    AlmaLinux 9 Yes Yes Yes
    AlmaLinux 8 Yes Yes Yes

    1 Only available with certain machine series.

    GPU support

    N1+GPU denotes support for NVIDIA T4, V100, or P4 GPUs running on a general-purpose N1 machine family.

    For more information about GPU requirements and recommended OSes, see choosing an OS for instances with attached GPUs.

    OS version A4X Max (GB300) A4X (GB200) A4 (B200) A3 (H200) A3 (H100) A2 (A100) G4 (RTX PRO 6000) G2 (L4) N1+GPU
    AlmaLinux 10 No No No Yes Yes Yes No Yes Yes
    AlmaLinux 9 No No No Yes Yes Yes No Yes Yes
    AlmaLinux 8 No No No Yes Yes Yes No Yes Yes

    VM Manager

    OS version OS Config agent preinstalled OS inventory OS policies Patch Vulnerability reports
    AlmaLinux 10 Yes Yes Yes Yes Yes
    AlmaLinux 9 Yes Yes Yes Yes Yes
    AlmaLinux 8 Yes Yes Yes Yes Yes

    Import

    For operating system support information on migrating VMs using Migrate to Virtual Machines, see supported operating systems.

    OS version Import disk Import virtual appliance Import machine image
    AlmaLinux 10 Yes Yes Yes
    AlmaLinux 9 Yes Yes Yes
    AlmaLinux 8 Yes Yes Yes

    License

    OS version License type License URL
    AlmaLinux 10 Free https://www.googleapis.com/compute/v1/projects/almalinux-cloud/global/licenses/almalinux-10
    AlmaLinux 9 Free https://www.googleapis.com/compute/v1/projects/almalinux-cloud/global/licenses/almalinux-9
    AlmaLinux 8 Free https://www.googleapis.com/compute/v1/projects/almalinux-cloud/global/licenses/almalinux-8

    CentOS

    CentOS Linux is a free operating system that is derived from Red Hat Enterprise Linux (RHEL). Google Cloud builds and supports the CentOS images available for Compute Engine. There is no license fee for using CentOS with Compute Engine.

    CentOS Stream is a distribution that is continuously delivered and tracks just ahead of RHEL development. CentOS Stream is positioned as a midstream development platform between Fedora Linux and RHEL.

    Automatic updates

    By default, this operating system is configured to install security updates by using the dnf-automatic tool. The updates have the following behaviors:

    • The dnf-automatic tool does not upgrade VMs between major versions of the operating system.
    • The upgrade tool is configured to only apply updates marked by the vendor as security updates.
    • Some updates require reboots to take effect. These reboots do not happen automatically.
    Image configuration

    The CentOS Stream images that are provided by Compute Engine, have the following differences in configuration from standard CentOS Stream images:

    Account configuration

    • There are no local users configured with passwords.

    Bootloader configuration

    • To force faster boot times, the boot timeout in the grub configuration is set to 0.

    Network configuration

    • IPv6 is enabled.
    • The SSH server configuration is set up as follows:
      • Password authentication is disabled.
      • To prevent SSH disconnections, ServerAliveInterval and ClientAliveInterval are set to 7 minutes.
      • Root login is disabled.
    • /etc/udev/rules.d/75-persistent-net-generator.rules is disabled.
    • To prevent MAC addresses from persisting, /etc/udev/rules.d/70-persistent-net.rules is removed.
    • By default, all traffic is allowed through the guest firewall because the VPC firewall rules overrides the guest firewall rules. The guest firewall rules remains enabled and can be configured through normal CentOS methods.
    • VMs based on Google-provided Linux images get their interface MTU from the attached VPC MTU. VMs based on custom images or older Linux images may have their MTU's hardcoded. In these cases, you have to change the setting yourself if you want to connect the interface to a network with an MTU other than 1460. For more information about network and interface MTU, see the maximum transmission unit overview.

    Package system and repository configuration

    • Google Cloud repositories are enabled to install packages for the Compute Engine guest environment and the Google Cloud CLI.
    • Repositories are set to use the CentOS default mirror network.
    • Automatic updates are configured as follows:
      • For CentOS Stream, automatic updates are enabled by using dnf automatic.
      • For all versions, the update_cmd property is set to security.However, by default CentOS does not offer security tagged repositories.

    Storage configuration

    • By default, images are 20 GB. This is the recommended minimum size.
    • The partition table is GPT, and there is an EFI partition to support booting on UEFI.
    • The floppy module is disabled because there is no floppy disk controller on Compute Engine .

    Time configuration

    • The NTP server is set to use the Compute Engine metadata server.

    GA CentOS versions

    The following section summarizes feature support for versions of this OS that are in General Availability (GA).

    General information

    OS version Image project Image family Machine series Lifecycle stage EOS and image deprecation date
    CentOS Stream 10 centos-cloud
    • x86: centos-stream-10
    • Arm: centos-stream-10-arm64
    All except A4X Max, A4X, A4, and G4 GA January 1, 2030
    CentOS Stream 9 centos-cloud
    • x86: centos-stream-9
    • Arm: centos-stream-9-arm64
    All except A4X Max, A4X, A4, and G4 GA May 31, 2027

    Interfaces

    OS version SCSI NVMe Google Virtual NIC (gVNIC) IRDMA IDPF Multiple network interfaces
    CentOS Stream 10 Yes Yes Yes No Yes Yes
    CentOS Stream 9 Yes Yes Yes No Yes Yes

    1 If a multiple NIC VM is created using this OS image, the VM might lose network connectivity after rebooting. This happens if one of these NICs uses a non-VirtIO interface. For more information, see known issues.

    Security features

    OS version Shielded VM Confidential VM SEV Confidential VM SEV-SNP Confidential VM Intel TDX
    CentOS Stream 10 Yes1 Yes Yes Yes2
    CentOS Stream 9 Yes1 Yes Yes Yes2

    1 This OS image doesn't support Secure Boot on ARM64.
    2 Intel TDX isn't supported on ARM64 for this OS image.

    User space features

    OS version Guest environment installed gcloud CLI installed OS Login supported Suspend and resume supported
    CentOS Stream 10 Yes Yes Yes Yes
    CentOS Stream 9 Yes Yes Yes Yes

    Networking features

    OS version Tier_1 networking1 200 Gbps network bandwidth1 Jumbo frames/MTU
    CentOS Stream 102 Yes Yes Yes
    CentOS Stream 92 Yes Yes Yes

    1 Only available with certain machine series.
    2 This OS image has predictable network interface names disabled. Newer image families may have a different network interface naming scheme.

    GPU support

    N1+GPU denotes support for NVIDIA T4, V100, or P4 GPUs running on a general-purpose N1 machine family.

    For more information about GPU requirements and recommended OSes, see choosing an OS for instances with attached GPUs.

    OS version A4X Max (GB300) A4X (GB200) A4 (B200) A3 (H200) A3 (H100) A2 (A100) G4 (RTX PRO 6000) G2 (L4) N1+GPU
    CentOS Stream 10 No No No Yes Yes Yes No Yes Yes
    CentOS Stream 9 No No No Yes Yes Yes No Yes Yes

    VM Manager

    OS version OS Config agent preinstalled OS inventory OS policies Patch Vulnerability reports
    CentOS Stream 10 Yes Yes Yes Yes Yes
    CentOS Stream 9 Yes Yes Yes Yes Yes

    Import

    For operating system support information on migrating VMs using Migrate to Virtual Machines, see supported operating systems.

    OS version Import disk Import virtual appliance Import machine image
    CentOS Stream 10 Yes Yes Yes
    CentOS Stream 9 Yes Yes Yes

    License

    OS version License type License URL
    CentOS Stream 10 Free https://www.googleapis.com/compute/v1/projects/centos-cloud/global/licenses/centos-stream-10
    CentOS Stream 9 Free https://www.googleapis.com/compute/v1/projects/centos-cloud/global/licenses/centos-stream-9

    End of support CentOS versions

    The following section summarizes feature support for versions of this OS that are in end of support.

    General information

    OS version Image project Image family Machine series Lifecycle stage EOS and image deprecation date
    CentOS Stream 8 centos-cloud x86: centos-stream-8 N1 EOS May 2024
    CentOS 8 centos-cloud x86: centos-8 N1 EOS Dec 2021
    CentOS 7 centos-cloud x86: centos-7 N1 EOS June 30, 2024
    CentOS 6 centos-cloud x86: centos-6 N1 EOS Nov 30, 2020

    Interfaces

    OS version SCSI NVMe Google Virtual NIC (gVNIC) IRDMA IDPF Multiple network interfaces
    CentOS Stream 8 Yes Yes Yes No No Yes
    CentOS 8 Yes Yes Yes No No Yes
    CentOS 7 Yes Yes Yes1 No No Yes1
    CentOS 6 Yes Yes No No No Yes

    1 If a multiple NIC VM is created using this OS image, the VM might lose network connectivity after rebooting. This happens if one of these NICs uses a non-VirtIO interface. For more information, see known issues.

    Security features

    OS version Shielded VM Confidential VM SEV Confidential VM SEV-SNP Confidential VM Intel TDX
    CentOS Stream 8 Yes No No No
    CentOS 8 Yes No No No
    CentOS 7 Yes No No No
    CentOS 6 No No No No

    1 This OS image doesn't support Secure Boot on ARM64.
    2 Intel TDX isn't supported on ARM64 for this OS image.

    User space features

    OS version Guest environment installed gcloud CLI installed OS Login supported Suspend and resume supported
    CentOS Stream 8 Yes Yes Yes Yes
    CentOS 8 Yes Yes Yes Yes
    CentOS 7 Yes Yes Yes Yes
    CentOS 6 Yes No No No

    Networking features

    OS version Tier_1 networking1 200 Gbps network bandwidth1 Jumbo frames/MTU
    CentOS Stream 82 No No No
    CentOS 82 No No No
    CentOS 72 No No No
    CentOS 62 No No No

    1 Only available with certain machine series.
    2 This OS image has predictable network interface names disabled. Newer image families may have a different network interface naming scheme.

    GPU support

    N1+GPU denotes support for NVIDIA T4, V100, or P4 GPUs running on a general-purpose N1 machine family.

    For more information about GPU requirements and recommended OSes, see choosing an OS for instances with attached GPUs.

    OS version A4X Max (GB300) A4X (GB200) A4 (B200) A3 (H200) A3 (H100) A2 (A100) G4 (RTX PRO 6000) G2 (L4) N1+GPU
    CentOS Stream 8 EOS EOS EOS EOS EOS EOS EOS EOS EOS
    CentOS 8 EOS EOS EOS EOS EOS EOS EOS EOS EOS
    CentOS 7 EOS EOS EOS EOS EOS EOS EOS EOS EOS
    CentOS 6 No No No No No No No No No

    VM Manager

    OS version OS Config agent preinstalled OS inventory OS policies Patch Vulnerability reports
    CentOS Stream 8 Yes Yes Yes Yes Yes
    CentOS 8 Yes Yes Yes Yes Yes
    CentOS 7 Yes Yes Yes Yes Yes
    CentOS 6 No No No No No

    Import

    For operating system support information on migrating VMs using Migrate to Virtual Machines, see supported operating systems.

    OS version Import disk Import virtual appliance Import machine image
    CentOS Stream 8 No No No
    CentOS 8 No No No
    CentOS 7 Yes Yes Yes
    CentOS 6 Yes Yes Yes

    License

    OS version License type License URL
    CentOS Stream 8 Free https://www.googleapis.com/compute/v1/projects/centos-cloud/global/licenses/centos-stream-8
    CentOS 8 Free https://www.googleapis.com/compute/v1/projects/centos-cloud/global/licenses/centos-8
    CentOS 7 Free https://www.googleapis.com/compute/v1/projects/centos-cloud/global/licenses/centos-7
    CentOS 6 Free https://www.googleapis.com/compute/v1/projects/centos-cloud/global/licenses/centos-6