Manage the operation of the cloud server
You can manage the operation of the cloud server:
- shut down the server;
- turn on the server;
- freeze the server;
- restart the server after a freeze;
- suspend the server;
- pause the server.
If the cloud server is shut down or suspended, all the cloud platform resources continue to pay for: vCPU, RAM, local and network disks, GPU, 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 case of forced stop, unsaved data may be lost.
If the cloud server is turned off, all cloud platform resources continue to pay for: vCPU, RAM, local and network disks, GPU, public IP addresses, public subnets. Read more about the cloud platform payment model in the article Cloud server payment model and pricing.
Control panel
OpenStack CLI
-
В control panels from the top menu, press Products and select Cloud servers.
-
В control panels from the top menu, press Products and select Cloud servers.
-
On the menu of the server select Off. The server will go into status
SHUTOFF
.
-
Turn off the cloud server:
openstack server stop <server>
Specify
<server>
— ID or server name. The list can be viewed using the commandopenstack server list
The server will go into status
SHUTOFF
.
Turn on the server
If the server was turned off, when it is turned on, the operating system will reboot, disks and ports will be connected.
Control panel
OpenStack CLI
-
В control panels from the top menu, press Products and select Cloud servers.
-
В control panels from the top menu, press Products and select Cloud servers.
-
On the menu of the server select Enable. The server will go into status
ACTIVE
.
-
Turn on the cloud server:
openstack server start <server>
Specify
<server>
— ID or server name. The list can be viewed using the commandopenstack server list
The server will go into status
ACTIVE
.
Freeze the server
Freezing is cloud server shutdown In this case vCPU, RAM and GPU are transferred to the common pool of resources and are no longer charged. At the same time, other resources continue to be charged cloud platform resources: network disks, public IP addresses, public subnets. Read more about cloud platform payment models.
You can freeze cloud servers with boot only network drive. Servers with local disk you can't freeze it.
Control panel
OpenStack CLI
-
В control panels from the top menu, press Products and select Cloud servers.
-
On the menu of the server select Freeze. The server will go into status
FROZEN
.
-
Freeze the cloud server:
openstack server shelve <server>
Specify
<server>
— ID or server name. The list can be viewed using the commandopenstack server list
The server will go into status
SHELVED_OFFLOADED
.
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
-
В control panels from the top menu, press Products and select Cloud servers.
-
On the menu of the server select Resume. The server will go into status
ACTIVE
.
-
Unfreeze the cloud server:
openstack server unshelve <server>
Specify
<server>
— ID or server name. The list can be viewed using the commandopenstack server list
The server will go into status
ACTIVE
.
Suspend the server
The only way to suspend the server is to OpenStack CLI.
The server will be paused. The server and system state will be completely preserved, and the server can be run. resume — it will continue its operation in the state it was in when it was stopped.
If the cloud server is suspended, all cloud platform resources continue to pay for: vCPU, RAM, local and network disks, GPU, public IP addresses, public subnets. Read more about the cloud platform payment model in the article Cloud server payment model and pricing.
-
Suspend the cloud server:
openstack server pause <server>
Specify
<server>
— ID or server name. The list can be viewed using the commandopenstack server list
.The server will go into status
PAUSED
.
Resume server operation after suspension
The server can be resumed after suspension only via 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>
— ID or server name. The list can be viewed using the commandopenstack server list
.The server will go into status
ACTIVE
.