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.
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. Learn 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 case of forced stop, unsaved data may be lost.
If the cloud server is turned off, 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 Control panel, on the top menu, click Products and select Cloud Servers.
-
In the Control panel, on the top menu, click Products and select Cloud Servers.
-
From the server's menu, select Disable. The server will switch to the
SHUTOFF
status.
-
Turn off the cloud server:
openstack server stop <server>
Specify
<server>
— server ID or name. The list can be viewed using theopenstack server list
commandThe 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 Control panel, on the top menu, click Products and select Cloud Servers.
-
In the dashboard, on the top menu, click Products and select Cloud Servers.
-
From the server's menu, select Enable. The server will switch to the
ACTIVE
status.
-
Turn on the cloud server:
openstack server start <server>
Specify
<server>
— server ID or name. The list can be viewed using theopenstack server list
commandThe server will go into
ACTIVE
status.
Freeze the server
Freezing is a cloud server shutdown where vCPU, RAM and GPU are transferred to a common resource pool and are no longer charged. 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 the
FROZEN
status.
-
Freeze the cloud server:
openstack server shelve <server>
Specify
<server>
— server ID or name. The list can be viewed using theopenstack server list
commandThe 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 available at the time of the freeze. The server is created if there are resources in the common 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 the
ACTIVE
status.
-
Unfreeze the cloud server:
openstack server unshelve <server>
Specify
<server>
— server ID or name. The list can be viewed using theopenstack server list
commandThe 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 the 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. The list can be viewed 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. The list can be viewed using theopenstack server list
command.The server will go into
ACTIVE
status.