Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Compute Cloud
    • All guides
      • Updating an instance group
      • Updating an instance group based on a YAML specification
      • 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 operations with resources
  • Yandex Container Solution
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Changing the name and description
  • Changing computing resources
  • Increasing the disk size
  1. Step-by-step guides
  2. Managing an instance group
  3. Updating an instance group

Updating an instance group

Written by
Yandex Cloud
Updated at May 5, 2025
  • Changing the name and description
  • Changing computing resources
  • Increasing the disk size

After creating an instance group, you can:

  • Change the name and description.
  • Change computing resources.
  • Increase the disk size.

Changing the name and descriptionChanging the name and description

To change the name and description of an instance group:

Management console
CLI
API
  1. In the management console, open the folder containing the instance group you need.
  2. Select Compute Cloud.
  3. In the left-hand panel, select Instance groups.
  4. Select the group to update.
  5. In the top-right corner of the page, click Edit.
  6. Fill in the Name and Description fields.
  7. Click Save.

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

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. See the description of the CLI command for updating an instance group:

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

    yc compute instance-group list
    

    Result:

    +----------------------+-----------------------+------+
    |          ID          |         NAME          | SIZE |
    +----------------------+-----------------------+------+
    | amc65sbgfqeq******** | first-instance-group  |    2 |
    +----------------------+-----------------------+------+
    
  3. Select ID of the instance group in question.

  4. Specify the name and description you need in the YAML file that was used to create the group, e.g., specification.yaml. If this YAML file is missing, get info on the instance group and create a new file. For more information, see Creating a fixed-size instance group.

  5. Update the instance group in the default folder:

    yc compute instance-group update --id <instance_group_ID> --file specification.yaml
    

    Instance Groups will initiate instance group updating.

To change the name and description of an instance group, use the update REST API method for the InstanceGroup resource or the InstanceGroupService/Update gRPC API call.

To request a list of available instance groups, use the listInstances REST API method or the InstanceGroupService/ListInstances gRPC API call.

Changing computing resourcesChanging computing resources

After creating an instance group, you can change:

  • Guaranteed vCPU share.
  • Number of vCPUs and amount of RAM.

Warning

If the instance group is stopping or is already stopped, updates are applied only when the group starts again.

To change computing resources of an instance group:

Management console
CLI
API
  1. In the management console, open the folder containing the instance group you need.
  2. Select Compute Cloud.
  3. In the left-hand panel, select Instance groups.
  4. Select the group to update.
  5. In the top-right corner of the page, click Edit.
  6. Under Instance template:
    • Click in the top-right corner and select Delete to delete the current instance template.
    • Click Define to create a new template with required instance parameters.
    • Click Save.
  7. Click Save on the Changing an instance group page.

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

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. See the description of the CLI command for updating an instance group:

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

    yc compute instance-group list
    

    Result:

    +----------------------+-----------------------+------+
    |          ID          |         NAME          | SIZE |
    +----------------------+-----------------------+------+
    | amc65sbgfqeq******** | first-instance-group  |    2 |
    +----------------------+-----------------------+------+
    
  3. Select ID of the instance group in question.

  4. Specify the required instance parameters in the resources_spec key in the YAML file that was used to create the group, e.g., specification.yaml. If this YAML file is missing, get info on the instance group and create a new file. For more information, see Creating a fixed-size instance group.

  5. Update the instance group in the default folder:

    yc compute instance-group update --id <instance_group_ID> --file specification.yaml
    

    Instance Groups will initiate instance group updating.

To change computing resources, use the update REST API method for the InstanceGroup resource or the InstanceGroupService/Update gRPC API call.

To request a list of available instance groups, use the listInstances REST API method or the InstanceGroupService/ListInstances gRPC API call.

Increasing the disk sizeIncreasing the disk size

Warning

If the instance group is stopping or is already stopped, updates are applied only when the group starts again.

To increase the disk size of an instance group:

Management console
CLI
API
  1. In the management console, open the folder containing the instance group you need.
  2. Select Compute Cloud.
  3. In the left-hand panel, select Instance groups.
  4. Select the group to update.
  5. In the top-right corner of the page, click Edit.
  6. In the top-right corner of the Instance template section, click and select Edit.
  7. Under Disks and file storages, specify the disk size.
  8. Click Save.
  9. Click Save on the Changing an instance group page.

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

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. See the description of the CLI command for updating an instance group:

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

    yc compute instance-group list
    

    Result:

    +----------------------+-----------------------+------+
    |          ID          |         NAME          | SIZE |
    +----------------------+-----------------------+------+
    | amc65sbgfqeq******** | first-instance-group  |    2 |
    +----------------------+-----------------------+------+
    
  3. Select ID of the instance group in question.

  4. Specify the required storage size in the boot_disk_spec key in the YAML file that was used to create the group, e.g., specification.yaml. If this YAML file is missing, get info on the instance group and create a new file. For more information, see Creating a fixed-size instance group.

  5. Update the instance group in the default folder:

    yc compute instance-group update --id <instance_group_ID> --file specification.yaml
    

    Instance Groups will initiate instance group updating.

To change the disk size, use the update REST API method for the InstanceGroup resource or the InstanceGroupService/Update gRPC API call.

To request a list of available instance groups, use the listInstances REST API method or the InstanceGroupService/ListInstances gRPC API call.

Was the article helpful?

Previous
Getting a list of instances in a group
Next
Updating an instance group based on a YAML specification
Yandex project
© 2025 Yandex.Cloud LLC