Skip to main content

πŸ›‘οΈ AWS Glue Spark Job uses a non-Graviton worker on a Glue version below 6.1🟒

  • Contextual name: πŸ›‘οΈ Spark Job uses a non-Graviton worker on a Glue version below 6.1🟒
  • ID: /ce/ca/aws/glue/job-spark-graviton-and-version
  • Tags:
  • Policy Type: COMPLIANCE_POLICY
  • Policy Categories: COST, PERFORMANCE

Stats​

not available

Logic​

Description​

Open File

Description​

Identify AWS Glue Spark batch and streaming jobs that use a non-Graviton worker on a release below Glue 6.1. Review these jobs for a runtime upgrade or a move to a supported Graviton worker.

Rationale​

AWS introduced lower-priced Graviton workers starting with Glue 6.0. Glue 6.1 adds runtime and scaling improvements and defaults new Spark jobs created without a worker type to Graviton. Existing jobs retain their configured worker type when upgraded. AWS Glue Graviton announcement Β· AWS Glue 6.1 announcement Β· Glue 6.1 migration guide

Impact​

A runtime or worker change can reduce compute costs. The effect depends on the workload and execution class. Test output correctness, native dependencies, performance, and recovery before migrating.

Audit​

... see more

Remediation​

Open File

Remediation​

Evaluate a runtime or worker upgrade​

  1. Review recent runs and record the current configuration. Confirm that the workload is still needed and check for worker overrides. In AWS Glue Studio, open the job's Job details and save the job definition or deployment revision. Record the Glue version, worker type and count, scaling settings, and execution class. GetJobRun API Β· StartJobRun API

  2. Choose an upgrade path. Test Glue 6.1 or later with the current worker type where supported, or select a supported Graviton worker for Glue 6.0 or later. For the worker change, check availability for the job type, Region, account, and execution class. Streaming supports G.1X.GRAVITON and G.2X.GRAVITON. Standard and streaming G.025X require a separate sizing assessment for a worker change. For Flex jobs, use their actual billed cost as the baseline. AWS Glue worker types Β· Flex execution

... see more

policy.yaml​

Open File

Linked Framework Sections​

SectionSub SectionsInternal RulesPoliciesFlagsCompliance
πŸ’Ό Cloudaware Framework β†’ πŸ’Ό Infrastructure Modernization40no data
πŸ’Ό Cloudaware Framework β†’ πŸ’Ό Resource Optimization39no data