Enabling instance groups for cloud bursting
Enable cloud bursting for instance groups in your cluster so that compute hosts from the cloud can be provisioned when applications associated with those instance groups require extra resources to run workload.
Before you begin
- Your environment must be set up to connect to one or more cloud service providers. See Configuring your cluster for cloud bursting.
- The built-in cws requestor plug-in must be configured for the conditions that trigger scale-out and scale-in requests. See Configuring a dynamic requestor which uses the cws plug-in.
- The built-in cws requestor plug-in must be enabled in POLL mode. See Registering a dynamic requestor which uses the cwsinst provider instance.
- The HostFactory service must be started. See Starting host factory for cloud bursting.
About this task
When an instance group is enabled for cloud bursting through host factory, the built-in cws requestor monitors the instance group's workload. Any time the instance group meets conditions defined for cloud bursting in your cluster, the cws requestor triggers scale-out requests to include cloud hosts and scale-in requests to release those cloud hosts.
An instance group is considered for cloud bursting only when it is in the STARTED, PROCESSING, or ERROR state.
Note: Take into account the following considerations when you enable instance groups in your cluster for cloud
bursting:
- Notebook workloads are not considered for bursting calculations. Do not enable cloud bursting for an instance group with notebooks associated.
- Spark workload that is long running and not expected to terminate, such as streaming applications, can reduce the accuracy of workload profiling. Do not enable cloud bursting for an instance group that processes long-running Spark workload that is not expected to terminate.
Procedure
What to do next
- Submit workload to instance groups that are enabled for cloud bursting. See Submitting Spark batch applications.
- Monitor cloud resource requests. See Monitoring cloud bursting in your cluster.