AWS Batch compute environments on Amazon Linux 2 AMIs — support ended Jun 30, 2026
AWSDeprecations & retirementsTeam planSeverity: high
aws.batch-computeAWS Batch managed EC2/Spot compute environments configured with ECS_AL2, ECS_AL2_NVIDIA, EKS_AL2 or EKS_AL2_NVIDIA image types
What LeftSize checks
Find AWS Batch managed EC2/Spot compute environments that are configured to use Batch-provided Amazon Linux 2 AMIs (ec2Configuration imageType ECS_AL2, ECS_AL2_NVIDIA, EKS_AL2 or EKS_AL2_NVIDIA).
Why it matters
Missed retirement and end-of-support dates turn into forced upgrades, outages or extended support charges at a moment you did not choose.
What you get in the GitHub issue
LeftSize runs this check from a scheduled GitHub Action with a read-only identity in your AWS account and opens one issue per scope, updated on every scan. The issue includes:
- The affected resources, grouped per subscription, resource group or account and region
- Background on why it was flagged and when it is a false positive
- Cost and operational impact of fixing it
- Step-by-step remediation with safety checks
- Ready-to-run fix scripts (CLI, PowerShell or Terraform where available)
- Alternative approaches and their trade-offs
- Snooze, ignore or report a finding with a comment on the issue
Install LeftSizeIncluded in the Team and Business plans.