Skip to content

Commit 6dac3a7

Browse files
committed
Update docs for new compute environment default image
The default changed to Amazon Linux 2023 in January 2026.¹ Things are largely the same and I don't think anything in the doc needs to change given our usage (though I haven't actually tested the steps in this section). One small noteworthy change is replacement of YUM with DNF. I did not change the `yum` command because AL2023 still provides `yum` as a pointer to `dnf`.² ¹ https://docs.aws.amazon.com/batch/latest/userguide/ecs-migration-2023.html ² https://docs.aws.amazon.com/linux/al2023/ug/package-management.html
1 parent a67b447 commit 6dac3a7

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

doc/aws-batch.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,12 @@ but Amazon's prorated billing uses a minimum duration of one month.
364364

365365
### Disk space for your jobs
366366

367-
_The following applies to Batch compute environments using Amazon Linux 2 (AL2)
368-
[ECS-optimized AMIs][], which is the default for new compute environments. If
369-
you're using older compute environments with Amazon Linux 1 (AL1) AMIs, either
370-
upgrade or see previous versions of this document. If you're using custom
371-
AMIs, you can probably find your own way._
367+
_The following applies to Batch compute environments using Amazon Linux 2023
368+
(AL2023) [ECS-optimized AMIs][], which is the default for new compute
369+
environments. If you're using older compute environments with Amazon Linux 2
370+
(AL2) or Amazon Linux 1 (AL1) AMIs, either upgrade or see previous versions of
371+
this document. If you're using custom AMIs, you can probably find your own
372+
way._
372373

373374
By default, your Batch jobs will have access to ~28 GiB of shared space. This
374375
is enough for many Nextstrain builds, but the [SARS-CoV-2 build][] is the
@@ -453,7 +454,7 @@ following user data blob to your launch template to configure them:
453454
"$0" init
454455
fi
455456

456-
yum install -y nvme-cli jq lvm2
457+
dnf install -y nvme-cli jq lvm2
457458

458459
declare -a instance_devices ebs_devices
459460

0 commit comments

Comments
 (0)