Starting, stopping, and restarting a desktop
Starting
- In the management console
, select the folder containing the desktop. - From the list of services, select Cloud Desktop.
- In the left-hand panel, select
Desktops. - Click
next to the desktop you want to start, then select Start. - Confirm launch.
- Open the User desktop showcase
. - On the desktop card you want to start, click
. - Confirm launch.
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.
-
See the description of the CLI command to start the desktop:
yc desktops desktop start --help -
Get a list of desktops in the default folder:
yc desktops desktop listResult:
+----------------------+------------------+--------+----------------------+---------------------+ | 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 | e3v9om0ur4rl******** | 2024-10-09 21:35:17 | +----------------------+------------------+--------+----------------------+---------------------+ -
Select the
IDorNAMEof the desktop you need, e.g.,my-cloud-desktop. -
Start the desktop:
yc desktops desktop start --name <desktop_name>Result:
done (26s) id: e3vmvhgbgac4******** folder_id: b1g681qpemb4******** desktop_group_id: e3v1rbln45tl******** created_at: "2024-10-09T22:42:28.020Z" status: STARTING name: my-cloud-desktop resources: memory: "4294967296" cores: "2" core_fraction: "100" network_interfaces: - network_id: enp0asmd9pr9******** subnet_id: e2lb1da2dd9v********
Restarting
- In the management console
, select the folder containing the desktop. - From the list of services, select Cloud Desktop.
- In the left-hand panel, select
Desktops. - Click
next to the desktop you want to restart, then select Restart. - Confirm restart.
- Open the User desktop showcase
. - On the desktop card you want to restart, click
. - Confirm restart.
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.
-
See the description of the CLI command restarting a desktop:
yc desktops desktop restart --help -
Get a list of desktops in the default folder:
yc desktops desktop listResult:
+----------------------+------------------+--------+----------------------+---------------------+ | 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 | e3v9om0ur4rl******** | 2024-10-09 21:35:17 | +----------------------+------------------+--------+----------------------+---------------------+ -
Select the
IDorNAMEof the desktop you need, e.g.,my-cloud-desktop. -
Restart the desktop:
yc desktops desktop restart --name <desktop_name>done (26s) id: e3vmvhgbgac4******** folder_id: b1g681qpemb4******** desktop_group_id: e3v1rbln45tl******** created_at: "2024-10-09T22:42:28.020Z" status: RESTARTING name: my-cloud-desktop resources: memory: "4294967296" cores: "2" core_fraction: "100" network_interfaces: - network_id: enp0asmd9pr9******** subnet_id: e2lb1da2dd9v********
Stopping
- In the management console
, select the folder containing the desktop. - From the list of services, select Cloud Desktop.
- In the left-hand panel, select
Desktops. - Click
next to the desktop you want to stop, then select Stop. - Confirm stop.
- Open the User desktop showcase
. - On the desktop card you want to stop, click
. - Confirm 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.
-
See the description of the CLI command to stop the desktop:
yc desktops desktop stop --help -
Get a list of desktops in the default folder:
yc desktops desktop listResult:
+----------------------+------------------+--------+----------------------+---------------------+ | 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 | e3v9om0ur4rl******** | 2024-10-09 21:35:17 | +----------------------+------------------+--------+----------------------+---------------------+ -
Select the
IDorNAMEof the desktop you need, e.g.,my-cloud-desktop. -
Stop the desktop:
yc desktops desktop stop --name <desktop_name>Result:
done (26s) id: e3vmvhgbgac4******** folder_id: b1g681qpemb4******** desktop_group_id: e3v1rbln45tl******** created_at: "2024-10-09T22:42:28.020Z" status: STOPPING name: my-cloud-desktop resources: memory: "4294967296" cores: "2" core_fraction: "100" network_interfaces: - network_id: enp0asmd9pr9******** subnet_id: e2lb1da2dd9v********