Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Compute Cloud
    • All guides
      • Updating an instance group
      • Updating an instance group based on a YAML specification
      • Disabling and enabling availability zones for an instance group
      • Moving an instance group to a different availability zone
      • Moving an instance group with a network load balancer to a different availability zone
      • Moving an instance group with an L7 load balancer to a different availability zone
      • Configuring application health checks on a VM instance
      • Pausing an instance group
      • Resuming an instance group
      • Sequentially restarting instances in a group
      • Sequentially recreating instances in a group
      • Stopping an instance group
      • Starting an instance group
      • Configuring instance group access permissions
      • Removing an instance group from a placement group
      • Deleting an instance group
    • Viewing service resource operations
    • Viewing metrics in Monitoring
    • NVIDIA driver update guide
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Disabling an availability zone
  • Enabling an availability zone
  • Viewing the availability zone status and time before activation
  • See also
  1. Step-by-step guides
  2. Managing an instance group
  3. Disabling and enabling availability zones for an instance group

Disabling and enabling availability zones for a Yandex Compute Cloud instance group

Written by
Yandex Cloud
Updated at December 29, 2025
  • Disabling an availability zone
  • Enabling an availability zone
  • Viewing the availability zone status and time before activation
    • See also

In Compute Cloud, you can temporarily disable one or more availability zones for an instance group. This helps maintain your services available during events affecting the availability zone, such as testing, maintenance, outages, or incidents.

For example, disabling a zone for an instance group prevents gray failures in that zone, i.e., situations where health checks and monitoring tools show no failures, yet a portion of the actual traffic fails to reach your instances there.

Also, a good practice is to temporarily disable a zone during a zonal incident, so you can gradually reintroduce instances from the affected zone in a controlled manner. See Instance group in a temporarily disabled zone during an incident for details.

Warning

You cannot temporary disable zones for instance groups created by a Managed Service for Kubernetes cluster as its node groups.

You can re-enable a group’s availability zone at any time or set a timeout for automatic reactivation.

For more information on instance group behavior when an availability zone is disabled, see this page.

Disabling an availability zoneDisabling an availability zone

CLI

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. See the description of the command to disable an availability zone:

    yc compute instance-group disable-zones --help
    
  2. Get a list of all instance groups in the default folder:

    yc compute instance-group list
    

    Result:

    +----------------------+----------------------+--------+------+
    |          ID          |         NAME         | STATUS | SIZE |
    +----------------------+----------------------+--------+------+
    | amc65sbgfqeq******** | test-group           | ACTIVE |    3 |
    | cl1cvs4firjj******** | catsf2nfq0mh******** | ACTIVE |    1 |
    +----------------------+----------------------+--------+------+
    
  3. Disable one or more availability zones for the group:

    yc compute instance-group disable-zones \
      --id <instance_group_ID> \
      --zones=<zone_1_ID>,[<zone_2_ID>] \
      --duration=<duration> 
    

    Where:

    • --id: Instance group ID.
    • --zones: Availability zone IDs, e.g., ru-central1-a.
    • --duration: Duration, from 1m to 72h. No value stands for unlimited duration. If zones are provided as a list, they all will be disabled for the specified period.

Enabling an availability zoneEnabling an availability zone

CLI

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. See the description of the command to enable an availability zone:

    yc compute instance-group enable-zones --help
    
  2. Get a list of all instance groups in the default folder:

    yc compute instance-group list
    

    Result:

    +----------------------+----------------------+--------+------+
    |          ID          |         NAME         | STATUS | SIZE |
    +----------------------+----------------------+--------+------+
    | amc65sbgfqeq******** | test-group           | ACTIVE |    3 |
    | cl1cvs4firjj******** | catsf2nfq0mh******** | ACTIVE |    1 |
    +----------------------+----------------------+--------+------+
    
  3. Enable one or more availability zones for the group:

    yc compute instance-group enable-zones \
      --id <instance_group_ID> \
      --zones=<zone_1_ID>,[<zone_2_ID>]
    

    Where:

    • --id: Instance group ID.
    • --zones: Availability zone IDs, e.g., ru-central1-a.

Viewing the availability zone status and time before activationViewing the availability zone status and time before activation

CLI

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

Run the command below and specify the instance group ID:

yc compute instance-group get \
  --id <instance_group_ID>

Result:

id: amc65sbgfqeq********
...
disable_zone_statuses:
  - zone_id: ru-central1-a
  - zone_id: ru-central1-b
    disabled_until: "2025-06-06T04:10:02.679608678Z"

Where disabled_until indicates the availability zone auto-activation time.

See alsoSee also

  • Temporarily disabling availability zones for Yandex Compute Cloud instance groups
  • Disabling and enabling availability zones in Yandex Network Load Balancer
  • Disabling and enabling availability zones in Yandex Application Load Balancer
  • Yandex Compute Cloud instance groups during a zonal incident

Was the article helpful?

Previous
Updating an instance group based on a YAML specification
Next
Moving an instance group to a different availability zone
© 2025 Direct Cursus Technology L.L.C.