Skip to main content
Create a cloud server
Last update:

Create a cloud server

  1. In Control Panel, go to Cloud PlatformServers.

  2. Click Create Server.

  3. Enter the name of the cloud server. It will be set as hostname in the operating system on the server.

  4. Select the pool segment in which to create the server. Different server configurations and different [processors] are available in different pool segments(/cloud/servers/create/configurations.mdx#available-processors). The cost of cloud resources also differs — it can be calculated in the resource calculator.

    Once the server is created, it can only be transferred to another pool segment by creating and transferring a boot disk image.

  5. Click on the default source name. Select the source from which the server will be created:

    • finished image with a customized operating system that Selectel prepared;
    • own-image that you have uploaded to the Selectel image repository yourself;
    • network volume that you created earlier;
    • snapshot of the network drive.

    Own images, disks, and snapshots must reside in the same pool segment as the server. Finished images are available in all segments of the pool.

    Press Select.

  6. Select a cloud server configuration:

    • fixed — lineups with different ratios of virtual CPU cores to RAM up to 36 vCPUs, 128 GB RAM, and 1.25 TB of local disk capacity;
    • arbitrary — Select any resource ratio up to 32 vCPUs, 256 GB RAM, and 1.23 TB of local disk capacity.

    Different server configurations and lineups use different processors depending on the pool segment. GPUs can be added to configurations — see the Create a cloud server with GPUs instructions for details.

    Once the server is created, you can change configuration.

    The amount of RAM that is allocated to the server may be less than the specified amount — the operating system kernel reserves some RAM depending on the kernel version and distribution. The allocated capacity on an existing server can be checked with sudo dmesg | grep Memory.

  7. Select the server boot (system) disk:

    • local-disks without network latency — check the Local SSD NVMe disk checkbox. If you chose an arbitrary configuration, specify the size of the local disk. If you chose fixed, the disk size will depend on the configuration. A server with a local disk can only be created from a prebuilt or custom image;
    • or network volume — in the Disk Type field, select disk type and specify its size.

    Once the server is created, you can replace only the network boot disk.

    Press Add.

  8. Optional: to add an additional disk to the server, click Add. Multiple disks can be added.

    Once the server is created, you can disconnect additional disks from it and attach new ones.

  9. Select or create the subnet to which the server will connect:

    • private subnet — a subnet without access from the Internet;
    • private subnet with public IP address — a private subnet and one static public IP address;
    • public subnet — all addresses in the subnet will be accessible from the Internet.
  10. To securely connect to the server, place an SSH key on the server. Multiple keys can be added. Key types supported are ed25519, rsa, ecdsa and dsa.

    Select an existing key or click Add SSH Key. Enter a key name and insert a public SSH key in OpenSSH format. Press Add.

    If SSH keys are not created, generate them.

  11. Optional: copy and save the password of the root user (a user with unlimited rights to all actions on the system). Keep the password in a safe place and do not share it in public.

  12. Optional: to create preemptible server, check the preemptible server checkbox.

  13. Optional: if you plan to create multiple servers and want to increase the resiliency of your infrastructure, we recommend using placement groups or placing cloud servers in different pool segments — otherwise we do not guarantee placement on different hosts.

    Select an existing placement group or click Create Group and enter a group name. Select an accommodation policy:

    • Preferably on different hosts — soft-anti-affinity, the system will try to place servers on different hosts. If there is no suitable host when the server is created, it will be created on the same host;
    • Must be on different hosts — anti-affinity, servers in a group must be on different hosts. If we don't find a suitable host, the server will not be created.

    Once a server is created, it cannot be added to a group directly — only through create copy.

  14. Optional: to add additional information to the server or filter servers in the list, add tag. Multiple tags can be added. Operating system and configuration tags are automatically added.

    In the Tags field, check the existing tags or enter a new one. The maximum length of the tag is 60 characters. You can use Latin and Cyrillic letters, numbers and hyphen sign.

  15. Optional: in the User data field, insert or upload a script that will be executed when the system boots. The maximum size of a script with data that is not Base64 encoded is 16 KB. Examples of scripts and supported formats can be found in the User data instructions.

  16. Click Create Server.