Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex BareMetal
  • Getting started
    • All guides
      • Leasing a server
      • Updating a server
      • Stopping and starting a server
      • Resetting a password on the server
      • Cancel a server lease
      • Connecting to the KVM console
      • Replacing a disk in a RAID array
      • Using Rescue CD
      • Adding a new user SSH key
      • Restoring the OS bootloader
      • Upload image
      • Connecting a BareMetal server to Cloud Backup
    • Service overview
      • Overview
      • Server configurations
      • Overview
      • DHCP
      • Restrictions in BareMetal networks
    • Quotas and limits
    • All tutorials
    • Connecting a BareMetal server to Cloud Backup
    • Configuring VRRP for a cluster of BareMetal servers
    • Setting up network connectivity in a BareMetal subnet
    • Setting up network connectivity between BareMetal and Virtual Private Cloud subnets
  • Monitoring metrics
  • Audit Trails events
  • Access management
  • Pricing policy
  • FAQ
  1. Step-by-step guides
  2. Servers
  3. Leasing a server

Leasing a server

Written by
Yandex Cloud
Updated at April 10, 2025
Management console
  1. In the management console, select the folder you want to lease a server in.

  2. In the list of services, select BareMetal.

  3. Click Lease server.

  4. Select the availability zone the server will be leased in.

  5. Select the pool the server will be leased from.

  6. Under Configuration, select a server configuration.

  7. (Optional) Under Disk, configure disk partitioning:

    1. Click Configure disk layout.

    2. Specify the partitioning parameters. To create a new partition, click Add partition.

      Note

      To build RAID arrays and configure disk partitions yourself, click Remove RAID.

    3. Click Save.

  8. Under Image, select:

    • Marketplace: To install one of the available public OS images on the server in Yandex Cloud Marketplace.

    • No OS: To lease a server without an OS.

      You can install the OS from your own ISO image later.

  9. Under Lease conditions:

    1. Specify the number of servers you want to lease.
    2. Select the period you want to lease the servers for.
  10. Under Network settings:

    1. Specify the ID of an existing private subnet or click Create to create a new one.

      If you do not have a subnet, click Create a private subnet and create one:

      • In the window that opens, enter a name and description for your subnet.
      • Click Create subnet.
    2. In the Public address field, select a public IP address assignment method:

      • Automatically: To assign a random IP address.
      • No address: Not to assign a public IP address.
  11. If you are installing an OS on the server from a public image in Cloud Marketplace, set the server access settings under Access:

    1. In the Password field, use one of these options to create a password for the root user:

      • To generate a password for the root users, select New password and click Generate.

        Warning

        This option assumes that the user is responsible for password security. Save the password in a safe place. Yandex Cloud does not store this password, and you will not be able to view it once you lease the server.

      • To use the root user password saved in a Yandex Lockbox secret, select Lockbox secret.

        In the Name, Version, and Key fields, select the secret, its version, and the key your password is saved in, respectively.

        If you do not have a Yandex Lockbox secret, click Create to create it.

        This option allows you either to set your own password (the Custom secret type) or to use an automatically generated one (the Generated secret type).

    2. In the Public 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:

      • Click Add key.
      • Enter a name for the SSH key.
      • Upload or paste the contents of the public key file. You need to create a key pair for the SSH connection to a server yourself.
      • Click Add.

      The system will add the SSH key to your organization user profile.

      If adding SSH keys by users to their profiles is disabled in the organization, the public SSH key will be saved only to the new BareMetal server's user profile.

  12. Under Server information:

    1. Enter the server name in the Name field.
    2. (Optional) Add Description to the server.
    3. Optionally, set Labels.
  13. Click Lease server.

Once you lease a server, you can install or re-install an OS on it at any time from a public image in Cloud Marketplace or your own ISO image. For more information, see Reinstalling an OS from a Yandex Cloud Marketplace image and Re-installing an OS from your ISO image.

Was the article helpful?

Previous
All guides
Next
Updating a server
© 2025 Direct Cursus Technology L.L.C.