Yandex Cloud
Поиск
Связаться с намиПопробовать бесплатно
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
  • Marketplace
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Истории успеха
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Compute Cloud
  • Yandex Container Solution
  • Управление доступом
  • Правила тарификации
    • Overview
    • connect-to-serial-port
      • Overview
      • add-access-binding
      • add-labels
      • add-metadata
      • create
      • delete
      • delete-instances
      • disable-zones
      • enable-zones
      • get
      • list
      • list-access-bindings
      • list-instances
      • list-logs
      • list-operations
      • remove-access-binding
      • remove-labels
      • remove-metadata
      • rolling-recreate
      • rolling-restart
      • set-access-bindings
      • start
      • stop
      • stop-instances
      • update
  • Справочник Terraform
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • История изменений
  • Обучающие курсы
  1. Справочник CLI (англ.)
  2. instance-group
  3. update

yc compute instance-group update

Статья создана
Yandex Cloud
Обновлена 27 января 2026 г.

Update the specified instance group

Command UsageCommand Usage

Syntax:

yc compute instance-group update <INSTANCE-GROUP-NAME>|<INSTANCE-GROUP-ID> [Global Flags...]

Aliases:

  • apply

FlagsFlags

Flag

Description

--id

string

instance group id.

--name

string

instance group name.

--async

Display information about the operation in progress, without waiting for the operation to complete.

--file

string

A specification will be loaded from specified file in yaml format

--new-name

string

A new name of the instance group.

--description

string

A new description of the instance group.

--labels

key=value

Resource labels as key=value pairs. The existing set of labels is completely replaced by the provided set.

--variables

key=value

Variables as key=value pairs. The existing set of variables is completely replaced by the provided set.

--scale-policy-fixed-scale-size

int

[Fixed scaling policy] The number of instances in the instance group.

--scale-policy-auto-scale-min-zone-size

int

[Automatic scaling policy] Lower limit for instance count in each zone.

--scale-policy-auto-scale-max-size

int

[Automatic scaling policy] Upper limit for total instance count (across all zones).

--service-account-id

string

The service account will be used for all API calls, made by the Instance Groups component on behalf of the user.

--service-account-name

string

The service account will be used for all API calls, made by the Instance Groups component on behalf of the user.

--template-name

string

A name of the instance.

--template-description

string

Description of the instance template.

--template-labels

instance_template.labels

A list of label KEY=VALUE pairs to add. The existing set of instance_template.labels is completely replaced by the provided set.

--template-metadata

key=value

The metadata key=value pairs assigned to this instance template. This includes custom metadata and predefined keys. The existing set of instance_template.metadata is completely replaced by the provided set.

--template-metadata-files

instance_template.metadata

Same as --template-metadata except that the value for the entry will be read from a local file. The existing set of instance_template.metadata is completely replaced by the provided set.

--template-memory

int

The amount of memory available to the instance, specified in bytes.

--template-cores

int

The number of cores available to the instance.

--template-core-fraction

int

If provided, specifies baseline performance for a core in percent.

--template-gpus

int

The number of GPUs available to the instance.

--template-platform

string

ID of the hardware platform configuration for the instance.

--template-placement-group

string

Identifier of placement group

--template-service-account-id

string

Service account ID for the instance.

--template-service-account-name

string

Service account NAME for the instance.

Global FlagsGlobal Flags

Flag

Description

--profile

string

Set the custom configuration file.

--debug

Debug logging.

--debug-grpc

Debug gRPC logging. Very verbose, used for debugging connection problems.

--no-user-output

Disable printing user intended output to stderr.

--retry

int

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout.

--cloud-id

string

Set the ID of the cloud to use.

--folder-id

string

Set the ID of the folder to use.

--folder-name

string

Set the name of the folder to use (will be resolved to id).

--endpoint

string

Set the Cloud API endpoint (host:port).

--token

string

Set the OAuth token to use.

--impersonate-service-account-id

string

Set the ID of the service account to impersonate.

--no-browser

Disable opening browser for authentication.

--format

string

Set the output format: text (default), yaml, json, json-rest.

--jq

string

Query to select values from the response using jq syntax

-h, --help

Display help for the command.

  • Настроить проверку состояния приложения на ВМ
  • Включить защиту от удаления для группы виртуальных машин Compute Cloud
  • Перенести группу виртуальных машин с L7-балансировщиком в другую зону доступности
  • Перенести группу виртуальных машин с сетевым балансировщиком нагрузки в другую зону доступности
  • Перенести группу виртуальных машин в другую зону доступности
  • Изменить группу виртуальных машин по спецификации в формате YAML
  • Изменить имя и описание
  • Исключить группу виртуальных машин из группы размещения

Была ли статья полезна?

Предыдущая
stop-instances
Следующая
Overview
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»