If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: docs.cloud.google.com/compute/docs/instances/reservations-prevent-consumption - Prevent compute instances from.

site address: docs.cloud.google.com/compute/docs/instances/reservations-prevent-consumption redirected to: docs.cloud.google.com/compute/docs/instances/reservations-prevent-consumption

site title: Prevent compute instances from consuming reservations     Compute Engine     Google Cloud Documentation

Our opinion (on Monday 20 July 2026 22:33:30 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=Learn how to prevent new or existing Compute Engine instances from consuming reservations.;

Headings (most frequently used words):

prevent, consumption, gcloud, rest, console, go, java, node, js, python, an, instance, while, creating, instances, and, required, in, compute, from, consuming, reservations, stay, organized, with, collections, save, categorize, content, based, on, your, preferences, limitations, before, you, begin, reservation, what, next, roles, existing, bulk, template, products, pricing, support, resources, engage, permissions,

Text of the page (most frequently used words):
the (418), #instance (206), create (206), for (159), and (130), compute (130), vms (106), with (99), cloud (91), instances (83), use (81), google (77), operation (77), you (76), reservations (74), about (72), using (64), disk (64), zone (64), template (63), troubleshoot (62), that (59), set (57), image (56), import (51), name (50), from (49), manage (47), project (47), disks (47), string (44), reservation (43), machine (40), view (39), server (39), gcloud (38), following (37), images (37), type (37), consume (37), network (36), mig (36), reservationaffinity (33), configure (33), windows (33), com (32), overview (31), performance (30), default (29), request (29), debian (28), true (28), bulk (27), engine (27), this (26), global (26), your (26), projects (25), new (24), const (24), more (23), boot (23), proto (23), prevent (23), cli (23), see (22), access (22), identity (22), local (22), no_reservation (21), update (21), computepb (21), configuration (21), hyperdisk (21), sql (21), family (20), machine_type (20), compute_v1 (20), file (20), can (20), zones (20), authentication (20), monitor (20), information (19), external (19), networkinterface (19), projectid (19), build (19), code (18), resources (18), machinetype (18), sourceimage (18), return (18), err (18), install (18), gpu (18), created (17), consumereservationtype (17), get (17), application (17), linux (17), policies (16), example (16), project_id (16), regional (16), creation (16), custom (16), snapshots (16), specify (15), best (15), properties (15), not (15), instancetemplatesclient (15), will (15), wait (15), persistent (15), apply (15), consuming (15), instance_name (15), virtual (15), existing (15), colon (15), credentials (15), groups (15), ssh (15), recommendations (15), practices (14), attacheddisk (14), error (14), newbuilder (14), management (14), instancesclient (14), workload (14), host (14), load (14), connect (14), sample (13), java (13), creating (13), which (13), one (13), replace (13), networks (13), region (13), str (13), running (13), want (13), storage (13), environment (13), microsoft (13), cluster (13), samples (12), delete (12), templates (12), sys (12), console (12), development (12), provider (12), login (12), sole (12), availability (12), number (11), during (11), templatename (11), multiple (11), fmt (11), options (11), consumption (11), add (11), metadata (11), based (11), workloads (11), stateful (11), must (10), public (10), make (10), method (10), insert (10), instancetemplate (10), don (10), result (10), stderr (10), exception (10), timeout (10), command (10), then (10), managed (10), start (10), instancename (10), idp (10), federated (10), user (10), migs (10), machines (10), attached (10), migrate (10), logs (10), page (9), configures (9), attacheddiskinitializeparams (9), standard (9), print (9), concurrent (9), any (9), disksizegb (9), node (9), static (9), run (9), service (9), snapshot (9), licenses (9), tenant (9), openshift (9), shutdown (9), time (9), hpc (9), sign (8), need (8), are (8), license (8), send (8), families (8), https (8), when (8), flush (8), warning (8), warnings (8), verbose_name (8), none (8), long (8), only (8), await (8), while (8), response (8), where (8), computelib (8), requests (8), nil (8), ctx (8), affinity (8), section (8), select (8), count (8), restart (8), permissions (8), mode (8), account (8), addresses (8), shell (8), zonal (8), cpu (8), resource (8), optimize (8), internal (8), choose (8), disaster (8), recovery (8), high (8), agent (8), guest (8), keys (8), h4d (8), flexibility (8), dns (8), optimized (8), tpu (8), thumb (7), modify (7), version (7), used (7), initializeparams (7), networkinterfaces (7), field (7), rest (7), explicitly (7), accessconfig (7), attach (7), size (7), complete (7), define (7), instanceproperties (7), initialize (7), group (7), pattern (7), insertinstancerequest (7), types (7), change (7), data (7), networking (7), commitments (7), startup (7), balancing (7), benchmark (7), enable (7), manually (7), idle (7), scale (7), deploy (7), back (7), mysql (7), remove (7), maintenance (7), backup (7), events (6), details (6), non (6), specific (6), image_project (6), post (6), regions (6), doesn (6), returns (6), args (6), creates (6), error_code (6), there (6), how (6), insertinstancetemplaterequest (6), timeoutexception (6), executionexception (6), ioexception (6), query (6), util (6), errorf (6), single (6), machinetypes (6), operating (6), yaml (6), automatically (6), roles (6), required (6), first (6), usage (6), security (6), migration (6), updates (6), instant (6), files (6), nested (6), gpus (6), across (6), applications (6), demand (6), pools (6), failover (6), extension (6), transfer (6), customized (6), spot (6), understand (5), most (5), googleapis (5), source (5), without (5), these (5), before (5), setname (5), tostring (5), client (5), address (5), flag (5), location (5), networkname (5), uses (5), export (5), have (5), monitoring (5), databases (5), accounts (5), errors (5), future (5), drivers (5), virtualization (5), nvidia (5), operations (5), placement (5), highly (5), available (5), multi (5), capacity (5), schedules (5), audit (5), symphony (5), email (5), scripts (5), manager (5), between (5), systems (5), enhanced (5), capabilities (5), stop (5), tenancy (5), restore (5), control (5), workstation (5), faq (5), flex (5), português (4), español (4), support (4), all (4), other (4), down (4), its (4), latest (4), bookworm (4), contains (4), instance_template_name (4), instancetemplates (4), body (4), include (4), template_name (4), wait_for_extended_operation (4), nat (4), deleted (4), def (4), error_message (4), runtimeerror (4), raise (4), raised (4), seconds (4), extendedoperation (4), python (4), globaloperationsclient (4), autodelete (4), balanced (4), todo (4), developer (4), variables (4), instantiate (4), timeunit (4), once (4), interruptedexception (4), throws (4), unable (4), req (4), bool (4), close (4), context (4), writer (4), apiv1 (4), click (4), advanced (4), configurations (4), sequence (4), names (4), name_pattern (4), zoneoperationsclient (4), instanceresource (4), machinetypename (4), format (4), mount (4), path (4), list (4), api (4), output (4), yaml_file (4), usereadonly (4), subnet (4), services (4), apis (4), authenticate (4), returned (4), confirm (4), signed (4), auth (4), plan (4), testing (4), tools (4), distributed (4), issues (4), ubuntu (4), bandwidth (4), tcp (4), pmu (4), ssd (4), share (4), upgrade (4), live (4), autoscaling (4), cross (4), calendar (4), metrics (4), health (4), active (4), clusters (4), containers (4), container (4), database (4), postgresql (4), extensions (4), work (4), suspend (4), resize (4), graceful (4), locations (4), plans (4), replication (4), review (4), bound (4), action (3), terms (3), system (3), status (3), content (3), apache (3), formatted (3), specifies (3), recent (3), deprecated (3), image_family (3), v20240617 (3), supported (3), methods (3), template_client (3), one_to_one_nat (3), connects (3), longer (3), optional (3), were (3), interface (3), require (3), your_project_id (3), main (3), createinstancenotconsumereservation (3), expand (3), after (3), vm_client (3), previous (3), step (3), exists (3), values (3), changes (3), predefined (3), read (3), assign (3), documentation (3), guides (3), infrastructure (3), observability (3), analytics (3), automatic (3), troubleshooting (3), encryption (3), pro (3), serial (3), patterns (3), higher (3), discounts (3), cuds (3), manual (3), scalable (3), resilient (3), autoscale (3), balancer (3), policy (3), ibm (3), spectrum (3), perform (3), deploying (3), prepare (3), deployment (3), rhel (3), protect (3), certificates (3), state (3), disable (3), increase (3), schedule (3), lifecycle (3), design (3), pool (3), move (3), workstations (3), series (3), tpus (3), product (3), 한국어 (2), 日本語 (2), עברית (2), brasil (2), italiano (2), indonesia (2), français (2), américa (2), latina (2), deutsch (2), english (2), site (2), youtube (2), center (2), getting (2), started (2), pricing (2), products (2), last (2), updated (2), 2026 (2), utc (2), licensed (2), under (2), feedback (2), next (2), follows (2), consume_reservation_type (2), reservation_affinity (2), access_configs (2), network_interfaces (2), disk_size_gb (2), source_image (2), initialize_params (2), auto_delete (2), describes (2), message (2), futures (2), timeouterror (2), case (2), taking (2), than (2), but (2), received (2), raises (2), whatever (2), indefinitely (2), finish (2), reporting (2), verbose (2), they (2), printed (2), execution (2), ends (2), successful (2), waits (2), extended (2), 300 (2), int (2), api_core (2), extended_operation (2), typing (2), annotations (2), __future__ (2), callcreatetemplatetonotconsumereservation (2), log (2), done (2), latestresponse (2), let (2), instancetemplateresource (2), specifying (2), subnetwork (2), function (2), async (2), getprojectid (2), uncomment (2), protos (2), library (2), null (2), haserror (2), minutes (2), insertasync (2), setproject (2), addnetworkinterfaces (2), setreservationaffinity (2), setmachinetype (2), adddisks (2), setconsumereservationtype (2), premium (2), networktier (2), settype (2), setboot (2), setautodelete (2), 250 (2), setdisksizegb (2), setsourceimage (2), setinitializeparams (2), try (2), reused (2), needs (2), createtemplatewithoutconsumingreservationasync (2), void (2), class (2), fprintf (2), int64 (2), defer (2), newinstancetemplatesrestclient (2), background (2), func (2), golang (2), org (2), protobuf (2), enter (2), numbers (2), hash (2), characters (2), generates (2), starting (2), continuing (2), specified (2), bulkinsert (2), indicates (2), callcreateinstancetonotconsumereservation (2), split (2), intel (2), mincpuplatform (2), central1 (2), operationfuture (2), createinstancewithoutconsumingreservationasync (2), docs (2), value (2), newinstancesrestclient (2), put (2), mostdisruptiveallowedaction (2), similar (2), disruptive (2), allowed (2), avoid (2), empty (2), described (2), property (2), controls (2), matching (2), labels (2), tags (2), vpc (2), chosen (2), subnetworks (2), useexternalip (2), legacy (2), role (2), iam (2), configured (2), deployments (2), match (2), document (2), allow (2), sdk (2), languages (2), frameworks (2), costs (2), industry (2), solutions (2), hybrid (2), multicloud (2), pipelines (2), hosting (2), quota (2), commitment (2), full (2), registration (2), sles (2), port (2), collecting (2), nodes (2), report (2), arm (2), core (2), rdp (2), general (2), app (2), latency (2), analyze (2), visible (2), cores (2), committed (2), generation (2), underutilized (2), insights (2), utilization (2), globally (2), web (2), autohealing (2), iis (2), shared (2), reserve (2), autoscaler (2), autoscalers (2), activity (2), kubernetes (2), place (2), directory (2), setting (2), redis (2), cloning (2), always (2), alwayson (2), volumes (2), synchronization (2), switch (2), byol (2), payg (2), byos (2), guide (2), securing (2), event (2), simulate (2), topology (2), together (2), repairs (2), repair (2), check (2), failures (2), suspended (2), stopped (2), target (2), distribution (2), physical (2), cancel (2), limit (2), interfaces (2), ipv6 (2), decrease (2), basic (2), consistent (2), scoped (2), copy (2), appliances (2), asynchronous (2), throughput (2), encrypt (2), memory (2), extreme (2), organization (2), through (2), rdma (2), preemptible (2), provisioning (2), models (2), rtx (2), vws (2), constraints (2), accelerator (2), reference (2), technology (2), areas (2), subscribe, newsletter, our, third, decade, climate, join, cookies, privacy, tech, twitter, blog, engage, training, certification, architecture, github, release, notes, community, forums, contact, sales, marketplace, easy, easytounderstand, solved, problem, solvedmyproblem, otherup, hard, hardtounderstand, incorrect, incorrectinformationorsamplecode, missing, missingtheinformationsamplesineed, otherdown, tell, except, otherwise, noted, registered, trademark, oracle, affiliates, developers, creative, commons, attribution, what, regioninstancetemplates, instance_template, instance_template_resource, object, represents, create_instance_template_not_consume_reservation, medium, disktype, 100, v20240815, setproperties, setinstancetemplateresource, setnetworktier, addaccessconfigs, setdisktype, your_instance_template_name, createtemplatewithoutconsumingreservation, accessconfig_premium, accessconfig_one_to_one_nat, accessconfigs, lets, your_template_name, createtemplatenotconsumereservation, won, same, whether, namepattern, instance_resource, prevents, create_vm_not_consume_reservation, pop, skylake, describe, reservationsclient, setinstanceresource, setzone, setdevicename, associate, 10l, type_name, being, your_instance_name, createinstancewithoutconsumingreservation, gax, longrunning, cascade, lake, attacheddisk_persistent, sprintf, navigation, menu, lists, updating, central, edited, url, parameter, store, text, editor, copied, modified, such, quotes, around, label, exported, strings, boolean, yes, cannot, parse, expected, found, tip, destination, into, just, consumes, effective, might, also, able, write, setserviceaccount, setlabels, settags, setmetadata, exact, ask, administrator, grant, granting, folders, organizations, instanceadmin, admin, haven, already, verifies, selecting, provide, installed, previously, sure, components, note, init, installation, tab, begin, limitations, tasks, like, debugging, isolated, them, consumed, explains, learn, save, categorize, preferences, stay, organized, collections, home, renewal, nvme, resizing, common, pay, viewing, diagnostic, sudoers, screenshots, generate, bug, blackwell, soft, lockups, bus, locks, rescue, inaccessible, dumps, kernel, panic, fstab, unresponsive, suspension, reboots, shutdowns, connectivity, tips, nics, dpdk, improve, resiliency, communication, reduce, compact, idpf, irdma, driver, nic, customize, threads, per, sustained, merge, extend, renew, purchase, cost, savings, dynamic, overcommit, cpus, floating, reliable, udp, backends, routing, scaling, combine, cud, sharing, decisions, signals, serving, predictions, organize, replica, states, observe, reports, tensorflow, inference, tensorrt5, learning, monte, carlo, spark, forwarding, others, integrate, clustering, exchange, 2016, sharepoint, strategies, passive, inactive, setups, built, integrations, validation, deployed, transition, test, hammerdb, bucket, aws, ec2, pacemaker, s2d, block, netapp, hot, standby, drbd, architectures, private, mailjet, mailgun, sendgrid, sending, blue, green, lamp, joomla, asp, net, interactive, mongodb, flask, terraform, servers, over, mtls, random, generator, virtio, rng, accurate, protocol, ntp, append, els, restrictions, packages, deprecate, versions, trusted, red, hat, knowledgebase, functionality, risks, confidential, kek, secure, expiration, shielded, attributes, handle, notices, process, faulty, unmanaged, affect, preserved, turn, off, alternate, fails, repairing, maintain, upgrades, override, selectively, applying, accelerate, out, outage, rebalance, reenable, proactive, redistribution, shape, distribute, info, accidental, deletion, spread, edit, rename, reset, resume, referrers, uuid, recover, corrupted, duplicate, clones, alerts, backups, vss, regionally, different, protection, considerations, synchronous, consistency, failback, replicate, provisioned, iops, limits, evaluate, settings, help, kms, customer, supplied, symbolic, links, practice, device, ram, additional, exapools, verify, ptr, record, failure, rates, restrict, automate, password, powershell, sac, securely, apps, root, vpn, bastion, iap, connection, browser, connections, within, iso, imported, prerequisites, importing, exporting, bring, own, detach, reattach, constraint, accounting, provision, examples, slurm, reserved, team, slice, slices, adds, scenarios, deterministic, base, requirements, ready, aci, preempted, historical, alternative, displays, ops, logging, has, gpudirect, enabled, ultra, minimum, platform, hostname, quickstarts, office, licensing, strategy, gemini, bare, metal, accelerators, platforms, scores, purpose, discover, free, skip,


Text of the page (random words):
ts automatically extend commitment terms merge and split commitments upgrade commitments share resource based cuds across projects get discounts for sustained usage disk performance optimize hyperdisk performance optimize persistent disk performance optimize local ssd performance workload performance set the number of threads per core customize the number of visible cpu cores analyze the cpu performance using the pmu pmu overview enable the pmu in vms manage the pmu in vms network performance network bandwidth use google virtual nic use irdma network driver use idpf network interface configure a vm with higher bandwidth reduce latency by using compact placement policies optimize tcp network communication optimize tcp network performance optimize tcp network resiliency benchmark higher bandwidth vms optimize app latency with load balancing use dpdk to improve network performance network performance and gpu vms networking and gpu machines use higher network bandwidth patterns for using multiple host nics troubleshoot general tips troubleshoot connectivity troubleshoot rdp troubleshoot ssh troubleshoot os login troubleshoot vms troubleshoot vm operations troubleshoot vm creation troubleshoot resource availability errors troubleshoot bulk api vm creation troubleshoot vm reboots and shutdowns troubleshoot vm suspension troubleshoot vm updates troubleshoot unresponsive vms troubleshoot vm startup troubleshoot fstab errors troubleshoot kernel panic collecting core dumps rescue an inaccessible vm troubleshoot cpu bus locks troubleshoot cpu soft lockups troubleshoot vm configurations troubleshoot arm vms troubleshoot gpu vms troubleshoot nvidia gpu errors generate a nvidia bug report for blackwell gpus troubleshoot nested virtualization troubleshoot using vm screenshots troubleshoot sole tenant nodes troubleshoot vm performance issues troubleshoot sudoers files troubleshoot windows vms troubleshoot windows vms collecting diagnostic information troubleshoot using the serial console troubleshoot using the serial console viewing serial port output troubleshoot instance groups troubleshoot managed instance groups migs troubleshoot os management troubleshoot licenses troubleshoot image import and export troubleshooting sles pay as you go registration troubleshooting ubuntu pro registration troubleshoot metadata server troubleshoot metadata server troubleshoot networking issues troubleshoot common networking issues troubleshoot network drivers troubleshoot vm performance issues troubleshoot storage troubleshoot disk creation troubleshoot full disks and disk resizing troubleshoot disk encryption troubleshoot nvme disks troubleshoot instant snapshots troubleshoot standard snapshots troubleshoot reservations and commitments troubleshoot reservation creation troubleshoot reservation consumption troubleshooting reservation monitoring troubleshoot reservation updates troubleshoot future reservation creation and updates troubleshoot automatic commitment renewal troubleshoot quota errors troubleshoot concurrent operation quota errors troubleshoot workload authentication troubleshoot default service accounts troubleshoot workload to workload authentication ai and ml application development application hosting compute data analytics and pipelines databases distributed hybrid and multicloud industry solutions migration networking observability and monitoring security storage access and resources management costs and usage management infrastructure as code sdk languages frameworks and tools home documentation compute compute engine guides send feedback prevent compute instances from consuming reservations stay organized with collections save and categorize content based on your preferences this document explains how to prevent compute engine instances from consuming reservations to learn more about reservations see reservations of compute engine zonal resources automatically consumed reservations allow instances with properties that match the reservations to automatically consume them to prevent instances from consuming a reservation do one of the following configure instances to not consume reservations as described in this document create or update instances with properties that don t match the reservation you can avoid consuming reservations when you want to use your instances for tasks like testing debugging or isolated deployments limitations you can only update an existing instance to not consume reservations if the instance is configured to automatically consume matching reservations before you begin if you haven t already set up authentication authentication verifies your identity for access to google cloud services and apis to run code or samples from a local development environment you can authenticate to compute engine by selecting one of the following options select the tab for how you plan to use the samples on this page console when you use the google cloud console to access google cloud services and apis you don t need to set up authentication gcloud install the google cloud cli after installation initialize the google cloud cli by running the following command gcloud init if you re using an external identity provider idp you must first sign in to the gcloud cli with your federated identity note if you installed the gcloud cli previously make sure you have the latest version by running gcloud components update set a default region and zone go to use the go samples on this page in a local development environment install and initialize the gcloud cli and then set up application default credentials with your user credentials install the google cloud cli if you re using an external identity provider idp you must first sign in to the gcloud cli with your federated identity if you re using a local shell then create local authentication credentials for your user account gcloud auth application default login you don t need to do this if you re using cloud shell if an authentication error is returned and you are using an external identity provider idp confirm that you have signed in to the gcloud cli with your federated identity for more information see set up authentication for a local development environment java to use the java samples on this page in a local development environment install and initialize the gcloud cli and then set up application default credentials with your user credentials install the google cloud cli if you re using an external identity provider idp you must first sign in to the gcloud cli with your federated identity if you re using a local shell then create local authentication credentials for your user account gcloud auth application default login you don t need to do this if you re using cloud shell if an authentication error is returned and you are using an external identity provider idp confirm that you have signed in to the gcloud cli with your federated identity for more information see set up authentication for a local development environment node js to use the node js samples on this page in a local development environment install and initialize the gcloud cli and then set up application default credentials with your user credentials install the google cloud cli if you re using an external identity provider idp you must first sign in to the gcloud cli with your federated identity if you re using a local shell then create local authentication credentials for your user account gcloud auth application default login you don t need to do this if you re using cloud shell if an authentication error is returned and you are using an external identity provider idp confirm that you have signed in to the gcloud cli with your federated identity for more information see set up authentication for a local development environment python to use the python samples on this page in a local development environment install and initialize the gcloud cli and then set up application default credentials with your user credentials install the google cloud cli if you re using an external identity provider idp you must first sign in to the gcloud cli with your federated identity if you re using a local shell then create local authentication credentials for your user account gcloud auth application default login you don t need to do this if you re using cloud shell if an authentication error is returned and you are using an external identity provider idp confirm that you have signed in to the gcloud cli with your federated identity for more information see set up authentication for a local development environment rest to use the rest api samples on this page in a local development environment you use the credentials you provide to the gcloud cli install the google cloud cli if you re using an external identity provider idp you must first sign in to the gcloud cli with your federated identity for more information see authenticate for using rest in the google cloud authentication documentation required roles to get the permissions that you need to prevent a compute instance from consuming reservations ask your administrator to grant you the compute instance admin v1 roles compute instanceadmin v1 iam role on the project for more information about granting roles see manage access to projects folders and organizations this predefined role contains the permissions required to prevent a compute instance from consuming reservations to see the exact permissions that are required expand the required permissions section required permissions the following permissions are required to prevent a compute instance from consuming reservations to create reservations compute reservations create on the project to create instances compute instances create on the project to use a custom image to create the vm colon compute images usereadonly on the image to use a snapshot to create the vm colon compute snapshots usereadonly on the snapshot to use an instance template to create the vm colon compute instancetemplates usereadonly on the instance template to assign a legacy network to the vm colon compute networks use on the project to specify a static ip address for the vm colon compute addresses use on the project to assign an external ip address to the vm when using a legacy network colon compute networks useexternalip on the project to specify a subnet for the vm colon compute subnetworks use on the project or on the chosen subnet to assign an external ip address to the vm when using a vpc network colon compute subnetworks useexternalip on the project or on the chosen subnet to set vm instance metadata for the vm colon compute instances setmetadata on the project to set tags for the vm colon compute instances settags on the vm to set labels for the vm colon compute instances setlabels on the vm to set a service account for the vm to use colon compute instances setserviceaccount on the vm to create a new disk for the vm colon compute disks create on the project to attach an existing disk in read only or read write mode colon compute disks use on the disk to attach an existing disk in read only mode colon compute disks usereadonly on the disk to create instance templates compute instancetemplates create on the project you might also be able to get these permissions with custom roles or other predefined roles prevent reservation consumption to prevent a compute instance from consuming reservations set its reservation affinity reservationaffinity property to not consume reservations this property controls if an instance can consume matching reservations a specific reservation or no reservations to prevent one or more instances from consuming reservations use one of the following methods prevent consumption in an existing instance prevent consumption while creating an instance prevent consumption while creating instances in bulk prevent consumption while creating an instance template prevent consumption in an existing instance you can update a running instance so that it no longer automatically consumes reservations you must restart the instance to make the changes effective as described in this section to prevent an existing instance from consuming reservations select one of the following options gcloud create an empty yaml file to export the properties of an instance into the yaml file that you ve just created use the gcloud compute instances export command gcloud compute instances export instance_name destination yaml_file zone zone replace the following instance_name the name of the instance yaml_file the path to the empty yaml file that you created in the previous step zone the zone where the instance exists in the yaml configuration file set the consumereservationtype to no_reservation reservationaffinity consumereservationtype no_reservation tip to avoid getting an error such as error gcloud compute instances update from file cannot parse yaml expected type for field value found true type add quotes around any label values of yes or no in the exported instance configuration file this indicates the values are strings not boolean values to update the instance and restart it use the gcloud compute instances update from file command with the most disruptive allowed action flag set to restart gcloud compute instances update from file instance_name most disruptive allowed action restart source yaml_file zone zone replace the following instance_name the name of the instance yaml_file the path to the yaml file with the configuration data that you modified in the previous step zone the zone where the instance exists rest to view the properties of an existing instance make a get request to the instances get method get https compute googleapis com compute v1 projects project_id zones zone instances instance_name replace the following project_id the id of the project where you created the instance zone the zone where the instance exists instance_name the name of the instance store the output from the get request in a file or text editor modify the copied output to change the consumereservationtype field to no_reservation reservationaffinity consumereservationtype no_reservation to update the instance and restart it make a put request to the instances update method in the request do the following in the request url include the mostdisruptiveallowedaction query parameter set to restart for the request body use the output from the get request that you edited in a previous step the request is similar to the following example put https compute googleapis com compute v1 projects example project zones us central 1 instances instance 01 mostdisruptiveallowedaction restart reservationaffinity consumereservationtype no_reservation for more information about updating an instance see update instance properties prevent consumption while creating an instance to create a compute instance that can t consume reservations select one of the following options console in the google cloud console go to the create an instance page go to create an instance in the name field enter a ...
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)
  • Google Cloud Documentatio...

