Skip to main content

Create a cloud server

  1. In the Control Panel, in the top menu, click Products and select Cloud Servers.

  2. Click Create server.

  3. Fill in the blocks:

  4. Check the cloud server price. Learn more in the Cloud server billing model and prices guide.

  5. Click Create.

Name and location

  1. Enter the server name. It will be set as the hostname in the operating system.

  2. Select the location where the server will be created. The location determines the list of available server configurations and resource costs. Once the server is created, you cannot change the location.

Source

You can create a server:

  1. Open the OS tab.

  2. Select an image. Ready-made images are available in all pool segments.

  3. If you are creating a server with GPU, turn on the Auto-select GPU image toggle so that when selecting a configuration, an optimized OS image is automatically selected.

  4. Optional: if you need a different current or archived OS version, in the Version field, select the desired version. OSs marked as GPU optimized contain the drivers required to work with GPUs.

Configuration

For all lines except Shared and Dedicated, two types of server configurations are available:

  • fixed configurations — configurations of lines with different specifications, where the resource ratio is fixed;
  • custom configurations — configurations that allow you to specify any resource ratio.

Configurations use different processors depending on the line and pool segment. You can customize the selected configuration. After the server is created, you can change the configuration.

  1. Open the tab with the line.

  2. Click Fixed.

  3. Optional: you can customize the configuration if you are creating a server in the multi-zone pool ru-6 segment or in the ru-3b, ru-7a, and ru-7b pool segments:

    3.1. Expand the block with the configuration settings description.

    3.2. Optional: select a processor manufacturer. Manufacturer selection is not available in all pools.

    3.3. Optional: if you do not want physical processor cores to be pinned to the cloud server vCPUs, uncheck the Dedicated Cores checkbox. Learn more in the Dedicated Cores guide.

    3.4. Optional: if you want to disable Hyper-Threading for a server with dedicated cores, uncheck the Hyper-Threading (SMT) checkbox.

    3.5. Optional: if you are creating a server with dedicated cores and want to place a multi-processor server on a single NUMA node, select the Mandatory placement on a single NUMA node checkbox. You can place a server with 4 vCPUs or more on a single NUMA node. If the cloud server resources cannot be placed on a single node, it will not be created. Learn more in the Placement on a single NUMA node section of the Dedicated Cores guide.

  4. Select a configuration.

  5. If both local and network volumes are available in the selected configuration, select the volume to be used as the boot volume:

    • local disk — select the Local SSD NVMe disk checkbox. A server with a local disk can only be created from images and applications;
    • network volume — do not select Local SSD NVMe disk.

    The amount of RAM allocated to the server may be less than specified in the configuration — the operating system kernel reserves part of the RAM depending on the kernel version and distribution. You can check the allocated amount on the server using the sudo dmesg | grep Memory command.

Volumes

  1. If you did not check the Local SSD NVMe disk checkbox when configuring the server, the first specified network volume will be used as the server boot volume. To configure it:

    1.1. Select the network boot volume type.

    1.2. Specify the network boot volume size in GB or TB. Mind the network volume limits on the maximum size.

    1.3. If you selected the Universal v2 or Fast SSD v2 disk type, specify the total number of read and write operations in IOPS. After the volume is created, you can change the number of IOPS — decrease or increase it. The number of IOPS changes is unlimited.

  2. Optional: to add additional server network volumes:

    2.1. Click Add.

    2.2. Select the network volume type.

    2.3. Specify the network volume size in GB or TB. Mind the network volume limits on the maximum size.

    2.4. If you selected the Universal v2 or Fast SSD v2 disk type, specify the total number of read and write operations in IOPS. After the volume is created, you can change the number of IOPS — decrease or increase it. The number of IOPS changes is unlimited.

    After the server is created, you can detach additional volumes from it or attach new ones.

Internet

Configure public access to the server.

The cloud server will be added to the private subnet connected to the cloud router with 1:1 NAT and internet access. Access to and from the internet will be performed via the cloud router. The server will be accessible from the internet via a public floating IP address.

  1. In the Internet connection field, select the access type Public floating IP address.

  2. Select an available IP address or create a new one.

Private network

Private network settings are available if in the Internet block you selected Public floating IP address or Without internet access.

A cloud server can be added to an already existing or a new private subnet.

  1. In the Subnet field, select a private subnet.

  2. Optional: in the IP address field, change the default IP address.

  3. Configure the connection to the cloud router. A router is mandatory for a server with a public floating IP address. For a server without internet access, a router is optional — it allows you to connect to other private networks and access the internet, for example, for updates. In this case, the server is not accessible from the internet.

    • If you selected connection without internet access and do not need a router, in the Router field, select Without router;

    • if you selected connection without internet access and need a router, in the Router field, select an existing router or create a new one. For the server to access the internet via the router, select the checkbox Connect router to the Internet;

    • if you selected connection to the internet via a public floating IP address, in the Router field, select an existing router or create a new one. If the selected router is not connected to the internet, it will be automatically connected to the internet after the server is created.

Security

Select security groups to filter traffic on server ports. Without security groups, traffic will be denied. If the block is missing, traffic filtering (port security) is disabled on the server network. With traffic filtering disabled, all traffic will be allowed.

Access

  1. Place a project SSH key on the server for secure connection:

    1.1. If the project SSH key has not been added to the cloud platform, click Add SSH key, enter the key name, paste the public key in OpenSSH format, and click Add.

    1.2. If the project SSH key is added to the cloud platform, in the SSH key field, select an existing key. The SSH key is only available in the pool where it is placed.

  2. Optional: in the Password for "root" field:

    2.1. Copy the password of the root user — a user with unlimited rights for all actions on the system.

    2.2. Save the password in a safe place and do not share it in plain text.

Optional: additional settings

  1. To create a preemptible server, select the checkbox Preemptible server.

  2. If you plan to create several servers and want to increase infrastructure fault tolerance, add the server to a placement group:

    2.1. To create a new group, in the Placement group field, select New group, enter the group name, and select a placement policy on different hosts:

    • soft — soft-anti-affinity. The system will try to place the servers on different hosts. If there is no suitable host when creating the server, it will be created on the same host;
    • mandatory — anti-affinity. Servers in the group must be placed on different hosts. If there is no suitable host when creating the server, the server will not be created.

    2.4. If the group has been created, in the Placement group field, select the placement group.

  3. To add additional information or filter servers in the list, add server tags. Operating system and configuration tags are added automatically. To add a new tag, in the Tags field, enter a tag.

  4. To add a script that will be executed using the cloud-init agent on the first boot of the operating system, in the Automation block, in the User data field:

    • open the Text tab and paste the script as text;
    • or open the File tab and upload a file with the script.

    You can find script examples and supported formats in the User data guide.