How to start, stop, and restart a server
Written by
Updated at December 1, 2025
Stopping
To stop a server:
Management console
CLI
- In the management console
, select the folder containing your server. - Go to BareMetal.
- Find the server you need in the list, click
in its row, then select Stop. - In the window that opens, click Stop.
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.
-
View the description of the command to stop the server:
yc baremetal server power-off --help -
Run this command:
yc baremetal server power-off <server_name_or_ID>
Starting
To start a stopped server:
Management console
CLI
- In the management console
, select the folder the stopped server belongs to. - Go to BareMetal.
- Find the server you need in the list, click
in its row, then select Start.
-
View the description of the command to start the server:
yc baremetal server power-on --help -
Run this command:
yc baremetal server power-on <server_name_or_ID>
Restarting
To restart a server:
Management console
CLI
- In the management console
, select the folder containing your server. - Go to BareMetal.
- Find the server you need in the list, click
in its row, then select Reboot. - In the window that opens, click Reboot. The server status will change to
Restarting.
-
View the description of the command to restart the server:
yc baremetal server reboot --help -
Run this command:
yc baremetal server reboot <server_name_or_ID>