Creating a group of dedicated hosts
Written by
You can create a group of dedicated hosts that is intended solely for hosting your VMs in Yandex Cloud.
By default, the cloud has a zero quota for using dedicated hosts. To change the quota, contact technical support.
To create a group of dedicated hosts
CLI
API
If you don't have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
-
See the list of available dedicated host types:
yc compute host-type list
Result:
+---------------------+-------+--------------+ | ID | CORES | MEMORY | +---------------------+-------+--------------+ | intel-6230-c66-m454 | 66 | 487478788096 | +---------------------+-------+--------------+
-
Create a group of dedicated hosts of the selected type. A group may contain one or more hosts.
yc compute host-group create \ --fixed-size <number of dedicated hosts in the group> \ --type <type of dedicated hosts> \ --zone <availability zone>
Where:
fixed-size
: The number of dedicated hosts in the group.type
: The type of dedicated hosts.zone
is the availability zone to place the group in.
Result:
done (6s) id: abcdefg1hi23gkl16dnf folder_id: m4n56op78mev0cljderg created_at: "2020-10-13T07:36:49Z" zone_id: ru-central1-a status: READY type_id: intel-6230-c66-m454 maintenance_policy: RESTART scale_policy: fixed_scale: size: "2"