The preemptible
parameter specifies whether to use preemptible instances. Preemptible instances are cost-effective but can be terminated by Google Cloud with short notice.
The default value for preemptible
is true
.
To set the preemptible
parameter, use the following command:
$ convox rack params set preemptible=true -r rackName
Setting parameters... OK
This command sets the preemptible
parameter to the specified value.
Preemptible instances offer significant cost savings but can be terminated by Google Cloud at any time if resources are needed elsewhere. Ensure your applications can handle interruptions gracefully if you choose to use preemptible instances. For more information, refer to the GCP documentation on preemptible instances.