Create an instance group based on the specification in YAML format
Written by
Updated at December 2, 2024
To create an instance group based on the specification in YAML format:
CLI
API
If you do not 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.
Run the following command:
yc compute instance-group create --file specification.yaml
For more information about the yc compute instance-group create
command, see the CLI reference.
Use the InstanceGroupService/CreateFromYaml gRPC API call or the createFromYaml method of the REST API InstanceGroup
resource.