Manage the operation of the cloud server
You can manage the operation of the cloud server:
- to shut down the server;
- turn on the server;
- to freeze the server;
- to restart the server after a freeze;
- to suspend the server;
- to resume the server after a pause;
- to rebuild the server.
If the cloud server is shut down or suspended, all cloud platform resources continue to be paid for: vCPU, RAM, local and network disks, GPUs, public IP addresses, public subnets.
If the server is frozen, vCPU, RAM and GPU are not charged, all other resources are charged.Read more about the cloud platform payment model in the article Cloud Server Payment Model and Pricing.
Shut down the server
When shutting down the server, the operating system will shut down correctly.Next, the power will be turned off.
If the server does not respond within a certain time, the server will be stopped forcibly.In the case of a forced stop, unsaved data may be lost.
If the cloud server is shut down, all cloud platform resources continue to be paid for: vCPU, RAM, local and network disks, GPU, public IP addresses, public subnets.Learn more about the cloud platform payment model in the Cloud Server Payment Model and Pricing article.
Control panel
OpenStack CLI
-
In the Dashboard, on the top menu, click Products and select Cloud Servers.
-
From the server's menu, select Shutdown.The server will go into
SHUTOFF
status.
-
Turn off the cloud server:
openstack server stop <server>
Specify
<server>
— server ID or name.You can view the list of servers using theopenstack server list
command.The server will go into
SHUTOFF
status.
Turn on the server
If the server was shut down, when it is turned on, the operating system will reboot, disks and ports will be connected.
Control panel
OpenStack CLI
-
In the Dashboard, on the top menu, click Products and select Cloud Servers.
-
From the server's menu, select Enable.The server will go into
ACTIVE
status.
-
Turn on the cloud server:
openstack server start <server>
Specify
<server>
— server ID or name.You can view the list of servers using theopenstack server list
command.The server will go into
ACTIVE
status.
Freeze the server
A freeze is a cloud server shutdown where vCPU, RAM and GPU are transferred to the shared resource pool and are no longer billed.At the same time, other cloud platform resources continue to be billed : 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 Dashboard, on the top menu, click Products and select Cloud Servers.
-
From the server's menu, select Freeze.The server will go to
FROZEN
status.
-
Freeze the cloud server:
openstack server shelve <server>
Specify
<server>
— server ID or name.You can view the list of servers using theopenstack server list
command.The server will go to the
SHELVED_OFFLOADED
status.
Resume server operation after a freeze
When the server is reactivated, a cloud server is created with the same number of vCPUs, RAM, and GPUs that were present at the time of the freeze.The server is created when resources are available in the shared pool.
Control panel
OpenStack CLI
-
In the Dashboard, on the top menu, click Products and select Cloud Servers.
-
From the server's menu, select Resume.The server will go to
ACTIVE
status.
-
Unfreeze the cloud server:
openstack server unshelve <server>
Specify
<server>
— server ID or name.You can view the list of servers using theopenstack server list
command.The server will go into
ACTIVE
status.
Suspend the server
You can only suspend the server through the OpenStack CLI.
The server will be paused.The state of the server and system will be completely preserved, and the server can be resumed — it will continue to operate in the state it was in at the time of the pause.
If the cloud server is suspended, all cloud platform resources continue to be paid for: vCPU, RAM, local and network disks, GPU, public IP addresses, public subnets.Learn more about the cloud platform payment model in the Cloud Server Payment Model and Pricing article.
-
Suspend the cloud server:
openstack server pause <server>
Specify
<server>
— server ID or name.You can view the list of servers using theopenstack server list
command.The server will go to
PAUSED
status.
Resume server operation after suspension
You can only resume the server after a suspension through the OpenStack CLI.
If the server has been suspended, when it is resumed, it will continue in the state it was in when it was suspended.
-
Reactivate the cloud server:
openstack server unpause <server>
Specify
<server>
— server ID or name.You can view the list of servers using theopenstack server list
command.The server will go into
ACTIVE
status.
Rebuild the server
When the server is recreated, 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 and number of vCPUs, RAM, and GPUs as it had before the rebuild.
Control panel
OpenStack CLI
-
In the dashboard, on the top menu, click Products and select Cloud Servers.
-
From the server's menu, select Recreate Server.
-
Save the new password.
-
Confirm the recreation of the server. To do this, enter the server name.
-
Click Recreate.
-
Rebuild the cloud server:
openstack server rebuild <server>
Specify
<server>
— server ID or name.You can view the list of servers using theopenstack server list
command.