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

**URL:** <https://community.convox.com/t/migrating-from-an-amazon-linux-2-to-an-amazon-linux-2023-amazon-ecs-optimized-ami/982>\
**Category:** Rack (Version 2)\
**Created:** [May 12, 2026, 9:01am UTC](https://community.convox.com/t/migrating-from-an-amazon-linux-2-to-an-amazon-linux-2023-amazon-ecs-optimized-ami/982 "2026-05-12T09:01:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![eravelo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/eravelo/32/22_2.png) [@eravelo](https://community.convox.com/u/eravelo)\
**Post date:** [May 12, 2026, 9:01am UTC](https://community.convox.com/t/migrating-from-an-amazon-linux-2-to-an-amazon-linux-2023-amazon-ecs-optimized-ami/982/1 "2026-05-12T09:01:18Z")

</div>

Hello Convox community,

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

> Following [Amazon Linux](https://aws.amazon.com/amazon-linux-2/faqs), 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](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/al2-to-al2023-ami-transition.html)

Regards,

Eric

---

<div class="post-metadata">

**Author:** ![eravelo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/eravelo/32/22_2.png) [@eravelo](https://community.convox.com/u/eravelo)\
**Post date:** [June 1, 2026, 10:33am UTC](https://community.convox.com/t/migrating-from-an-amazon-linux-2-to-an-amazon-linux-2023-amazon-ecs-optimized-ami/982/2 "2026-06-01T10:33:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nik.chitrambalam](https://avatars.discourse-cdn.com/v4/letter/n/278dde/32.png) [@nik.chitrambalam](https://community.convox.com/u/nik.chitrambalam)\
**Post date:** [June 24, 2026, 3:30pm UTC](https://community.convox.com/t/migrating-from-an-amazon-linux-2-to-an-amazon-linux-2023-amazon-ecs-optimized-ami/982/3 "2026-06-24T15:30:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![eravelo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/eravelo/32/22_2.png) [@eravelo](https://community.convox.com/u/eravelo)\
**Post date:** [June 25, 2026, 7:49am UTC](https://community.convox.com/t/migrating-from-an-amazon-linux-2-to-an-amazon-linux-2023-amazon-ecs-optimized-ami/982/4 "2026-06-25T07:49:49Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![Nick-Convox](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/nick-convox/32/250_2.png) [@Nick-Convox](https://community.convox.com/u/Nick-Convox)\
**Post date:** [July 7, 2026, 2:44pm UTC](https://community.convox.com/t/migrating-from-an-amazon-linux-2-to-an-amazon-linux-2023-amazon-ecs-optimized-ami/982/5 "2026-07-07T14:44:23Z")

</div>

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:

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

```

For ARM:

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

```

You can set them both simultaneously with:

```auto
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.
