Launching, restarting, and stopping a desktop
Written by
Updated at November 25, 2024
Start
Management console
User desktop showcase
- In the management console
, select the folder containing the desktop. - In the list of services, select Cloud Desktop.
- In the left-hand panel, select
Desktops. - Next to the desktop to launch, click
and select Start. - Confirm that you want to launch the desktop.
- Open the User desktop showcase
. - In the card of the desktop to launch, click
. - Confirm that you want to launch the desktop.
Restart
Management console
User desktop showcase
Yandex Cloud CLI
- In the management console
, select the folder containing the desktop. - In the list of services, select Cloud Desktop.
- In the left-hand panel, select
Desktops. - Next to the desktop to launch, click
and select Restart. - Confirm that you want to restart the desktop.
- Open the User desktop showcase
. - In the card of the desktop to restart, click
. - Confirm that you want to restart the desktop.
If you do not have the Yandex Cloud 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 desktop:
yc desktops desktop restart --help
-
Get a list of desktops in the default folder:
yc desktops desktop list
Result:
+----------------------+------------------+--------+----------------------+---------------------+ | ID | NAME | STATUS | DESKTOP GROUP ID | CREATED (UTC-0) | +----------------------+------------------+--------+----------------------+---------------------+ | e3vmvhgbgac4******** | my-cloud-desktop | ACTIVE | e3v1rbln45tl******** | 2024-10-09 22:42:28 | | e3vio1bc5ppz******** | reserved-desktop | ACTIVE | e3v1rbln45tl******** | 2024-10-09 21:35:17 | +----------------------+------------------+--------+----------------------+---------------------+
-
Select the desktop
ID
orNAME
, e.g.,my-cloud-desktop
. -
Restart the desktop:
yc desktops desktop restart --name <desktop_name>
Result:
id: e3vmvhgbgac4******** folder_id: b1g681qpemb4******** desktop_group_id: e3v1rbln45tl******** created_at: "2024-10-09T22:42:28.020Z" name: cli-desktop-5-6aa9b029038119b1 resources: memory: "4294967296" cores: "2" core_fraction: "100" network_interfaces: - network_id: enp0asmd9pr9******** subnet_id: e2lb1da2dd9v******** users: - subject_id: aje9k8luj4qf********
Stop
Management console
User desktop showcase
- In the management console
, select the folder containing the desktop. - In the list of services, select Cloud Desktop.
- In the left-hand panel, select
Desktops. - Next to the desktop to stop, click
and select Stop. - Confirm that you want to stop the desktop.
- Open the User desktop showcase
. - In the card of the desktop to stop, click
. - Confirm that you want to stop the desktop.