---
title: "Managing cloud server operation"
sidebar_label: "Managing server operation"
sidebar_position: 4
description: "How to turn on, turn off, freeze, unfreeze a cloud server, and other instructions"
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'
import {TabItemLabel} from '@selectel/docux/components'
import Formbricks from '@theme/MDXComponents/Formbricks'

# Managing cloud server operation

You can manage the operation of a cloud server:

* [turn off the server](#turn-off-server);
* [turn on the server](#turn-on-server);
* [freeze the server](#freeze-server);
* [resume server operation after freezing](#resume-server);
* [pause the server](#pause-server);
* [resume server operation after pause](#unpause-server);
* [recreate the server](#rebuild-server).

If a cloud server is turned off or suspended, all [cloud platform resources](/access-control/projects/about-projects.mdx#selectel-products-that-support-projects) continue to be billed: vCPU, RAM, local and network volumes, GPU, public IP addresses, public subnets.

If a server is frozen, vCPU, RAM, and GPU are not charged, while all other resources are billed. Learn more about the cloud platform payment model in the [Cloud Server Payment Model and Pricing](/cloud-servers/about/payment.mdx#payment-model) article.

## Turn off the server \{#turn-off-server}

When you turn off a server, the operating system will shut down correctly. Then, the power will be turned off.

If the server does not respond within a specified time, it will be forcefully stopped. In case of a forced stop, unsaved data may be lost.

If a cloud server is turned off, all [cloud platform resources](/access-control/projects/about-projects.mdx#selectel-products-that-support-projects) continue to be billed: vCPU, RAM, local and network volumes, GPU, public IP addresses, and public subnets. Learn more about the cloud platform payment model in the [Cloud Server Payment Model and Pricing](/cloud-servers/about/payment.mdx#payment-model).

<Tabs queryString="turn-off-server">
  <TabItem value="panel" default>
    <TabItemLabel>
      Control panel
    </TabItemLabel>

    1. In the [Control panel](https://my.selectel.ru/vpc/default/servers/), from the top menu, click **Products** and select **Cloud Servers**.

    2. In the server <MoreVerticalIcon /> menu, choose **Turn Off**. The server will switch to the `SHUTOFF` status.
  </TabItem>

  <TabItem value="openstack">
    <TabItemLabel>
      OpenStack CLI
    </TabItemLabel>

    1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).

    2. Turn off the cloud server:

       ```bash
       openstack server stop <server>
       ```

       Specify `<server>` — the server ID or name. You can view the list of servers using the `openstack server list`.

       The server will switch to the `SHUTOFF` status.
  </TabItem>
</Tabs>

## Turn on the server \{#turn-on-server}

If the server was turned off, turning it on will reload the operating system, and connect disks and ports.

<Tabs queryString="turn-on-server">
  <TabItem value="panel" default>
    <TabItemLabel>
      Control panel
    </TabItemLabel>

    1. In the [Control panel](https://my.selectel.ru/vpc/default/servers/), from the top menu, click **Products** and select **Cloud Servers**.

    2. In the server <MoreVerticalIcon /> menu, choose **Turn On**. The server will switch to the `ACTIVE` status.
  </TabItem>

  <TabItem value="openstack">
    <TabItemLabel>
      OpenStack CLI
    </TabItemLabel>

    1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).

    2. Turn on the cloud server:

       ```bash
       openstack server start <server>
       ```

       Specify `<server>` — the server ID or name. You can view the list of servers using the `openstack server list`.

       The server will switch to the `ACTIVE` status.
  </TabItem>
</Tabs>

## Freeze the server \{#freeze-server}

Freezing is a [cloud server shutdown](#turn-off-server) where vCPU, RAM, and GPU are transferred to a common resource pool and are no longer billed. At the same time, other [cloud platform resources](/access-control/projects/about-projects.mdx#selectel-products-that-support-projects) continue to be billed: network volumes, public IP addresses, and public subnets. Learn more about the [cloud platform payment model](/cloud-servers/about/payment.mdx#payment-model).

You can only freeze cloud servers with a bootable [network volume](/cloud-servers/volumes/about-network-volumes.mdx). Servers with a [local disk](/cloud-servers/volumes/about-local-disks.mdx) cannot be frozen.

<Tabs queryString="freeze-server">
  <TabItem value="panel" default>
    <TabItemLabel>
      Control panel
    </TabItemLabel>

    1. In the [Control panel](https://my.selectel.ru/vpc/default/servers/), from the top menu, click **Products** and select **Cloud Servers**.

    2. In the server <MoreVerticalIcon /> menu, choose **Freeze**. The server will switch to the `FROZEN` status.
  </TabItem>

  <TabItem value="openstack">
    <TabItemLabel>
      OpenStack CLI
    </TabItemLabel>

    1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).

    2. Freeze the cloud server:

       ```bash
       openstack server shelve <server>
       ```

       Specify `<server>` — the server ID or name. You can view the list of servers using the `openstack server list`.

       The server will switch to the `SHELVED_OFFLOADED` status.
  </TabItem>
</Tabs>

## Resume server operation after freezing \{#resume-server}

When a server is resumed, a cloud server is created with the same amount of vCPU, RAM, and GPU that it had at the moment of freezing. The server is created if resources are available in the common pool.

<Tabs queryString="resume-server">
  <TabItem value="panel" default>
    <TabItemLabel>
      Control panel
    </TabItemLabel>

    1. In the [Control panel](https://my.selectel.ru/vpc/default/servers/), from the top menu, click **Products** and select **Cloud Servers**.

    2. In the server <MoreVerticalIcon /> menu, choose **Resume**. The server will switch to the `ACTIVE` status.
  </TabItem>

  <TabItem value="openstack">
    <TabItemLabel>
      OpenStack CLI
    </TabItemLabel>

    1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).

    2. Unfreeze the cloud server:

       ```bash
       openstack server unshelve <server>
       ```

       Specify `<server>` — the server ID or name. You can view the list of servers using the `openstack server list`.

       The server will switch to the `ACTIVE` status.
  </TabItem>
</Tabs>

## Pause the server \{#pause-server}

:::info

You can only pause the server using the [OpenStack CLI](/cloud-servers/tools/openstack-cli/).

:::

The server will be paused. The state of the server and the system will be fully preserved, and the server's operation can be [resumed](#unpause-server) — it will continue running in the state it was in at the time of halting.

If a cloud server is suspended, all [cloud platform resources](/access-control/projects/about-projects.mdx#selectel-products-that-support-projects) continue to be billed: vCPU, RAM, local and network volumes, GPU, public IP addresses, and public subnets. Learn more about the cloud platform payment model in the [Cloud Server Payment Model and Pricing](/cloud-servers/about/payment.mdx#payment-model).

1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).

2. Pause the cloud server:

   ```bash
   openstack server pause <server>
   ```

   Specify `<server>` — the server ID or name. You can view the list of servers using the `openstack server list`.

   The server will switch to the `PAUSED` status.

## Resume server operation after pause \{#unpause-server}

:::info

You can only resume the server's operation after it has been paused using the [OpenStack CLI](/cloud-servers/tools/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.

1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).

2. Reactivate the cloud server:

   ```bash
   openstack server unpause <server>
   ```

   Specify `<server>` — the server ID or name. You can view the list of servers using the `openstack server list`.

   The server will switch to the `ACTIVE` status.

## Recreate the server \{#rebuild-server}

:::danger

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.

<Tabs queryString="rebuild-server">
  <TabItem value="panel" default>
    <TabItemLabel>
      Control panel
    </TabItemLabel>

    1. In the [Control panel](https://my.selectel.ru/vpc/default/servers/), from the top menu, click **Products** and select **Cloud Servers**.

    2. In the <MoreVerticalIcon /> server menu, select **Recreate server**.

    3. Save the new password.

    4. Confirm server recreation. To do this, enter the server name.

    5. Click **Recreate**.
  </TabItem>

  <TabItem value="openstack">
    <TabItemLabel>
      OpenStack CLI
    </TabItemLabel>

    1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).

    2. Recreate the cloud server:

       ```bash
       openstack server rebuild <server>
       ```

       Specify `<server>` — the server ID or name. You can view the list of servers using the `openstack server list`.
  </TabItem>
</Tabs>

<Formbricks />
