π‘οΈ Azure Synapse Spark pool auto-pause is disabledπ’
- Contextual name: π‘οΈ Spark pool auto-pause is disabledπ’
- ID:
/ce/ca/azure/synapse/spark-pool-auto-pause-disabled - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
BEST_PRACTICE - Policy Categories:
COST
Statsβ
not available
Logicβ
- π§ prod.logic.yamlπ’
Descriptionβ
Descriptionβ
Ensure that auto-pause is enabled for Azure Synapse Spark pools. Auto-pause pauses a pool after its configured period of inactivity, reducing the cost of idle compute.
Rationaleβ
Spark pools can continue consuming compute resources when no Spark jobs are running. Enabling auto-pause reduces unnecessary spend while preserving the pool configuration for future workloads.
Impactβ
Without auto-pause, idle Spark pools can incur avoidable compute charges. Enabling it can add resume latency to scheduled and interactive workloads, so the delay must suit the workload's startup tolerance.
Auditβ
This policy evaluates an Azure Synapse Spark pool only when its
Provisioning StateisSucceeded.A pool is marked as
INCOMPLIANTwhenAuto Pause: StateisDisabled.A pool is marked as
INAPPLICABLEwhen itsProvisioning Stateis notSucceeded.A pool is marked as
UNDETERMINEDwhen the provisioning state is unavailable, the auto-pause state is missing or unrecognized, or an enabled pool has no configured delay.
Remediationβ
Remediationβ
Before you beginβ
Review scheduled and interactive workloads, dependencies, and acceptable resume latency. Choose a delay that avoids pausing the pool between expected jobs.
Azure portalβ
- Open the Synapse workspace in the Azure portal.
- Select Manage and then Apache Spark pools.
- Select the affected pool, enable Auto-pause, and set an appropriate idle delay.
- Save the change.
Azure CLIβ
az synapse spark pool update \
--name <spark-pool-name> \
--workspace-name <workspace-name> \
--resource-group <resource-group-name> \
--enable-auto-pause true \
--delay <idle-delay-in-minutes>Run representative scheduled and interactive workloads after the change. Confirm that the pool resumes within the accepted startup window and that the next Cloudaware collection reports auto-pause as enabled.
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ Cloudaware Framework β πΌ Resource Optimization | 37 | no data |