Free plan Signups are open now. The full audytx engine — Terraform and CloudFormation — is live. The Free plan is 100 scans a month and stays free — paid tiers arrive Nov 01, 2026 from $20/month for unlimited repositories. Try it on your own code.

EMR cluster should use Spot instances for task nodes to reduce cost

AWS_EMR_003 LOW Cost

What it checks

EMR cluster should use Spot instances for task nodes to reduce cost

Where it applies

Terraform: aws_emr_cluster

CloudFormation: AWS::EMR::Cluster

How to fix it

  1. Add Spot task capacity with the separate aws_emr_instance_group resource: cluster_id pointing at the cluster, bid_price set to the On-Demand price for interruption resistance. Task nodes hold no HDFS state and tolerate Spot reclaims.
  2. Where interruption tolerance allows, set bid_price on core_instance_group as well, so the core nodes also run on Spot. Either that or the aws_emr_instance_group above silences this finding.

Frameworks

These mappings are advisory, not an attestation of compliance.

Vendor documentation

All rules