Deleting a reserved instance pool
Warning
Reserved instance pools are billable: you pay for the whole unused volume of reserved computing resources of VMs, GPU clusters, and software accelerated networks according to the Yandex Compute Cloud pricing policy. For more information, see Using reserved instance pools.
The reserved instance pool feature is at the Preview stage.
To delete a reserved instance pool:
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.
-
View the description of the Yandex Cloud CLI command for deleting a reserved instance pool:
yc compute reserved-instance-pool delete --help -
Get a list of reserved instance pools in the default folder:
yc compute reserved-instance-pool listResult:
+----------------------+------------+---------------+------+ | ID | NAME | ZONE ID | SIZE | +----------------------+------------+---------------+------+ | fv48qa9iiq19******** | test-pool1 | ru-central1-a | 1 | | fv42fbsrso94******** | test-pool2 | ru-central1-a | 1 | +----------------------+------------+---------------+------+ -
Delete the reserved instance pool in the default folder by specifying its name or ID:
yc compute reserved-instance-pool delete <pool_name_or_ID>Result:
done (15s) {}For more information about the
yc compute reserved-instance-pool deletecommand, see the Yandex Cloud CLI reference.
Use the delete REST API method for the ReservedInstancePool resource or the ReservedInstancePoolService/Delete gRPC API call.
Note
When you delete a reserved instance pool, all VMs attached to it will be detached, and the running ones will continue to operate.