WAF-SUS-120 β Batch and HPC workloads SHOULD run off-peak where SLA constraints allow
Description
Batch, report generation, HPC, and data processing workloads SHOULD be scheduled during off-peak or high-renewable-energy hours. Scheduler configurations MUST document SLA constraints and acceptable time windows. Preemptible/Spot capacity SHOULD be combined with off-peak scheduling where feasible. Energy and cost savings of time-shifting MUST be tracked and reported.
Rationale
| Risk | Description |
|---|---|
Risk |
Running batch workloads during peak hours wastes energy from high-carbon grid mix and increases cost. |
Risk |
Missing scheduling constraints can violate SLA or delay critical business processes. |
Requirements
-
Batch, report generation, HPC, and data processing workloads SHOULD be scheduled during off-peak or high-renewable-energy hours.
-
Scheduler configurations MUST document SLA constraints and acceptable time windows.
-
Preemptible/Spot capacity SHOULD be combined with off-peak scheduling where feasible.
-
Energy and cost savings of time-shifting MUST be tracked and reported.
Implementation Guidance
-
Document the requirement in a version-controlled policy, ADR, or standard.
-
Assign ownership and establish a review cadence (e.g., quarterly).
-
Implement the required configuration as code in Terraform or equivalent IaC.
Maturity Levels
| Level | Name | Criteria |
|---|---|---|
L1 |
Ad hoc β control not consistently applied |
* Die Anforderung ist nicht einheitlich umgesetzt; Nachweis existiert nur punktuell oder fehlt. |
L2 |
Standardised β policy defined and communicated |
* Eine dokumentierte Policy oder ein Standard beschreibt die Anforderung. |
L3 |
Integrated β automated validation in CI/CD |
* Terraform-Checks oder IaC-Gates prΓΌfen die Anforderung automatisch in CI/CD. |
L4 |
Auditable β metrics and exceptions tracked |
* Abdeckung, Ausnahmen und QualitΓ€tsmetriken werden quartalsweise berichtet. |
L5 |
Optimised β continuous improvement based on data |
* Die EffektivitΓ€t wird kontinuierlich gemessen und automatisch optimiert. |
Checks
waf-sus-120.tf.aws.batch-schedule
Engine: terraform | Provider: aws | Automated: Yes
AWS Batch compute environments should prefer Spot and off-peak scheduling
AWS Batch compute environments should prefer Spot and off-peak scheduling
Scope: resource β aws_batch_compute_environment, aws_batch_job_queue
Assertions:
* compute_resources.spot_iam_fleet_role attribute_exists β Batch compute environment should use Spot capacity.
Remediation: AWS Batch compute environments should prefer Spot and off-peak scheduling
# Example compliant with waf-sus-120.tf.aws.batch-schedule
# Example non-compliant with waf-sus-120.tf.aws.batch-schedule
waf-sus-120.config.off-peak-schedule
Engine: config | Provider: any | Automated: No
Off-peak scheduling policy must be documented
Off-peak scheduling policy must be documented
Scope: file β docs/sustainability/off-peak-scheduling.md
Assertions:
* exists attribute_exists β Off-peak scheduling policy must define SLA windows.
Remediation: Off-peak scheduling policy must be documented
# Example compliant with waf-sus-120.config.off-peak-schedule
# Example non-compliant with waf-sus-120.config.off-peak-schedule
Evidence
-
Terraform configuration implementing the requirement.
-
Policy, ADR, or standard documenting the requirement.
-
Optional cloud console or API output confirming runtime state.
Related Controls
-
WAF-OPS-040 == Regulatory Mapping
-
EU CSRD (Corporate Sustainability Reporting Directive): ESRS E1 β Climate Change
-
GHG Protocol: Scope 2 β Market-based method
-
Green Software Foundation: Carbon Aware Computing β temporal shifting
-
ISO 14001: 6.1.2 β Environmental aspects