- INFORMATION
-
gcloud alpha compute instance-groups managed configure-accelerator-topologiesis not available in universe domainuniverse. - NAME
-
- gcloud alpha compute instance-groups managed configure-accelerator-topologies - configure accelerator topologies of a Compute Engine managed instance group
- SYNOPSIS
-
-
gcloud alpha compute instance-groups managed configure-accelerator-topologiesINSTANCE_GROUP_MANAGER[--zone=ZONE] [--accelerator-topology-actions=[TOPOLOGY_ID=ACTION,…] |--accelerator-topology-configurations=[topology=TOPOLOGY_ID,[action=ACTION],[external-id=EXTERNAL_ID],…]] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)gcloud alpha compute instance-groups managed configure-accelerator-topologiesconfigures the state of accelerator topologies for a Compute Engine managed instance group (MIG).Accelerator topologies represent physical or logical groupings of tightly coupled hardware resources, such as TPU slices or advanced GPU clusters, connected via high-speed interconnects.
You can use this command to activate or deactivate specific accelerator topologies, or to assign external identifiers to them. To discover the available accelerator topology IDs for your managed instance group, use the
getAvailableAcceleratorTopologiesAPI method. - EXAMPLES
-
To activate an accelerator topology with ID
topology-1for a managed instance group namedmy-migin zoneus-central1-a, run:gcloud alpha compute instance-groups managed configure-accelerator-topologies my-mig --zone=us-central1-a --accelerator-topology-actions=topology-1=ACTIVATETo deactivate an accelerator topology
topology-1and simultaneously activatetopology-2, run:gcloud alpha compute instance-groups managed configure-accelerator-topologies my-mig --zone=us-central1-a --accelerator-topology-actions=topology-1=DEACTIVATE,topology-2=ACTIVATETo configure an accelerator topology
topology-1with an external identifierext-slice-123and set its action toACTIVATE, run:gcloud alpha compute instance-groups managed configure-accelerator-topologies my-mig --zone=us-central1-a --accelerator-topology-configurations=topology=topology-1,action=ACTIVATE,external-id=ext-slice-123 - POSITIONAL ARGUMENTS
-
INSTANCE_GROUP_MANAGER- Name of the managed instance group to operate on.
- FLAGS
-
--zone=ZONE-
Zone of the managed instance group to operate on. If not specified and the
property isn't set, you might be prompted to select a zone (interactive mode only).compute/zoneTo avoid prompting when this flag is omitted, you can set the
property:compute/zonegcloud config set compute/zone ZONEA list of zones can be fetched by running:
gcloud compute zones listTo unset the property, run:
gcloud config unset compute/zoneAlternatively, the zone can be stored in the environment variable
.CLOUDSDK_COMPUTE_ZONE -
At most one of these can be specified:
--accelerator-topology-actions=[TOPOLOGY_ID=ACTION,…]-
A map of accelerator topologies that should have their state changed to the
specified action. The key is the accelerator topology ID (obtained from
getAvailableAcceleratorTopologies), and the value is the desired action (ACTIVATEorDEACTIVATE). --accelerator-topology-configurations=[topology=TOPOLOGY_ID,[action=ACTION],[external-id=EXTERNAL_ID],…]-
A map of accelerator topologies that should have their configuration changed.
Subkeys must include
topology(the accelerator topology ID obtained fromgetAvailableAcceleratorTopologies), and can includeaction(ACTIVATEorDEACTIVATE) andexternal-id(an external identifier used to uniquely identify the topology).
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
gcloud alpha compute instance-groups managed configure-accelerator-topologies
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-06-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-30 UTC."],[],[]]