A RetroSearch Logo

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

Search Query:

Showing content from http://cloud.google.com/compute/docs/instances/using-bulk-api below:

About bulk creation of VMs | Compute Engine Documentation

About bulk creation of VMs

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

Linux Windows

Bulk creation of virtual machine (VM) instances lets you create a large number of VMs that are identical and independent from each other. When you create VMs in bulk, you can do the following:

Compute Engine doesn't manage VMs that you create in bulk. To create a group of managed VMs, use managed instance groups.

Creating VMs in bulk versus batching API requests

Creating VMs in bulk is different from batching API requests with the instances.insert method. The following table compares these two ways of creating multiple VMs:

Functionality Batching API requests Creating VMs in bulk Zone selection
Automatically selected based on considerations such as resource availability and quota Manual Automatic when using the regional endpoint Upfront validation
Request fails immediately if it is not feasible No With capacity and quota VM name generation
Automatically generated based on a specified name pattern Manual Optionally generated automatically Automatic rollback
Request automatically rolled back if Compute Engine cannot create the target number of VMs No Optionally enabled API rate limit
How requests affect the API rate limit One request for each VM One request for each bulk operation Limitations

The following list describes the limitations that apply when creating VMs in bulk:

Audit logs

Compute Engine logs information about the bulk VM creation to the Admin Activity audit log when you make the API call and when the API call completes.

Compute Engine also creates separate audit logs for each VM. You can find the audit log for a single VM by matching the value of protoPayload.resourceName with the VM name generated by the naming pattern that you specify with the request.

Pricing

There are no additional charges for using bulk VM creation. As with creating single VMs, billing begins when you create the VMs.

You are not billed for any VMs that Compute Engine fails to create.

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."],[[["Bulk VM creation allows for the creation of numerous identical and independent virtual machines with a single API request, effectively minimizing API rate limit consumption."],["When creating VMs in bulk, Compute Engine can automatically distribute the VMs across multiple zones within a region, optimizing for resource availability and honoring any existing reservations."],["Unlike batching API requests, bulk VM creation offers automatic zone selection, upfront validation of requests, optional automatic VM name generation, and the possibility of automatic rollback if VM creation fails."],["There are limitations to bulk VM creation, such as not supporting customer-supplied encryption keys, boot disks from snapshots, machine images, sole-tenant nodes, and requiring most VM properties to be identical."],["Using bulk VM creation does not incur additional charges, and billing only starts upon successful VM creation; additionally, audit logs are provided for both the bulk operation and individual VMs."]]],[]]


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