Verified site has: 746 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-55 56-60 61-65 66-70 71-75 76-80 81-85 86-90 91-95 96-100
101-105 106-110 111-115 116-120 121-125 126-130 131-135 136-140 141-145 146-150
151-155 156-160 161-165 166-170 171-175 176-180 181-185 186-190 191-195 196-200
201-205 206-210 211-215 216-220 221-225 226-230 231-235 236-240 241-245 246-250
251-255 256-260 261-265 266-270 271-275 276-280 281-285 286-290 291-295 296-300
301-305 306-310 311-315 316-320 321-325 326-330 331-335 336-340 341-345 346-350
351-355 356-360 361-365 366-370 371-375 376-380 381-385 386-390 391-395 396-400
401-405 406-410 411-415 416-420 421-425 426-430 431-435 436-440 441-445 446-450
451-455 456-460 461-465 466-470 471-475 476-480 481-485 486-490 491-495 496-500
501-505 506-510 511-515 516-520 521-525 526-530 531-535 536-540 541-545 546-550
551-555 556-560 561-565 566-570 571-575 576-580 581-585 586-590 591-595 596-600
601-605 606-610 611-615 616-620 621-625 626-630 631-635 636-640 641-645 646-650
651-655 656-660 661-665 666-670 671-675 676-680 681-685 686-690 691-695 696-700
701-705 706-710 711-715 716-720 721-725 726-730 731-735 736-740 741-745 746-746


