Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Compute Cloud
    • Overview
    • Simple Linux VM creation
    • Advanced Linux VM creation
    • Creating an instance group
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Getting started
  • Create a VM
  • Connect to the VM
  • Delete the VM
  • What's next
  1. Getting started
  2. Simple Linux VM creation

Simple Linux VM creation

Written by
Yandex Cloud
Improved by
Updated at November 27, 2025
  • Getting started
  • Create a VM
  • Connect to the VM
  • Delete the VM
  • What's next

To quickstart with Compute Cloud, create a Linux VM using a simple form in the Yandex Cloud management console. After the VM starts, you can connect to it over SSH.

Tip

This simple form allows you to create a VM with basic settings. To configure advanced VM settings, see Advanced Linux VM creation.

Getting startedGetting started

To get started in Yandex Cloud:

  1. Log in to the management console. If not signed up yet, navigate to the management console and follow the on-screen instructions.
  2. In Yandex Cloud Billing, make sure you have a billing account linked and its status is ACTIVE or TRIAL_ACTIVE. If you do not have a billing account yet, create one.
  3. If you do not have a folder yet, create one.
  4. If you do not have an SSH key pair yet, create one.

Create a VMCreate a VM

  1. In the management console, select the folder where you want to create your VM.

  2. In the list of services, select Compute Cloud.

  3. In the left-hand panel, select Virtual machines.

  4. Click Create virtual machine.

  5. Select Basic setup.

    Note

    The management console retains the VM configuration method you select. In the future, this method will be preselected.

  6. Under Operating systems and products, select an image and a Linux OS.

    To see the list of all available images, click Show all Marketplace products.

  7. Under Computing resources, select one of the preset configurations or create a custom one. To create a custom configuration:

    • Select Custom configuration.
    • Specify the required number of vCPUs, guaranteed vCPU share, and amount of RAM.
    • Make your VM preemptible, if required.
  8. Optionally, configure a boot disk under Disks:

    • Select the disk type.
    • Specify the required disk size.
  9. Optionally, add a secondary disk:

    • Under Disks, click Add disk.
    • Select the disk type.
    • Specify the required disk size.
  10. Under Access:

    • In the VM name field, specify the VM name.

      • It must be from 2 to 63 characters long.
      • It can only contain lowercase Latin letters, numbers, and hyphens.
      • It must start with a letter and cannot end with a hyphen.
    • In the Login field, enter the username.

      Alert

      Do not use root or other reserved usernames. For operations requiring root privileges, use the sudo command.

    • In the SSH key field, select the SSH key saved in your organization user profile.

      If there are no SSH keys in your profile or you want to add a new key:

      1. Click Add key.

      2. Enter a name for the SSH key.

      3. Select one of the following:

        • Enter manually: Paste the contents of the public SSH key. You need to create an SSH key pair on your own.

        • Load from file: Upload the public part of the SSH key. You need to create an SSH key pair on your own.

        • Generate key: Automatically create an SSH key pair.

          When adding a new SSH key, an archive containing the key pair will be created and downloaded. In Linux or macOS-based operating systems, unpack the archive to the /home/<user_name>/.ssh directory. In Windows, unpack the archive to the C:\Users\<user_name>/.ssh directory. You do not need additionally enter the public key in the management console.

      4. Click Add.

      The system will add the SSH key to your organization user profile. If the organization has disabled the ability for users to add SSH keys to their profiles, the added public SSH key will only be saved in the user profile inside the newly created resource.

      In public Linux images provided by Yandex Cloud, the functionality of connecting over SSH using login and password is disabled by default.

    • In the Public IP address field, select the IP address assignment method:

      • Dynamic: To assign a random IP address from the Yandex Cloud IP address pool.

        Stopping a VM releases its dynamic IP address. When you start the VM again, it will get a new public IP address. If you reboot a VM, it retains its dynamic public IP address.

      • Static: To select a public IP address from the list of previously reserved static IP addresses. For more information, see Converting a dynamic public IP address to static.

  11. Expand the Preset parameters section and view the default VM parameters.

    To customize these parameters, see the tutorial for advanced VM creation.

  12. Click Create VM.

The VM will appear in the list. The new VM will get an IP address and a host name (FQDN).

Connect to the VMConnect to the VM

