Skip to main content
Create a cloud server

Create a cloud server

  1. В control panels go to Cloud platformServers.

  2. Click Create a server.

  3. Fill in the blocks:

  4. Check the price of the cloud server.

  5. Click Create.

Name and location

  1. Enter the server name. This will be set as the host name in the operating system.
  2. Select region and pool segment The pool segment determines the list of available server configurations and the cost of resources. The list of available server configurations and the cost of resources depends on the pool segment. Once the server is created, the pool segment cannot be changed.

Source

You can create a server from finished image with a pre-installed and customized operating system, appendices, own image, network drive or snapshot.

  1. Click on the default source name.

  2. Open the tab Ready-made images.

  3. Select an image. Ready images are available in all pool segments.

  4. Click Select.

Configuration

Two types of configurations are available for the server:

The configurations use different processors depending on the line and segment of the pool. After the server is created, you can reconfigure.

  1. Click Fixed.

  2. Open the tab with the desired ruler.

  3. Select a configuration.

  4. If both local and network disks are available in the selected configuration, select the disk to be used as the boot disk:

    • local disk — check the box Local SSD NVMe disk. A server with a local disk can only be created from images and applications;
    • network drive — don't check the box.

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

Disks

  1. If you did not check the checkbox when setting up the configuration Local SSD NVMe diskThe first specified network drive will be used as the server boot disk. To configure it:

    1.1 Select network boot disk type.

    1.2 Specify the size of the network boot disk in GB or TB. Take into account network disk limits to the maximum size.

  2. Optional: to add additional network drives of the server:

    2.1. Press Add.

    2.2 Select network boot disk type.

    2.3 Specify the size of the network boot disk in GB or TB. Take into account network disk limits to the maximum size.

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

Network

When created, the server can be connected to one of the subnets:

  • private — a subnet without access from the Internet;
  • private + 1 public IP — a private subnet with a static public IP address. By default, only the server to which the public IP address connects will be accessible from the Internet in the subnet;
  • public — a subnet in which all addresses are accessible from the Internet.

You can create a new subnet or add an existing subnet.

  1. To add an existing private subnet:

    1.1 In the field Subnetwork select an existing subnet.

    1.2 In the field Private IP specify the private IP address of the server.

  2. To add a new private subnet:

    2.1 In the field Subnetwork select Private.

    2.2 Optional: Change the CIDR of the subnet.

    2.3 Optionally: switch on the toggle switch DHCP.

    2.4 Optionally: in the field Gateway change the IP address of the default gateway.

    2.4 In the field A sub-network will be established on the network select an existing network on which to create a subnet, or New networkto create a subnet on the new network. If you have selected New network, enter the name of the network.

Access

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

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

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

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

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

    2.2 Save the password in a safe place and do not transmit it in public.

Optional: additional settings

  1. To create interrupted server and check the box Interruptible server.

  2. If you plan to create multiple servers and want to improve the fault tolerance of your infrastructure, add a server to the placement group:

    2.1 To create a new group, in the field Accommodation group select New group, enter a group name, and select a policy for hosting on different hosts:

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

    2.2 If the group is created, in the field Accommodation group select a placement group.

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

  4. To add a script to be executed by the agent cloud-init at the first startup of the operating system, in the block Automation in the field User data:

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

    Examples of scripts and supported formats can be found in the manual User data.