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
  1. Step-by-step guides
  2. Managing an instance group
  3. Stopping an instance group

Stopping an instance group

Written by
Yandex Cloud
Updated at May 5, 2025

If you do not need instances in a group for now, stop the group. All VM instances in the group will be stopped. If an instance group is very large and creating that many VM instances is time-consuming, it is more efficient to stop the group rather than deleting it or scaling it down to zero.

Note

If you stop a single VM instance in a group rather than the entire group, Instance Groups will automatically restart that instance.

For stopped instances, only disks are billable. If you do not want to pay for disk usage, scale down the instance group to zero or delete the group. To avoid losing data, make snapshots of the disks.

Management console
CLI
API
  1. In the management console, open the folder containing the instance group in question.
  2. Select Compute Cloud.
  3. In the left-hand panel, select Instance groups.
  4. In the line with the instance group, click and select Stop group and VM.
  5. In the window that opens, click Stop.

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 stopping an instance group:

    yc compute instance-group stop --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 or NAME of the group in question, e.g., first-instance-group.

  4. Stop the instance group in the default folder:

    yc compute instance-group stop first-instance-group
    

    Instance Groups will initiate stopping VM instances in the group. When all instances are stopped, the group will get the STOPPED status.

To stop an instance group, use the stop REST API method for the InstanceGroup resource or the InstanceGroupService/Stop 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
Sequentially recreating instances in a group
Next
Starting an instance group
Yandex project
© 2025 Yandex.Cloud LLC