The site also has references to the 2 subdomain(s)

  console.cloud.google.com  Verify   cloud.google.com  Verify


The site also has 1 references to external domain(s).

 github.com  Verify


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 301 Moved Permanently
location htt????/docs.cloud.google.com/compute/docs/instances/reservations-prevent-consumption
x-cloud-trace-context 3b1aa759f5eecb686b6d0793ff25988d
date Mon, 20 Jul 2026 22:33:29 GMT
content-type text/html
server Google Frontend
Content-Length 0
Connection close
HTTP/2 200
last-modified Fri, 17 Jul 2026 15:09:26 GMT
content-type text/html; charset=utf-8
vary Cookie
vary Accept-Encoding
content-security-policy base-uri self ; object-src none ; script-src strict-dynamic unsafe-inline https: http: nonce-6VYVYpXI+4AjSHwuZkM7c4kAF3phK3 unsafe-eval ; frame-ancestors self htt????/developers.google.com/_d/analytics-iframe; report-uri htt????/csp.withgoogle.com/csp/devsite/v2
strict-transport-security max-age=63072000; includeSubdomains; preload
x-xss-protection 0
x-content-type-options nosniff
cache-control no-cache, must-revalidate
expires 0
pragma no-cache
content-encoding gzip
x-cloud-trace-context c7685348973b410154d79b96e0429344
date Mon, 20 Jul 2026 22:33:29 GMT
server Google Frontend
content-length 74235
alt-svc h3= :443 ; ma=2592000,h3-29= :443 ; ma=2592000

