Managing cloud server operation
You can manage the operation of a cloud server:
- turn off the server;
- turn on the server;
- freeze the server;
- resume the server after freezing;
- pause the server;
- resume the server after pausing;
- rebuild the server.
If a cloud server is turned off or paused, all cloud platform resources continue to be charged: vCPUs, RAM, local and network disks, GPUs, public IP addresses, public subnets.
If a server is frozen, vCPUs, RAM, and GPUs are not billed, while all other resources continue to be charged. For more information about the cloud platform payment model, see the Cloud server payment model and prices article.
Turn off the server
When you turn off the server, the operating system will shut down correctly. After that, the power will be turned off.
If the server does not shut down within a certain period of time, it will be forcefully stopped. In the event of a forced stop, unsaved data may be lost.
If a cloud server is turned off, all cloud platform resources continue to be charged: vCPUs, RAM, local and network disks, GPUs, public IP addresses, public subnets. For more information about the cloud platform payment model, see the Cloud server payment model and prices article.
Control panel
OpenStack CLI
-
In the Control Panel, in the top menu, click Products and select Cloud Servers.
-
In the server's menu, select Turn off. The server will switch to the
SHUTOFFstatus.
Turn on the server
If the server was turned off, turning it on will reload the operating system, and connect disks and ports.
Control panel
OpenStack CLI
-
In the Control Panel, in the top menu, click Products and select Cloud Servers.
-
In the server's menu, select Turn on. The server will switch to the
ACTIVEstatus.
Freeze the server
Freezing is the process of shutting down a cloud server where vCPUs, RAM, and GPUs are returned to the shared resource pool and are no longer billed. At the same time, other cloud platform resources continue to be charged: network disks, public IP addresses, public subnets. Learn more about the cloud platform payment model.
You can only freeze cloud servers with a bootable network disk. Servers with a local disk cannot be frozen.
Control panel
OpenStack CLI
-
In the Control Panel, in the top menu, click Products and select Cloud Servers.
-
In the server's menu, select Freeze. The server will switch to the
FROZENstatus.
Resume server operation after freezing
When resuming a server, a cloud server is created with the same number of vCPU, RAM, and GPU as at the time of freezing. The server is created if there are available resources in the shared pool.
Control panel
OpenStack CLI
-
In the Control Panel, in the top menu, click Products and select Cloud Servers.
-
In the server's menu, select Resume. The server will switch to the
ACTIVEstatus.
Pause the server
You can pause a server only via the OpenStack CLI.
The server will be paused. The state of the server and the system will be completely preserved, and server operation can be resumed — it will continue running in the state it was in at the time of pause.
If a cloud server is paused, all cloud platform resources continue to be charged: vCPUs, RAM, local and network disks, GPUs, public IP addresses, public subnets. For more information about the cloud platform payment model, see the Cloud server payment model and prices article.
-
Pause the cloud server:
openstack server pause <server>Specify
<server>— the server ID or name. You can view the list of servers using theopenstack server listcommand.The server will switch to the
PAUSEDstatus.
Resume server operation after pause
You can resume server operation after pausing only via the OpenStack CLI.
If the server was paused, resuming its operation will allow it to continue running in the state it was in at the time of pausing.
-
Reactivate the cloud server:
openstack server unpause <server>Specify
<server>— the server ID or name. You can view the list of servers using theopenstack server listcommand.The server will switch to the
ACTIVEstatus.
Recreate the server
When recreating a server, all data on the boot disk is deleted; the IP address and additional disks remain the same.
A cloud server is created with the same source, vCPU, RAM, and GPU quantity that it had before being recreated.
Control panel
OpenStack CLI
-
In the Control Panel, in the top menu, click Products and select Cloud Servers.
-
In the server's menu, select Rebuild server.
-
Save the new password.
-
Confirm server recreation. To do this, enter the server name.
-
Click Rebuild.