Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Intertech Services AG
Yandex Compute Cloud
  • Getting started
  • Step-by-step guides
    • All guides
    • Creating VMs
    • DSVM
    • Placement groups
    • Images with pre-installed software
    • Getting information about a VM
    • Managing VMs
    • Working on VMs
    • Managing the password reset agent
    • Creating a disk
    • Disk management
    • Disk snapshots
    • Disk placement groups
    • Creating an image
    • Managing images
    • File storage
    • Managing the serial console
    • Creating instance groups
    • Getting information about instance groups
    • Managing instance groups
      • Editing an instance group
      • Edit an instance group based on the YAML specification
      • Configuring application health check on the VM
      • Updating a group
        • Incremental update
        • Uninterrupted updates
      • Pausing an instance group
      • Resuming an instance group
      • Stopping an instance group
      • Starting an instance group
      • Deleting an instance group
    • Dedicated hosts
    • GPU clusters
  • Yandex Container Solution
  • Tutorials
  • Concepts
  • Access management
  • Pricing policy
  • API reference
  • Questions and answers
  1. Step-by-step guides
  2. Managing instance groups
  3. Updating a group
  4. Uninterrupted updates

Uninterrupted updates

Written by
Yandex Cloud

To avoid service unavailability, you can update an instance group by creating additional instances with a new configuration.
As you add instances with a new configuration to the group, the instances with the old configuration are deleted.

To do this:

  1. Describe the appropriate instance template.
  2. Set the deployment policy with a non-zero value of max_expansion: the maximum number of additionally created instances.
  3. Run a group's update operation.

For example, to update a group using the algorithm described, set the following parameters in the deploy-policy:

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

The group will be updated as follows:

Blue-green deployment

Was the article helpful?

Language / Region
Yandex project
© 2023 Intertech Services AG