A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://cloud.google.com/batch/docs/vm-os-environment-overview below:

Overview of the OS environment for a job's VMs | Batch

Skip to main content Overview of the OS environment for a job's VMs

Stay organized with collections Save and categorize content based on your preferences.

This document explains concepts for the operating system (OS) environment—the boot disks and OS image—for the Compute Engine virtual machine (VM) instances that run Batch jobs.

A job is executed by running the instructions on the boot disk of each of its VMs. Each boot disk contains a bootloader, file system, and OS. You can optionally configure the VM OS environment for a job by doing one of the following:

The following sections describe when to configure the OS environment, the default OS environment, VM OS image options, and boot disk options.

When to configure the OS environment

Review this section to determine whether to configure the VM OS image and/or boot disks when you create a job or use the default configuration.

Configure the VM OS image for a job in the following cases:

Configure the boot disk for a job in the following cases:

If you are still unsure if your job requires you to configure the VM OS image and/or boot disks, you can review the following section to understand the default configuration. Additionally, you might also just try to create and run the job with the default configuration. If the job fails with the default configuration, you can try to determine if the issue was caused by the VM OS image or boot disk by troubleshooting.

Otherwise, if you don't need and don't want to configure the VM OS image and/or boot disk for a job, leave these properties undefined to use the default configuration.

Default OS environment

Review this section to understand the default configuration for a job's VM OS image and boot disks. For example, you might use the default configuration as a reference when determining how you want to configure the OS environment for a job.

When you create a job and don't define the VM OS image, the job defaults to using one of the following VM OS images:

When you create a job and don't define the other properties of the boot disks, the job defaults to using the following options:

VM OS image options

The following sections describe the VM OS image options for Batch, including all the types of VM OS images that Batch jobs can support and the restrictions for the supported VM OS images. When you specify the VM OS image for a job, you can specify an image name or image family for any of the supported VM OS images that are allowed by the restrictions.

Supported VM OS images

Batch jobs can support the following types of VM OS images:

Restrictions for VM OS images

The supported VM OS images that a job can specify are subject to the following restrictions:

Boot disk options

This section describes the options for the type and size of boot disks for Batch. When you customize the boot disks for a job, you can specify the VM OS image, type, and/or size. For information about specifying the VM OS image, see VM OS image options in this document instead.

For boot disk type, Batch supports all the Persistent Disk types in the Compute Engine documentation.

For boot disk size, Batch supports all sizes and increments for persistent disks in the Compute Engine documentation that meet the following requirements:

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This document details the operating system (OS) environment, including boot disks and OS images, for Compute Engine virtual machine (VM) instances that run Batch jobs."],["You can configure the VM OS environment for a job by specifying the VM OS image to customize the software, or by customizing the boot disk to adjust the image, disk size, and disk type."],["The VM OS image and boot disk configuration can be defined or left as default, and certain scenarios such as policy constraints, specific application requirements, or the need for more storage space, may dictate a custom configuration."],["Batch supports public images from Batch and Compute Engine, as well as custom images, with Batch images being the recommended choice and certain images having usage restrictions, especially if the job lacks external network access."],["The default boot disk configuration uses `pd-balanced` disk type and sizes based on a formula involving reserved space, task size and number of tasks, with the ability to customize the disk type and size with a minimum of 30 GB."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4