Leasing a server
-
In the management console
, select the folder you want to lease a server in. -
In the list of services, select BareMetal.
-
Click Lease server.
-
Select the availability zone the server will be leased in.
-
Select the pool the server will be leased from.
-
Under Configuration, select a server configuration.
-
(Optional) Under Disk, configure disk partitioning:
-
Click Configure disk layout.
-
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.
-
Click Save.
-
-
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.
-
-
Under Lease conditions:
- Specify the number of servers you want to lease.
- Select the period you want to lease the servers for.
-
Under Network settings:
-
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.
-
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.
-
-
If you are installing an OS on the server from a public image in Cloud Marketplace, set the server access settings under Access:
-
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 (theGenerated
secret type).
-
-
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.
-
-
Under Server information:
- Enter the server name in the Name field.
- (Optional) Add Description to the server.
- Optionally, set Labels.
-
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.