Create a cloud server
Control Panel
OpenStack CLI
Terraform
-
In the Control panel, on the top menu, click Products and select Cloud Servers.
-
Click Create server.
-
Fill in the blocks:
- Name and placement;
- Source;
- Configuration;
- Disks;
- Internet;
- Private network;
- Security;
- Access;
- optional: Additional settings.
-
Check the cloud server pricing. Learn more in the Cloud Server Payment Model and Pricing manual.
-
Click Create.
Name and location
-
Enter the server name. It will be set as the hostname in the operating system.
-
Select a location where the server will be created. The available server configurations and resource costs depend on the location. You cannot change the location after the server is created.
Source
You can create a server:
- from a pre-built image with a pre-installed and configured operating system;
- an application;
- a custom image;
- a network volume;
- or a snapshot.
Pre-built image
Application
Network volume
Custom image
Snapshot
-
Open the OS tab.
-
Select an image. Pre-built images are available in all pool segments.
-
If you are creating a server with a GPU, turn on the Auto-select GPU image switch to automatically choose an optimized OS image when selecting a configuration.
-
Optional: if you need a different current or archived OS version, select the required version in the Version field. OSs marked as GPU optimized contain the drivers required to work with graphics processors.
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 product line and pool segment. You can customize the selected configuration. After the server is created, you will be able to change the configuration.
Fixed configuration
Custom configuration
-
Open the tab with the line.
-
Click Fixed.
-
Optional: you can adjust the configuration if you are creating a server in a multi-AZ pool segment ru-6 or pool segments ru-3b, ru-7a and ru-7b:
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 pinned to the cloud server vCPUs, clear the Dedicated cores checkbox. For more information, see the Dedicated Cores.
3.4. Optional: if you want to disable Hyper-Threading, uncheck the Hyper-Threading (SMT) checkbox.
3.5. Optional: if you are creating a server with dedicated cores and want to place a multiprocessor server on a single NUMA node, select the Mandatory placement on a single NUMA node checkbox. A server with 4 vCPUs or more can be placed on a single NUMA node. If the cloud server resources cannot be placed on one node, it will not be created. For more information, see the Placement on a single NUMA node subsection of the Dedicated Cores.
-
Select a configuration.
-
If both local and network volumes are available in the selected configuration, select the volume to be used as the boot volume:
- local disk — check the Local SSD NVMe disk checkbox. A server with a local disk can only be created from images and applications;
- network volume — do not check the Local SSD NVMe disk checkbox.
The amount of RAM allocated to the server may be less than the amount specified in the configuration — the operating system kernel reserves a portion of 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
-
If you did not check the Local SSD NVMe disk checkbox when configuring, the first specified network volume will be used as the server boot volume. To configure it:
1.1. Select the type of network boot volume.
1.2. Specify the size of the network boot volume in GB or TB. Observe the network volume maximum size limits.
1.3. If you selected the Universal v2 or Fast SSD v2 volume type, specify the total IOPS for read and write operations. After the volume is created, you can change the IOPS count —increase or decrease it. There is no limit on the number of IOPS changes.
-
Optional: to add additional network volumes to the server:
2.1. Click Add.
2.2. Select the type of network volume.
2.3. Specify the size of the network volume in GB or TB. Observe the network volume maximum size limits.
2.4. If you selected the Universal v2 or Fast SSD v2 volume type, specify the total IOPS for read and write operations. After the volume is created, you can change the IOPS count —increase or decrease it. There is no limit on the number of IOPS changes.
After the server is created, you can detach additional volumes or attach new ones.
Internet
Configure public access to the server.
Public floating IP address
Direct public IP address
Public subnet
No internet access
The cloud server will be added to a private subnet that is connected to a cloud router with 1:1 NAT and internet access. Internet access will be provided via the cloud router. The server will be accessible from the internet via a public floating IP address.
-
In the Internet connection field, select the Public floating IP address access type.
-
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 internet access in the Internet block.
A cloud server can be added to an already existing or a new private subnet.
Existing private subnet
New private subnet
-
In the Subnet field, select a private subnet.
-
Optional: in the IP address field, change the default IP address.
-
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 the server to communicate with 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 no internet access and do not need a router, select No router in the Router field;
-
If you selected no 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, check the Connect router to the internet checkbox;
-
If you selected internet access 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 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
-
Place an SSH key for the project on the server for secure connection:
1.1. If an SSH key for the project 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 an SSH key for the project has been added to the cloud platform, select an existing key in the SSH key field. An SSH key is available only in the pool where it is stored.
-
Optional: in the Password for root field:
2.1. Copy the password for the
rootuser—a user with unrestricted privileges for all system actions.2.2. Save the password in a safe place and do not share it in plain text.
Optional: additional settings
-
To create a preemptible server, check the Preemptible server checkbox.
-
If you are planning 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, select New group in the Placement group field, 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, select the placement group in the Placement group field.
-
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, enter it in the Tags field.
-
To add a script that will be executed by the cloud-init agent during the first OS startup, 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.
You can view script examples and supported formats in the User data guide.