Meta Tags

title="Prevent compute instances from consuming reservations  |  Compute Engine  |  Google Cloud Documentation"
name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"
name="google-signin-scope" content="profile email htt????/www.googleapis.com/auth/developerprofiles htt????/www.googleapis.com/auth/developerprofiles.award htt????/www.googleapis.com/auth/devprofiles.full_control.firstparty"
property="og:site_name" content="Google Cloud Documentation"
property="og:type" content="website"
name="theme-color" content="#1a73e8"
charset="utf-8"
content="IE=Edge" http-equiv="X-UA-Compatible"
name="viewport" content="width=device-width, initial-scale=1"
property="og:title" content="Prevent compute instances from consuming reservations  |  Compute Engine  |  Google Cloud Documentation"
name="description" content="Learn how to prevent new or existing Compute Engine instances from consuming reservations."
property="og:description" content="Learn how to prevent new or existing Compute Engine instances from consuming reservations."
property="og:url" content="htt????/docs.cloud.google.com/compute/docs/instances/reservations-prevent-consumption"
property="og:image" content="htt????/docs.cloud.google.com/_static/cloud/images/social-icon-google-cloud-1200-630.png"
property="og:image:width" content="1200"
property="og:image:height" content="630"
property="og:locale" content="en"
name="twitter:card" content="summary_large_image"

Load Info

page size74235
load time (s)1.03566
redirect count1
speed download71724
server IP 142.251.39.206
* all occurrences of the string "http://" have been changed to "htt???/"