VK Cloud logo
Updated atMarch 27, 2024   03:20 PM

Creating a VM

In Cloud Servers, you can create virtual machines through your personal account, OpenStack CLI or Terraform. To create a VM using Terraform, use the VM creation instructions in the Terraform section.

Before starting work

  1. Register to VK Cloud.
  2. Activate the services.

The account balance should be positive, and quotas should be sufficient to create the desired virtual machine configuration.

Available OS

The VK Cloud team has prepared images of some operating systems. The list of ready-made images is available in your personal account in the window for creating a new instance.

If necessary, you can import an OS image by yourself.

Create a VM

  1. Go to personal account VK Cloud.

  2. Go to Cloud Computing → Virtual machines.

  3. Click the Create instance or Add button.

  4. Set VM parameters:

    • Name of virtual machine: use only Latin letters, numbers, or symbols -, _ and ..
    • Category of virtual machine: select the flavor of the VM. For more information, see Cloud Servers service overview.
    • Type of virtual machine: select the preset VM configuration. For more information, see Cloud Servers service overview.
    • Availability zone: select the data center where the VM will be launched.
    • Number of machines in configuration: specify the desired number of VM.
    • Disk size: specify the desired VM disk size in gigabytes.
    • Disk Type: select one of the values — HDD, SSD or High-IOPS SSD. For more information, see Cloud Servers service overview.
    • Operating system: select the operating system version or previously created image.
    • Enable monitoring: enable to use monitoring tools.
    • Tags: if necessary, specify the tag for the VM or create a new one.
  5. Click Next step.

  6. Configure the VM connection to the network:

    • Network: select an existing network or create a new one. Depending on the choice of network type, the list of available fields will change.

    • SDN: select a virtual network management system. Resources created in networks of different SDNs will be accessible to each other only when using floating IPs. The option is available if a new network is created for the VM.

    • Subnet address: the option is available if a new network is created for the VM.

    • Use configuration disk: enable the option if you need to automatically configure a network on a virtual machine when there is no DHCP server on the network. The option is enabled automatically if a network with DHCP disabled is selected, including the external network (ext-net).

    • DNS-name: specify the DNS name for the VM. For more information, see Private DNS. The option is not available, if the external network is selected (ext-net).

    • Virtual machine key: select a key for SSH connection or create a new one.

      If you select Create a new key, save the suggested key file .pem after the virtual machine creation is completed.

    • Firewall settings: select the appropriate security groups.

      To connect via SSH, add the group ssh or ssh+www. For more information about configuring network access rules, see Managing firewall rules.

    • (Optional) Assign external IP: enable the option and specify the IP to be able to connect to the VM from the Internet. The option is available if the VM is on a network with an Internet connection. The option is enabled and automatically configured the IP address if the VM is located on an external network (ext-net).

    • (Optional) Link a domain to an external IP: enable the option and specify a domain to link the FQDN to the external IP. An A-record for the selected IP will be added to the DNS. The option is available if the Assign external IP option is enabled.

  7. Click Next step.

  8. If necessary, enable the Use Backup option and specify settings.

  9. Click Create instance.

  10. Wait for the VM to be created. This process may take some time. When the creation is completed, a page with VM characteristics and connection instructions will open.

What's next?