Migrating from an Amazon Linux 2 to an Amazon Linux 2023 Amazon ECS-optimized AMI

Hello Convox community,

Is there a plan for a V2 Rack release to address this AWS announcement?

Following Amazon Linux, Amazon ECS ends standard support for Amazon Linux 2 Amazon ECS-optimized AMIs effective June 30, 2026. After this date, the Amazon ECS agent version is pinned and new Amazon Linux 2 Amazon ECS-optimized AMIs are only published when the source Amazon Linux 2 AMI is updated. Complete End of Life (EOL) occurs on June 30, 2026, after which no more Amazon ECS-optimized Amazon Linux 2 AMIs are published, even if the source AMI is updated.

From Migrating from an Amazon Linux 2 to an Amazon Linux 2023 Amazon ECS-optimized AMI - Amazon Elastic Container Service

Regards,

Eric

Hey @Nick-Convox

Should I be worried about this AWS announcement? Not sure if it will impact our racks (currently running version 20260316122903)

Best regards,
Eric

Hi @Nick-Convox ,
Amazon Linux 2 is approaching EOL on 06/30. Is it safe for us to force an AMI update to Linux 2023 in v2 racks?

Thanks
Nik

Hi,

This is what we’ve done (here for region eu-west-3) to set the Rack AMI to amazon-linux-2023, overwriting the default amazon linux 2 in the current release of Convox V2.
Let us know if it works for you.

Regards,

Eric

aws ssm get-parameter \
--region eu-west-3 \
--name /aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id \
--query 'Parameter.Value' --output text --no-cli-page

ami-08fb1152c6d87864e

convox rack params set Ami="ami-08fb1152c6d87864e" --wait

Hello folks,
@eravelo @nik.chitrambalam

The only thing you need to do to update your AMIs to use the AL2023 AMI by default is to change the AMI parameters as follows:

convox rack params set DefaultAmi="/aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id"

For ARM:

convox rack params set DefaultAmiArm="/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_id"

You can set them both simultaneously with:

convox rack params set DefaultAmi="/aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_id" DefaultAmiArm="/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_id"

The next v2 rack release will have these set as the new defaults.