Creating a VM from a public image
To create a VM:
Open the folder where the VM will be created.
Click Create resource.
Select Virtual machine.
In the Name field, enter a name for the VM.
- Length — from 3 to 63 characters.
- The name may contain lowercase Latin letters, numbers, and hyphens.
- The first character must be a letter. The last character can't be a hyphen.
Select the availability zone to host the VM in.
Select a public image with the software you want to use.
Under Computing resources:
- Choose a platform.
- Specify the necessary number of vCPUs and amount of RAM.
To create a VM from a GitLab image, at least 4 virtual cores (100% vCPU) and 4 GB of RAM are required.
In the Network settings section, click Add network.
In the window that opens, select the subnet to connect the VM to while being created.
In Public address, choose:
- Automatically — to set a public IP address automatically. The address is allocated from the Yandex.Cloud address pool.
- List — to select a public IP address from the list of static addresses. For more information, see Making a dynamic public IP address static in the Virtual Private Cloud documentation.
- No address — don't assign a public IP address.
Select the appropriate security groups (if there is no corresponding field, all incoming and outgoing traffic will be allowed for the VM).
Specify data required for accessing the VM.
Click Create VM.
VM creation takes several minutes. When the VM status changes to
RUNNING, proceed to configuring software. You can monitor VM statuses on the list of VMs in the folder.