π‘οΈ AWS Glue Python Shell Job uses a runtime past end of supportπ’
- Contextual name: π‘οΈ Python Shell Job uses a runtime past end of supportπ’
- ID:
/ce/ca/aws/glue/job-python-shell-runtime-support - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
BEST_PRACTICE - Policy Categories:
RELIABILITY
Statsβ
not available
Logicβ
- π§ prod.logic.yamlπ’
- π AWS Glue Job
- π AWS Glue Job - object.extracts.yaml
- π§ͺ test-data.json
Descriptionβ
Descriptionβ
This policy identifies AWS Glue Python shell job definitions configured with an unambiguously identified runtime that has passed AWS end of support (EOS). Migrate these workloads to a supported Python shell runtime or retire definitions that are no longer needed.
Rationaleβ
AWS does not provide security patches or technical support for runtimes past EOS and may not honor their SLAs. At EOL, AWS prevents new jobs and job runs and stops existing runs. Reviewing retained job definitions helps prevent failures when scheduled or infrequently used workloads are needed again.
Impactβ
Runtime migration can change Python behavior and dependency compatibility. Test the script, libraries, permissions, input data, and output correctness before changing production jobs. A finding describes the collected configuration; it does not prove that the job recently executed on the retired runtime.
Auditβ
This policy marks an AWS Glue Job as
INCOMPLIANTifCommand: Nameis pythonshell andCommand: Python Versionis 2 or 3.6. AWS has already ended support for these runtimes.Glue Versiondoes not determine Python shell runtime support: AWS documents that this setting is ignored for Python shell jobs. Comparisons use the engine's normal case and whitespace normalization.... see more
Remediationβ
Remediationβ
Migrate the Python shell job to a supported runtimeβ
Confirm the job owner, triggers, schedules, data sources, downstream dependencies, Python runtime, and whether the definition is still needed. Retire an obsolete job through the organization's normal change process.
Review the current AWS Glue support policy and Python shell migration guidance. Select a supported runtime compatible with the workload; Python shell 3.9 is the reviewed migration target.
Changing
GlueVersionalone does not migrate a Python shell runtime.Preserve the complete job configuration, script, dependencies, and trigger configuration. Create a separate test job with the target Python version, compatible dependencies, IAM permissions, connections, security configuration, and capacity.
Avoid overlapping production writes while testing. Coordinate scheduled and external invocations,
... see more
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ Cloudaware Framework β πΌ Infrastructure Modernization | 39 | no data |