Preemptible Instances on QHub

A preemptible VM is an instance that you can create and run at a much lower price than normal instances. However, the cloud provider might stop these instances if it requires access to those resources for other tasks. Preemptible instances are excess Cloud Provider’s capacity, so their availability varies with usage. These are also called as Spot instances on AWS.


Preemptible instances can be defined via using the preemptible flag in the QHub config file as following:

  project: project-name
  region: us-central1
  zone: us-central1-c
  - us-central1-c
  kubernetes_version: 1.18.16-gke.502
# ...
      preemptible: true
      instance: "e2-standard-8"
      min_nodes: 0
      max_nodes: 10