Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Compute Cloud
    • All guides
        • Updating an instance group
        • Updating an instance group based on a YAML specification
        • Enable deletion protection
        • 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
          • Rolling updates
          • Zero-downtime updates
        • 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 operations with resources
    • Viewing metrics Monitoring
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Instance groups
  3. Management
  4. Updating a group
  5. Zero-downtime updates

Zero-downtime updates

Written by
Yandex Cloud
Updated at July 31, 2026
View as Markdown

To keep your service available, you can update instance groups by creating additional instances with new configurations.
As you add VM instances with the new configuration to the group, those with the old configuration will be removed.

Proceed as follows:

  1. Define the instance template you need.
  2. Set the deployment policy with a non-zero value for max_expansion, which stands for the maximum number of additional instances to create.
  3. Start group updating.

For example, to update a group by adding and removing one VM instance at a time, configure deploy-policy as follows:

...
deploy-policy:
    max_unavailable = 0
    max_expansion = 1
    ...
...

The group will be updated as follows:

Blue-green deployment

Was the article helpful?

Previous
Rolling updates
Next
Pausing an instance group
© 2026 Direct Cursus Technology L.L.C.