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
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Compute Cloud
    • All guides
      • Stopping and starting a VM
      • Resetting a Windows Server VM user password
      • Attaching a disk to a VM
      • Detaching a disk from a VM
      • Moving a VM to a different availability zone
      • Moving a VM to a different folder
      • Moving a VM to a different cloud
      • Adding another network interface to a VM
      • Deleting a network interface from a VM
      • Assigning a public IP address to a VM
      • Unassigning a public IP address from a VM
      • Making a VM public IP address static
      • Reassigning a public IP address from one VM to another
      • Updating the VM internal IP address
      • Updating a VM
      • Changing VM computing resources
      • Changing VM security groups
      • VM maintenance policy management
      • Configuring VM access permissions
      • Linking a service account to a VM
      • Deleting a VM
    • Viewing operations with resources
  • Yandex Container Solution
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Stopping
  • Starting
  • Restarting
  1. Step-by-step guides
  2. Managing a VM
  3. Stopping and starting a VM

Stopping, starting, or restarting a VM

Written by
Yandex Cloud
Updated at May 5, 2025
  • Stopping
  • Starting
  • Restarting

StoppingStopping

The Stop command shuts down a VM. Once a VM is shut down, its status changes to Stopped. While the VM is stopped, you will not be charged for it. Disk usage is billed separately, regardless of the VM's state.

You can restart a VM at any time to continue using it. All your data and changes will be saved.

Certain VM parameters can only be modified when the VM is stopped.

To stop a VM:

Management console
CLI
API
  1. In the management console, select the folder the VM belongs to.
  2. Select Compute Cloud.
  3. To stop a single VM, select the VM, click , and select Stop.
  4. In the window that opens, click Stop.

To stop multiple VMs, select the VMs from the list, click Stop at the bottom of the screen, and then, 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 a VM:

    yc compute instance stop --help
    
  2. Get a list of all VMs in the default folder:

    yc compute instance list
    

    Result:

    +----------------------+-----------------+---------------+---------+----------------------+
    |          ID          |       NAME      |    ZONE ID    | STATUS  |     DESCRIPTION      |
    +----------------------+-----------------+---------------+---------+----------------------+
    | fhm0b28lgfp4******** | first-instance  | ru-central1-a | RUNNING | my first vm via CLI  |
    | fhm9gk85nj7g******** | second-instance | ru-central1-a | RUNNING | my second vm via CLI |
    +----------------------+-----------------+---------------+---------+----------------------+
    
  3. Select ID or NAME of the VM, e.g., first-instance.

  4. Stop the VM:

    yc compute instance stop first-instance
    

Use the stop REST API method for the Instance resource or the InstanceService/Stop gRPC API call.

When a VM stops, the hypervisor sends a shutdown signal to the VM operating system. The OS has 30 seconds to gracefully terminate all running processes to avoid data loss. After this time elapses, the VM will be forcibly terminated.

StartingStarting

The Start command starts a previously stopped VM. Once the VM is started, its status changes to Running, and the operating system starts loading. From this point on, you will be charged for using the VM.

To start a VM:

Management console
CLI
API
  1. In the management console, select the folder the VM belongs to.
  2. Select Compute Cloud.
  3. To start a single VM, select the VM, click , and select Start.
  4. In the window that opens, click Start.

To start multiple VMs, select the VMs from the list, click Start at the bottom of the screen, and then, in the window that opens, click Start.

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 starting a VM:

    yc compute instance start --help
    
  2. Get a list of all VMs in the default folder:

    yc compute instance list
    

    Result:

    +----------------------+-----------------+---------------+---------+----------------------+
    |          ID          |       NAME      |    ZONE ID    | STATUS  |     DESCRIPTION      |
    +----------------------+-----------------+---------------+---------+----------------------+
    | fhm0b28lgfp4******** | first-instance  | ru-central1-a | RUNNING | my first vm via CLI  |
    | fhm9gk85nj7g******** | second-instance | ru-central1-a | RUNNING | my second vm via CLI |
    +----------------------+-----------------+---------------+---------+----------------------+
    
  3. Select ID or NAME of the VM, e.g., first-instance.

  4. Run the VM:

    yc compute instance start first-instance
    

Use the start REST API method for the Instance resource or the InstanceService/Start gRPC API call.

RestartingRestarting

The Restart command restarts a VM.

To restart a VM:

Management console
CLI
API
  1. In the management console, select the folder the VM belongs to.
  2. Select Compute Cloud.
  3. To restart a single VM, select the VM, click , and select Restart.
  4. In the window that opens, click Restart.

To restart multiple VMs, select the VMs from the list, click Restart at the bottom of the screen, and then, in the window that opens, click Restart.

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 restarting a VM:

    yc compute instance restart --help
    
  2. Get a list of all VMs in the default folder:

    yc compute instance list
    

    Result:

    +----------------------+-----------------+---------------+---------+----------------------+
    |          ID          |       NAME      |    ZONE ID    | STATUS  |     DESCRIPTION      |
    +----------------------+-----------------+---------------+---------+----------------------+
    | fhm0b28lgfp4******** | first-instance  | ru-central1-a | RUNNING | my first vm via CLI  |
    | fhm9gk85nj7g******** | second-instance | ru-central1-a | RUNNING | my second vm via CLI |
    +----------------------+-----------------+---------------+---------+----------------------+
    
  3. Select ID or NAME of the VM, e.g., first-instance.

  4. Restart the VM:

    yc compute instance restart first-instance
    

Use the restart REST API method for the Instance resource or the InstanceService/Restart gRPC API call.

Was the article helpful?

Previous
Getting the serial port output
Next
Resetting a Windows Server VM user password
© 2025 Direct Cursus Technology L.L.C.