Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • 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
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Application Load Balancer
  • Getting started
    • All guides
    • Creating Application Load Balancer infrastructure through a wizard
      • Creating an L7 load balancer
      • Editing an L7 load balancer
      • Getting information about an L7 load balancer
      • Viewing L7 load balancer statistics
      • Setting up alerts
      • Viewing L7 load balancer logs
      • Setting up L7 load balancer logging
      • Getting a log group ID of an L7 load balancer
      • Stopping and starting an L7 load balancer
      • Moving a VM to a target group in a different availability zone
        • Allowing and denying availability zone shutdown
        • Enabling and disabling an availability zone
      • Deleting an L7 load balancer
    • Viewing service resource operations
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • L7 load balancer logs
  • Release notes

In this article:

  • Disabling an availability zone
  • Viewing the availability zone activation time
  • Enabling an availability zone
  1. Step-by-step guides
  2. L7 load balancers
  3. Availability zone management
  4. Enabling and disabling an availability zone

Enabling and disabling an availability zone

Written by
Yandex Cloud
Updated at October 20, 2025
  • Disabling an availability zone
  • Viewing the availability zone activation time
  • Enabling an availability zone

If an availability zone is under maintenance or fails, Yandex Cloud technicians may temporarily disable that zone.

You can also manually disable one or more availability zones to address the following scenarios:

  • Reducing load during localized issues, e.g., after a faulty app release on your backend or an incident caused by high traffic or misconfiguration. Temporarily disabling the affected zone helps prevent service disruption or quickly restore app functionality for your users.

  • Testing the resilience of your load balancer and traffic failover mechanisms. This way, you can proactively identify potential weaknesses, apply fixes, and optimize your load balancer settings in advance.

Disabling an availability zoneDisabling an availability zone

CLI
API

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. View the command description:

    yc application-load-balancer load-balancer disable-zones --help
    
  2. To start redistributing traffic, disable the availability zone and specify the deactivation time:

    yc application-load-balancer load-balancer disable-zones \
      <load_balancer_name_or_ID> \
      --zones <availability_zones>
      --duration <deactivation_time>
    

    Where:

    • <load_balancer_name_or_ID>: Load balancer ID or name.

    • --zones: Availability zones to disable, separated by commas.

    • --duration: Time from 1m to 72h when the zone will be disabled.

      After the specified time elapses, the zone will automatically return to its initial state (enabled) for the CLI and API. These settings will be applied without your intervention.

      If this parameter is not specified, the zone will remain disabled until you enable it manually.

    Here is an example:

    yc application-load-balancer load-balancer disable-zones \
      my-balancer \
      --zones ru-central1-a \
      --duration 1h
    

    Result:

    id: ds70q425egoe********
    name: my-balancer
    ...
    allocation_policy:
      locations:
        - zone_id: ru-central1-a
          subnet_id: e2lptlobccu6********
          zonal_shift_active: true
          zonal_traffic_disabled: true
        - zone_id: ru-central1-b
          subnet_id: e9bo5ir5prfi********
    ...
    

To disable an availability zone, use the DisableZones REST API method for the LoadBalancer resource or the LoadBalancerService/DisableZones gRPC API call.

Viewing the availability zone activation timeViewing the availability zone activation time

Management console
  1. In the management console, select the folder with your load balancer.

  2. From the list of services, select Application Load Balancer and then select the load balancer you need.

  3. Under Allocation, next to the availability zone, view its status.

    If you set the deactivation duration, you will see the end time next to the zone.

Enabling an availability zoneEnabling an availability zone

CLI
API

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 application-load-balancer load-balancer enable-zones --help
    
  2. Enable an availability zone:

    yc application-load-balancer load-balancer enable-zones \
      <load_balancer_name_or_ID> \
      --zones <availability_zones>
    

    Here is an example:

    yc application-load-balancer load-balancer enable-zones \
      my-balancer \
      --zones ru-central1-a
    

    Result:

    id: ds70q425egoe********
    name: my-balancer
    ...
    allocation_policy:
      locations:
        - zone_id: ru-central1-a
          subnet_id: e9bo5ir5prfi********
        - zone_id: ru-central1-b
          subnet_id: e2lptlobccu6******** 
    ...
    

To enable an availability zone, use the EnableZones REST API method for the LoadBalancer resource or the LoadBalancerService/EnableZones gRPC API call.

Note

Previously, the start-zonal-shift and cancel-zonal-shift CLI commands and the StartZonalShift and CancelZonalShift API methods were used to enable and disable availability zones. They are now deprecated and will soon be removed.

Was the article helpful?

Previous
Allowing and denying availability zone shutdown
Next
Deleting an L7 load balancer
© 2025 Direct Cursus Technology L.L.C.