You can connect to a VM with the RUNNING status over SSH. It may take some time for all services to initialize after the VM starts. If you get a connection error, try again in a few minutes.

The VM security groups must allow incoming TCP traffic on port 22.

To connect, specify the VM public IP address. You can find out the public IP address in the management console: on the VM page, go to the Network section and find the Public IPv4 address field. If you created your VM with an internal IP address only, assign it a public IP address.

You can also use internal IP addresses and FQDNs to establish an SSH connection between VMs within a single cloud network in Yandex Cloud.

Linux/macOS
Windows 10/11
Windows 7/8
Yandex Cloud Shell

In the terminal, run this command:

ssh <username>@<VM_public_IP_address>

Where <username> is the VM account username. If you created your VM via the CLI, yc-user is the default user.

If you have multiple private keys, specify the one you need:

ssh -i <key_path/key_file_name> <username>@<VM_public_IP_address>

If this is your first time connecting to the VM, you will get this unknown host warning:

The authenticity of host '51.250.83.243 (51.250.83.243)' can't be established.
ED25519 key fingerprint is SHA256:6Mjv93NJDCaf/vu3NYwiLQK4tKI+4cfLtkd********.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])?

Type yes into the terminal and press Enter.

Make sure the Windows account has read access to the key folder.

To connect to the VM, run the following command in the command line:

ssh <user_name>@<VM_public_IP_address>

Where <username> is the VM account username. If you created your VM via the CLI, yc-user is the default user.

If you have multiple private keys, specify the one you need:

ssh -i <key_path\key_file_name> <user_name>@<VM_public_IP_address>

If this is your first time connecting to the VM, you will get this unknown host warning:

The authenticity of host '89.169.132.223 (89.169.132.223)' can't be established.
ECDSA key fingerprint is SHA256:DfjfFB+in0q0MGi0HnqLNMdHssLfm1yRanB********.
Are you sure you want to continue connecting (yes/no/[fingerprint])?

Type yes in the command line and press Enter.

Establish a connection using PuTTY:

  1. Run Pageant.
    1. Right-click the Pageant icon in the task bar.
    2. In the context menu, select Add key.
    3. Select a PuTTY-generated private key in .ppk format. Enter the password for this key, if any.
  2. Run PuTTY.
    1. In the Host Name (or IP address) field, enter the public IP address of the VM you want to connect to. Specify port 22 and SSH connection type.

      ssh_add_ip

    2. In the tree on the left, select Connection → SSH → Auth.

    3. Enable Allow agent forwarding.

      ssh_choose_private_key

    4. In the tree on the left, select Connection → SSH → Auth → Credentials.

    5. In the Private key file for authentication field, select the private key file.

      ssh_choose_private_key

    6. Go back to the Sessions menu. In the Saved sessions field, enter any name for the session and click Save. This will save the session settings under the specified name. You can use this session profile to connect with Pageant.

      ssh_save_session

    7. Click Open. If this is your first time connecting to the VM, you may get this unknown host warning:

      ssh_unknown_host_warning

      Click Accept. This will open a terminal window prompting you to enter the username to use for connection. Type the username you specified when creating the VM and press Enter. If you created your VM via the CLI, yc-user is the default user.

      If everything is configured correctly, a connection to the server will be established.

      ssh_login

If you saved the session profile in PuTTY, you can use Pageant for future connections:

  1. Right-click the Pageant icon in the task bar.
  2. Select Saved sessions.
  3. In the saved sessions list, select the session you need.
  1. On the left-hand panel in the management console, click All services and select Compute Cloud, or find it using the search bar on the dashboard.
  2. Navigate to the VM you want to connect to.
  3. Click Connect in Cloud Shell at the top right.
  4. Enter a username. The default login is the one specified when creating the VM.
  5. Paste the contents of the public SSH key file or upload the file.
  6. Click Connect.

This will open the Cloud Shell terminal at the bottom with an established connection to the VM over SSH.

To close the connection, click or use the exit command.

For more information on how to solve connection issues, see FAQ.

Delete the VMDelete the VM

If you no longer plan to use the VM, delete it.

What's nextWhat's next

  • Advanced Linux VM creation
  • Resource relationships in Yandex Compute Cloud
  • Step-by-step guides for Compute Cloud

Was the article helpful?

Previous
Overview
Next
Advanced Linux VM creation
© 2025 Direct Cursus Technology L.L.C.