From a67b4478499f9863229c23bda433c68ecc0e5409 Mon Sep 17 00:00:00 2001 From: Victor Lin Date: Thu, 21 May 2026 10:36:24 -0700 Subject: [PATCH 1/2] Fix typo --- doc/aws-batch.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/aws-batch.md b/doc/aws-batch.md index f00dd79f..4e80b9c4 100644 --- a/doc/aws-batch.md +++ b/doc/aws-batch.md @@ -395,8 +395,8 @@ AWS Console, although you can also do it on the command-line. Give your launch template any name. Under the "Storage" section, add a new volume with EBS storage type. Specify a -custom device device name of `/dev/xvda`, a volume size you want (e.g. 200 GiB), -and a volume type of `gp3`. Make sure that the volume is marked for deletion on +custom device name of `/dev/xvda`, a volume size you want (e.g. 200 GiB), and a +volume type of `gp3`. Make sure that the volume is marked for deletion on termination, or you'll end up paying for old volumes indefinitely! This sets the size of the shared volume available to all containers on a single EC2 instance. From 6dac3a700be31789cbe5cc72d06bff989848dffc Mon Sep 17 00:00:00 2001 From: Victor Lin Date: Thu, 21 May 2026 11:11:29 -0700 Subject: [PATCH 2/2] Update docs for new compute environment default image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- doc/aws-batch.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/aws-batch.md b/doc/aws-batch.md index 4e80b9c4..ceef5fa6 100644 --- a/doc/aws-batch.md +++ b/doc/aws-batch.md @@ -364,11 +364,12 @@ but Amazon's prorated billing uses a minimum duration of one month. ### Disk space for your jobs -_The following applies to Batch compute environments using Amazon Linux 2 (AL2) -[ECS-optimized AMIs][], which is the default for new compute environments. If -you're using older compute environments with Amazon Linux 1 (AL1) AMIs, either -upgrade or see previous versions of this document. If you're using custom -AMIs, you can probably find your own way._ +_The following applies to Batch compute environments using Amazon Linux 2023 +(AL2023) [ECS-optimized AMIs][], which is the default for new compute +environments. If you're using older compute environments with Amazon Linux 2 +(AL2) or Amazon Linux 1 (AL1) AMIs, either upgrade or see previous versions of +this document. If you're using custom AMIs, you can probably find your own +way._ By default, your Batch jobs will have access to ~28 GiB of shared space. This 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: "$0" init fi - yum install -y nvme-cli jq lvm2 + dnf install -y nvme-cli jq lvm2 declare -a instance_devices ebs_devices