GPUs allocated from reservations do not count towards quotas on the number of GPUs.
How to add reservations to VMs
VMs of a regular type and with GPUs support reservations. Preemptible VMs and VMs without GPUs do not support them.- Web console
- CLI
- Terraform
- Go SDK
- Python SDK
- JavaScript SDK
If you want to create a VM and you have capacity block groups, on the General step, select Reserved VM. On the Compute step, select a platform and configure the Reservation settings. If you do not have capacity block groups, the wizard skips the General step and opens Compute instead.If you want to modify an existing VM, stop it first and then go to its Settings tab on the VM page. Next, update the reservation settings.The Reservation section is only displayed if you have capacity block groups.In the Reservation section, you can configure the following options:
- Any (existing and future) (default): Compute selects among your matching capacity block groups automatically.
- Specific capacity block groups: Select one or more capacity block groups. Each option shows the capacity block group ID, reservation period and GPU usage. Make sure the selected groups have enough capacity and do not expire soon.
-
Switch to PAYG: Choose whether the VM can start after you create or restart it without active intervals in selected capacity block groups:
- When reservation is exhausted (default): The VM can start as a pay-as-you-go VM when no capacity is available in the selected capacity block groups.
- Never: The VM cannot start without available capacity in the selected capacity block groups.
How to find information about reservations for an already configured VM
You can check the list of VMs and an overview of a given VM to find information about the VM reservations.List of VMs
The list of VMs provides the following:- The Platform and VM type column shows what configuration you have set up for a given VM.
- The Current reservations column shows what reservations are currently used.
- If a VM is preemptible or stopped, Current reservations do not show any data (N/A is displayed).
- If capacity in reservations is exhausted, Current reservations show that there are no reservations currently consumed.
VM overview
On the VM page, on the VM overview tab, in the Resource capacity block, you can find more detailed information:- The VM type, Reservation usage and If no capacity fields show the configuration that you have set up.
- The Current reservations and Next interval fields show the current consumption of reservations. If the VM runs without reservations, no data about them is displayed.