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 the server configuration.
-
Optionally, 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 one of the available OS images. You can upload your own image and use it.
-
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 method for assigning a public IP address:
Automatically
: To assign a random IP address.No address
: Not to assign a public IP address.
-
-
Under Access:
-
Next to the Password field, click Generate to generate a password for the root user.
Warning
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.
-
In the Public SSH key field, select the SSH key saved in your organization user profile.
If there are no saved 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 SSH key will be added 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.
- (Optional) Set Labels.
-
Click Lease server.