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 create a server in a segment of the multi-zone pool ru-6, single-zone pools ru-3, ru-7, or in the ru-2c pool segment:

    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 instructions.

    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 Enforce single NUMA node placement 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 Single NUMA node placement section of the Dedicated cores instructions.

  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 apps;
    • network drive — do not select the Local SSD NVMe disk checkbox.

    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 command sudo dmesg | grep Memory.

Volumes

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

    1.1. Select the boot network drive type.

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

    1.3. If you selected the Universal v2 or Fast SSD v2 drive type, specify the total number of read and write operations in IOPS. After creating the drive, 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 drives:

    2.1. Click Add.

    2.2. Select the network drive type.

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

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

    After creating the server, you will be able to detach additional drives from it or attach new ones.

Internet

Configure public access to the server.

The cloud server will be added to a private subnet connected to a cloud router with 1:1 NAT and internet access. Internet access to and from the server will be provided 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 Public floating IP address access type.

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

Private network

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

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, select No router in the Router field;

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

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

Security

Select security groups to filter traffic on the server ports. Without security groups, traffic will be denied. If this block is missing, traffic filtering (port security) is disabled in 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 OpenSSH public key, and click Add.

    1.2. If the project SSH key has been added to the Cloud Platform, select an existing key in the SSH key field. 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 for the root user — a user with unlimited permissions 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 Preemptible server checkbox.

  2. If you plan to create multiple 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 is already created, select the placement group in the Placement group field.

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

  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 the script file.

    Script examples and supported formats can be found in the User data instructions.