Stopping, starting, or restarting a VM
Stop
This Stop command shuts down the VM. Once shut down, the VM status changes to Stopped
. While the VM is stopped, no fee is charged for its use. You are charged for using disks whether the VM is running or not.
You can restart a VM at any time to continue using it. All data and changes you have made are saved.
Certain VM parameters can only be modified when the VM is stopped.
To stop a VM:
- In the management console
, select the folder the VM belongs to. - Select Compute Cloud.
- To stop a single VM, select the VM, click
- In the window that opens, click Stop.
To perform this action with multiple VMs, select the relevant VMs in the list, click Stop at the bottom of the screen, and then, in the window that opens, click Stop.
If you don't have the Nebius AI command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
-
View a description of the CLI command to stop a VM:
ncp compute instance stop --help
-
Get a list of all VMs in the default folder:
ncp compute instance list
Result:
+----------------------+-----------------+---------------+---------+ | ID | NAME | ZONE ID | STATUS | +----------------------+-----------------+---------------+--------- | fhm0b28lgfp4tkoa3jl6 | first-instance | eu-north1-c | RUNNING | | fhm9gk85nj7gcoji2f8s | second-instance | eu-north1-c | RUNNING | +----------------------+-----------------+---------------+---------
-
Select the VM
ID
orNAME
(for example,first-instance
). -
Stop the VM:
ncp compute instance stop first-instance
Start
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:
- In the management console
, select the folder the VM belongs to. - Select Compute Cloud.
- To start a single VM, select the VM, click
- In the window that opens, click Start.
To perform this action with multiple VMs, select the relevant VMs in the list, click Start at the bottom of the screen, and then, in the window that opens, click Start.
If you don't have the Nebius AI command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
-
View a description of the CLI command that starts a VM:
ncp compute instance start --help
-
Get a list of all VMs in the default folder:
ncp compute instance list
Result:
+----------------------+-----------------+---------------+---------+ | ID | NAME | ZONE ID | STATUS | +----------------------+-----------------+---------------+--------- | fhm0b28lgfp4tkoa3jl6 | first-instance | eu-north1-c | RUNNING | | fhm9gk85nj7gcoji2f8s | second-instance | eu-north1-c | RUNNING | +----------------------+-----------------+---------------+---------
-
Select the VM
ID
orNAME
(for example,first-instance
). -
Run the VM:
ncp compute instance start first-instance
Restart
The Restart command restarts a VM.
To restart a VM:
- In the management console
, select the folder the VM belongs to. - Select Compute Cloud.
- To restart a single VM, select the VM, click
- In the window that opens, click Restart.
To perform this action with multiple VMs, select the relevant VMs in the list, click Restart at the bottom of the screen, and then, in the window that opens, click Restart.
If you don't have the Nebius AI command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
-
View a description of the CLI command that restarts a VM:
ncp compute instance restart --help
-
Get a list of all VMs in the default folder:
ncp compute instance list
Result:
+----------------------+-----------------+---------------+---------+ | ID | NAME | ZONE ID | STATUS | +----------------------+-----------------+---------------+--------- | fhm0b28lgfp4tkoa3jl6 | first-instance | eu-north1-c | RUNNING | | fhm9gk85nj7gcoji2f8s | second-instance | eu-north1-c | RUNNING | +----------------------+-----------------+---------------+---------
-
Select the VM
ID
orNAME
(for example,first-instance
). -
Restart the VM:
ncp compute instance restart first-instance