Meta tags:
description= Create resize requests to add VMs all at once to a managed instance group (MIG).;
Headings (most frequently used words):
gcloud, rest, console, create, mig, resize, the, requests, in, and, required, specify, of, use, provisioning, model, stay, organized, with, collections, save, categorize, content, based, on, your, preferences, before, you, begin, prepare, for, request, what, next, roles, an, instance, template, or, update, number, vms, list, vm, names, products, pricing, support, resources, engage, permissions, flex, start, reservation, bound,
Text of the page (most frequently used words):
the (479), create (233), instance (160), for (136), vms (135), mig (132), and (130), you (93), with (83), template (83), about (77), image (75), #resize (67), use (65), compute (62), troubleshoot (62), set (59), reservation (58), using (57), request (54), region (53), following (52), disk (49), that (48), manage (47), cloud (42), machine (42), view (41), specify (40), server (39), regional (38), google (37), name (37), disks (37), requests (33), configure (33), windows (33), run (32), overview (32), type (32), images (32), zone (31), then (30), performance (30), groups (29), select (27), must (26), field (26), delete (25), want (25), flag (25), instances (24), gcloud (24), engine (24), one (23), from (23), your (22), project (22), projects (22), workload (22), network (22), see (21), managed (21), which (21), number (21), section (21), family (21), hyperdisk (21), sql (21), resources (20), more (20), reservations (20), access (20), monitor (20), information (19), duration (19), gpu (19), mig_name (18), command (18), configuration (18), creating (17), example (17), apply (17), global (17), templates (17), provisioning (17), start (17), linux (17), policies (16), project_id (16), post (16), zonal (16), debian (16), best (16), boot (16), host (16), exists (15), zones (15), add (15), click (15), creation (15), created (15), default (15), practices (15), model (15), workloads (15), custom (15), bulk (15), virtual (15), snapshots (15), ssh (15), recommendations (15), names (14), console (14), policy (14), options (14), management (14), load (14), connect (14), all (13), update (13), maintenance (13), flex (13), microsoft (13), cluster (13), send (12), migs (12), replace (12), regions (12), method (12), specific (12), list (12), instance_template_name (12), choose (12), change (12), based (12), storage (12), sole (12), availability (12), persistent (12), page (11), where (11), resize_request_name (11), rest (11), can (11), between (11), mode (11), learning (11), stateful (11), action (10), gpus (10), specified (10), include (10), googleapis (10), com (10), insert (10), cli (10), once (10), service (10), multiple (10), families (10), h4d (10), time (10), install (10), metadata (10), machines (10), attached (10), migrate (10), logs (10), https (9), instancegroupmanagers (9), days (9), group (9), version (9), scheduling (9), optimize (9), application (9), licenses (9), tenant (9), openshift (9), shutdown (9), hpc (9), events (8), samples (8), license (8), seconds (8), seven (8), enter (8), new (8), available (8), instancetemplates (8), target (8), single (8), back (8), auto (8), future (8), machine_type (8), image_project (8), terminate (8), data (8), permissions (8), authentication (8), import (8), cpu (8), resource (8), login (8), internal (8), disaster (8), recovery (8), high (8), agent (8), existing (8), guest (8), keys (8), flexibility (8), dns (8), optimized (8), tpu (8), thumb (7), this (7), how (7), usage (7), within (7), beta (7), minutes (7), requested (7), location (7), calendar (7), consume (7), non (7), bound (7), stop (7), networking (7), commitments (7), startup (7), balancing (7), benchmark (7), enable (7), manually (7), idle (7), addresses (7), scale (7), deploy (7), mysql (7), remove (7), snapshot (7), backup (7), terms (6), code (6), otherwise (6), api (6), different (6), count (6), configured (6), note (6), make (6), previous (6), values (6), instance_template_url (6), follows (6), size (6), distribution (6), autoscaling (6), image_family (6), reservationaffinity (6), instanceterminationaction (6), settings (6), value (6), deep (6), tools (6), documentation (6), get (6), roles (6), required (6), identity (6), local (6), highly (6), security (6), migration (6), updates (6), instant (6), files (6), nested (6), across (6), applications (6), demand (6), pools (6), failover (6), extension (6), transfer (6), customized (6), spot (6), support (5), understand (5), are (5), details (5), learn (5), fails (5), body (5), methods (5), creates (5), after (5), url (5), none (5), do_nothing (5), shape (5), failure (5), prepare (5), latest (5), contains (5), public (5), properties (5), termination (5), expand (5), advanced (5), during (5), services (5), environment (5), monitoring (5), databases (5), accounts (5), errors (5), drivers (5), virtualization (5), nvidia (5), operations (5), placement (5), node (5), build (5), multi (5), modify (5), capacity (5), schedules (5), audit (5), symphony (5), email (5), scripts (5), manager (5), operating (5), systems (5), enhanced (5), capabilities (5), tenancy (5), restore (5), types (5), control (5), workstation (5), faq (5), português (4), español (4), sign (4), other (4), down (4), need (4), unique (4), resizerequests (4), specifies (4), opens (4), have (4), same (4), redistribution (4), disable (4), lifecycle (4), repairs (4), reservation_name (4), reservation_url (4), most (4), recent (4), deprecated (4), used (4), bookworm (4), supported (4), consumereservationtype (4), onhostmaintenance (4), provisioningmodel (4), reservation_bound (4), affinity (4), when (4), frameworks (4), consumption (4), run_duration (4), flex_start (4), hours (4), prevent (4), apis (4), development (4), authenticate (4), external (4), provider (4), running (4), plan (4), quota (4), distributed (4), issues (4), ubuntu (4), bandwidth (4), tcp (4), pmu (4), ssd (4), share (4), upgrade (4), live (4), cross (4), metrics (4), health (4), active (4), clusters (4), containers (4), container (4), database (4), uses (4), postgresql (4), extensions (4), work (4), suspend (4), graceful (4), locations (4), plans (4), replication (4), review (4), content (3), apache (3), cancel (3), instance_names (3), optional (3), appears (3), edit (3), until (3), before (3), described (3), general (3), only (3), versions (3), any (3), also (3), repair (3), turn (3), off (3), latency (3), networks (3), fields (3), without (3), follow (3), prompts (3), these (3), consuming (3), define (3), attach (3), maxrunduration (3), format (3), accelerator (3), max (3), limit (3), predefined (3), credentials (3), costs (3), guides (3), infrastructure (3), observability (3), analytics (3), automatic (3), troubleshooting (3), encryption (3), pro (3), serial (3), configurations (3), patterns (3), higher (3), discounts (3), cuds (3), manual (3), scalable (3), resilient (3), autoscale (3), balancer (3), testing (3), ibm (3), spectrum (3), perform (3), deploying (3), deployment (3), rhel (3), protect (3), certificates (3), query (3), state (3), account (3), increase (3), schedule (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), started (2), system (2), pricing (2), products (2), last (2), updated (2), 2026 (2), utc (2), except (2), licensed (2), under (2), feedback (2), next (2), instance_name_2 (2), instance_name_1 (2), two (2), regioninstancegroupmanagerresizerequests (2), instancegroupmanagerresizerequests (2), specifying (2), optionally (2), both (2), resizeby (2), additional (2), pane (2), them (2), sure (2), pre (2), features (2), might (2), partial (2), instancetemplate (2), targetsize (2), any_single_zone (2), instancelifecyclepolicy (2), defaultactiononfailure (2), checkbox (2), allow (2), alternate (2), formatted (2), v20240617 (2), true (2), initializeparams (2), sourceimage (2), machinetype (2), networkinterfaces (2), specific_reservation (2), key (2), regioninstancetemplates (2), such (2), v20240701 (2), complete (2), steps (2), recommended (2), science (2), consider (2), prepackaged (2), comes (2), essential (2), end (2), ultra (2), 600 (2), no_reservation (2), a4x (2), role (2), exact (2), iam (2), idp (2), first (2), federated (2), verify (2), sufficient (2), hypercomputer (2), sdk (2), languages (2), industry (2), solutions (2), hybrid (2), multicloud (2), pipelines (2), hosting (2), commitment (2), standard (2), full (2), registration (2), sles (2), export (2), port (2), collecting (2), nodes (2), report (2), arm (2), core (2), rdp (2), app (2), analyze (2), visible (2), cores (2), automatically (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), writer (2), always (2), alwayson (2), file (2), volumes (2), synchronization (2), switch (2), byol (2), payg (2), byos (2), changes (2), guide (2), securing (2), event (2), simulate (2), topology (2), together (2), check (2), failures (2), suspended (2), stopped (2), physical (2), interfaces (2), ipv6 (2), static (2), decrease (2), basic (2), consistent (2), scoped (2), copy (2), appliances (2), asynchronous (2), throughput (2), encrypt (2), mount (2), memory (2), extreme (2), balanced (2), organization (2), user (2), through (2), rdma (2), preemptible (2), models (2), rtx (2), vws (2), constraints (2), reference (2), technology (2), areas (2), close (2), subscribe, newsletter, our, third, decade, climate, join, cookies, privacy, tech, twitter, blog, engage, training, certification, architecture, getting, github, status, release, notes, community, forums, contact, sales, marketplace, easy, easytounderstand, solved, problem, solvedmyproblem, otherup, hard, hardtounderstand, incorrect, sample, incorrectinformationorsamplecode, missing, missingtheinformationsamplesineed, otherdown, tell, noted, java, registered, trademark, oracle, its, affiliates, developers, creative, commons, attribution, actual, forecasted, what, comma, separated, requires, determines, requestedrunduration, lists, hour, unit, needed, row, column, become, deletes, ends, prepared, feature, subject, offerings, limited, launch, stage, descriptions, preview, workloadpolicy, distributionpolicy, targetshape, updatepolicy, instanceredistributiontype, regioninstancegroupmanagers, dialog, whether, clear, minimize, among, opportunistic, additionally, period, 604, 800, 604800, guestaccelerators, followed, respectively, day, three, four, 1d2h3m4s, 30m, 168, their, case, sections, able, ask, administrator, grant, granting, folders, organizations, instanceadmin, admin, haven, already, verifies, selecting, provide, installed, previously, components, init, installation, initialize, don, tab, remains, pending, begin, achieve, option, helps, obtain, demanded, like, instead, document, explains, save, categorize, preferences, stay, organized, collections, home, concurrent, operation, renewal, nvme, resizing, common, pay, viewing, output, 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, interface, irdma, driver, nic, customize, threads, per, sustained, merge, split, extend, renew, purchase, cost, savings, dynamic, overcommit, cpus, floating, reliable, udp, backends, routing, scaling, combine, cud, sharing, decisions, signals, serving, predictions, organize, labels, replica, states, observe, reports, tensorflow, inference, tensorrt5, monte, carlo, spark, forwarding, others, integrate, clustering, exchange, 2016, sharepoint, strategies, passive, inactive, setups, built, integrations, validation, were, deployed, transition, test, hammerdb, bucket, aws, ec2, pacemaker, s2d, block, netapp, hot, standby, drbd, architectures, client, private, address, mailjet, mailgun, sendgrid, sending, blue, green, deployments, lamp, joomla, asp, net, interactive, mongodb, flask, terraform, servers, over, mtls, random, generator, virtio, rng, accurate, protocol, ntp, append, els, restrictions, packages, deprecate, trusted, red, hat, knowledgebase, functionality, risks, vpc, controls, confidential, kek, secure, expiration, shielded, attributes, handle, notices, process, faulty, unmanaged, affect, preserved, repairing, maintain, upgrades, override, selectively, applying, accelerate, out, outage, rebalance, reenable, proactive, distribute, info, accidental, deletion, spread, rename, reset, resume, restart, referrers, source, uuid, recover, corrupted, duplicate, clones, alerts, backups, vss, regionally, protection, considerations, synchronous, consistency, failback, replicate, provisioned, iops, limits, evaluate, help, kms, customer, supplied, symbolic, links, practice, device, ram, exapools, ptr, record, rates, tags, restrict, automate, password, require, powershell, sac, securely, apps, root, vpn, bastion, iap, connection, browser, connections, iso, imported, prerequisites, importing, exporting, bring, own, path, detach, reattach, constraint, accounting, provision, examples, slurm, reserved, team, slice, slices, adds, scenarios, deterministic, base, requirements, ready, aci, preempted, historical, alternative, similar, displays, ops, logging, subnet, has, gpudirect, enabled, minimum, platform, hostname, quickstarts, office, licensing, premium, strategy, gemini, bare, metal, accelerators, platforms, scores, purpose, discover, free, skip, main,
Text of the page (random words):
dd an instance group to a load balancer request routing to a multi region external https load balancer cross region load balancing for microsoft iis backends set up internal tcp udp load balancing build reliable and scalable applications use autohealing for highly available applications use load balancing for highly available applications use autoscaling for highly scalable applications globally autoscale a web service on compute engine patterns for scalable and resilient applications patterns for using floating ip addresses on compute engine optimize resource utilization use recommendations to manage resources apply machine type recommendations to vms configure machine type recommendations apply machine type recommendations to migs view and apply idle resources recommendations view and understand vm insights view and understand mig insights manage idle vm recommendations idle vm recommendations overview view and apply idle vm recommendations configure idle vm recommendations manage reservation recommendations reservation recommendations overview view and apply idle reservation recommendations view and apply underutilized reservation recommendations configure idle reservation recommendations configure underutilized reservation recommendations overcommit cpus on sole tenant vms manual live migration about manual live migration manually live migrate vms share sole tenant node groups next generation dynamic resource management cost savings get discounts for committed usage about commitments and committed use discounts cuds resource based cuds purchase resource based commitments without attached reservations with attached reservations for os licenses manage resource based commitments renew commitments 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 create resize requests in a mig stay organized with collections save and categorize content based on your preferences this document explains how to create resize requests in a managed instance group mig of virtual machine vm instances to learn more about mig resize requests see about resize requests in a mig creating a mig resize request helps you obtain highly demanded resources like gpus and optimize costs by creating the exact number of vms all at once to create a mig resize request that can use the features and services available from ai hypercomputer see instead create a mig and a resize request in the ai hypercomputer documentation you can also use bulk mode in migs to create instances all at once to achieve the target size that you set to learn more about this option see about bulk mode before you begin to use mig resize requests to create flex start vms for workloads that run for up to seven days verify that you have sufficient quota for your requested resources otherwise your resize request remains pending until you have sufficient quota 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 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 create mig resize requests 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 create mig resize requests to see the exact permissions that are required expand the required permissions section required permissions the following permissions are required to create mig resize requests to create an instance template compute instancetemplates create on the project to create a zonal mig compute instancegroupmanagers create on the project to create a mig resize request compute instancegroupmanagers update on the project you might also be able to get these permissions with custom roles or other predefined roles prepare a mig for resize requests to create a mig resize requests you must configure an instance template and the mig as described in the following sections create an instance template based on your use case for mig resize requests create an instance template by using one of the following methods if you want to create flex start vms for workloads that run for up to seven days then create an instance template by using the flex start provisioning model if you want to create vms by consuming an auto created reservation for a future reservation in calendar mode then create an instance template by using the reservation bound provisioning model use the flex start provisioning model to create an instance template configured for creating mig resize requests and flex start vms you must specify the following settings in the template use a gpu machine type except a4x max or a4x or an h4d machine type delete vms at the end of their run duration by using the maxrunduration and instanceterminationaction fields stop vms during host maintenance events prevent reservations consumption use the flex start provisioning model note if you want to run data science or machine learning workloads then consider using a deep learning vm images image when you create an instance template deep learning vm is a set of prepackaged vm images that comes with machine learning frameworks and essential tools for more information about these images see choose an image in the deep learning vm documentation to create an instance template select one of the following options console in the google cloud console go to the instance templates page go to instance templates click create instance template the create an instance template page opens in the name field enter a name for the instance template in the location section select one of the following options to create a regional instance template select regional recommended and then select the region in which to create the template to create a global instance template select global in the machine configuration section specify a machine type in the provisioning model section complete the following steps in the vm provisioning model field select flex start expand vm provisioning model advanced settings select the set a time limit for the vm checkbox to set a run duration for the vms that are created by using the instance template in the enter number of hours field enter the number of hours the value must be between 36 seconds 0 01 and seven days 168 optional to change the default value boot disk type or image in the boot disk section click change then follow the prompts to change the boot disk click create gcloud to create an instance template use the instance templates create command with the following flag settings the instance termination action flag set to delete the maintenance policy flag set to terminate the max run duration flag the provisioning model flag set to flex_start the reservation affinity flag set to none the following example command creates a regional instance template if you want to create a global instance template then use the same command without the instance template region flag gcloud compute instance templates create instance_template_name image project image_project image family image_family instance template region region instance termination action delete machine type machine_type maintenance policy terminate max run duration run_duration provisioning model flex_start reservation affinity none replace the following instance_template_name the name of the instance template to create image_project the image project that contains the image for example debian cloud for more information about the supported image projects see public images image_family an image family specify an image family to use the most recent non deprecated os image for example if you specify debian 12 the latest version in the debian 12 image family is used for more information about using image families see image families best practices note if you want to use a specific version of the os image such as debian 12 bookworm v20240701 then replace the image family flag with the image flag region the region in which to create the instance template machine_type the machine type to use for the flex start vms if you specify an n1 machine type then you must include the accelerator flag to define the number and type of gpus to attach to your vms run_duration the duration you want the requested vms to run you must format the value as the number of days hours minutes or seconds followed by d h m and s respectively for example specify 30m for 30 minutes or 1d2h3m4s for one day two hours three minutes and four seconds the value must be between 10 minutes and seven days rest to create an instance template make a post request to one of the following methods to create a regional instance template regioninstancetemplates insert method to create a global instance template instancetemplates insert method in the request body include the following fields the reservationaffinity consumereservationtype field set to no_reservation the scheduling instanceterminationaction field set to delete the scheduling maxrunduration field the scheduling onhostmaintenance field set to terminate the scheduling provisioningmodel field set to flex_start the following example request creates a regional instance template post https compute googleapis com compute v1 projects project_id regions region instancetemplates name instance_template_name properties disks boot true initializeparams sourceimage projects image_project global images image machinetype machine_type networkinterfaces network global networks default reservationaffinity consumereservationtype no_reservation scheduling instanceterminationaction delete maxrunduration seconds run_duration onhostmaintenance terminate provisioningmodel flex_start replace the following project_id the id of the project in which to create the instance template region the region in which to create the instance template instance_template_name the name of the instance template to create image_project the image project that contains the image for example debian cloud for more information about the supported image projects see public images image specify one of the following a specific version of the os image for example debian 12 bookworm v20240617 an image family which must be formatted as family image_family specify an image family to use the most recent non depre...
|