[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/compute/docs/instances/multiple/about-bulk-creation [Back]  [Original]

About bulk creation of VMs  |  Compute Engine  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

About bulk creation of VMs Stay organized with collections Save and categorize content based on your preferences.

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

Send feedback

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 2026-08-11 UTC.

Need to tell us more? [[["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 2026-08-11 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page